volume_key: split out python bindings

This commit is contained in:
Jan Tojnar 2018-06-21 11:13:59 +02:00
parent dd3d7f5a5d
commit 84fc0622cf
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -13,7 +13,7 @@ in stdenv.mkDerivation rec {
sha256 = "16qdi5s6ycsh0iyc362gly7ggrwamky8i0zgbd4ajp3ymk9vqdva";
};
outputs = [ "out" "man" "dev" ];
outputs = [ "out" "man" "dev" "py" ];
nativeBuildInputs = [ autoreconfHook pkgconfig gettext python2 swig ];
@ -28,6 +28,11 @@ in stdenv.mkDerivation rec {
})
];
makeFlags = [
"pyexecdir=$(py)/${python2.sitePackages}"
"pythondir=$(py)/${python2.sitePackages}"
];
meta = with stdenv.lib; {
description = "A library for manipulating storage volume encryption keys and storing them separately from volumes to handle forgotten passphrases, and the associated command-line tool";
homepage = https://pagure.io/volume_key/;