Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 36 lines 716 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 asciidoc, 8 cryptsetup, 9}: 10 11stdenv.mkDerivation rec { 12 pname = "luksmeta"; 13 version = "9"; 14 15 src = fetchFromGitHub { 16 owner = "latchset"; 17 repo = pname; 18 rev = "v${version}"; 19 sha256 = "10nslwk7m1qwskd12c204ipa3cbad0q6fn0v084z2f7q6xxbkd2d"; 20 }; 21 22 nativeBuildInputs = [ 23 autoreconfHook 24 pkg-config 25 asciidoc 26 ]; 27 buildInputs = [ cryptsetup ]; 28 29 meta = { 30 description = "Simple library for storing metadata in the LUKSv1 header"; 31 mainProgram = "luksmeta"; 32 homepage = "https://github.com/latchset/luksmeta/"; 33 maintainers = with lib.maintainers; [ fpletz ]; 34 license = lib.licenses.lgpl21Plus; 35 }; 36}