volume_key: init at 0.3.9

authored by Jan Tojnar and committed by Florian Klink f78ca471 6d406996

+40
+38
pkgs/development/libraries/volume-key/default.nix
···
··· 1 + { stdenv, fetchgit, fetchpatch, autoreconfHook, pkgconfig, gettext, python2 2 + , swig, glib, utillinux, cryptsetup, nss, gpgme 3 + }: 4 + 5 + let 6 + version = "0.3.10"; 7 + in stdenv.mkDerivation rec { 8 + name = "volume_key-${version}"; 9 + 10 + src = fetchgit { 11 + url = https://pagure.io/volume_key.git; 12 + rev = "ece1ce305234da454e330905c615ec474d9781c5"; 13 + sha256 = "16qdi5s6ycsh0iyc362gly7ggrwamky8i0zgbd4ajp3ymk9vqdva"; 14 + }; 15 + 16 + outputs = [ "out" "man" "dev" ]; 17 + 18 + nativeBuildInputs = [ autoreconfHook pkgconfig gettext python2 swig ]; 19 + 20 + buildInputs = [ glib cryptsetup nss utillinux gpgme ]; 21 + 22 + patches = [ 23 + # Use pkg-config for locating Python.h 24 + # https://pagure.io/volume_key/pull-request/12 25 + (fetchpatch { 26 + url = https://pagure.io/fork/cathay4t/volume_key/c/8eda66d3b734ea335e37cf9d7d173b9e8ebe2fd9.patch; 27 + sha256 = "01lr1zijk0imkk681zynm4w5ad3y6c9vdrmrzaib7w7ima75iczr"; 28 + }) 29 + ]; 30 + 31 + meta = with stdenv.lib; { 32 + 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"; 33 + homepage = https://pagure.io/volume_key/; 34 + license = licenses.gpl2; 35 + maintainers = with maintainers; []; 36 + platforms = platforms.linux; 37 + }; 38 + }
+2
pkgs/top-level/all-packages.nix
··· 5512 5513 vobsub2srt = callPackage ../tools/cd-dvd/vobsub2srt { }; 5514 5515 vorbisgain = callPackage ../tools/misc/vorbisgain { }; 5516 5517 vpnc = callPackage ../tools/networking/vpnc { };
··· 5512 5513 vobsub2srt = callPackage ../tools/cd-dvd/vobsub2srt { }; 5514 5515 + volume_key = callPackage ../development/libraries/volume-key { }; 5516 + 5517 vorbisgain = callPackage ../tools/misc/vorbisgain { }; 5518 5519 vpnc = callPackage ../tools/networking/vpnc { };