1 { lib, stdenv, fetchgit, autoreconfHook, pkg-config, gettext, python3
2 , ncurses, swig, glib, util-linux, cryptsetup, nss, gpgme
3 , autoconf, automake, libtool
7 stdenv.mkDerivation rec {
12 url = "https://pagure.io/volume_key.git";
13 rev = "volume_key-${version}";
14 sha256 = "1sqdbcih1c39bjiv4mm1m7acc3lfh2i2hf2r9i7rk8adfzq8awma";
17 outputs = [ "out" "man" "dev" "py" ];
19 nativeBuildInputs = [ autoconf automake libtool pkg-config gettext swig autoreconfHook ];
21 buildInputs = [ glib cryptsetup nss util-linux gpgme ncurses ];
24 "--with-gpgme-prefix=${gpgme.dev}"
28 export PYTHON="${buildPackages.python3}/bin/python"
29 export PYTHON3_CONFIG="${python3}/bin/python3-config"
33 "pyexecdir=$(py)/${python3.sitePackages}"
34 "pythondir=$(py)/${python3.sitePackages}"
37 doCheck = false; # fails 1 out of 1 tests, needs `certutil`
40 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";
41 homepage = "https://pagure.io/volume_key/";
42 license = licenses.gpl2;
43 maintainers = with maintainers; [];
44 platforms = platforms.linux;