nixpkgs/pkgs/tools/security/clevis/default.nix

28 lines
734 B
Nix
Raw Normal View History

2020-02-09 17:35:52 +00:00
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkgconfig, asciidoc
, jansson, jose, cryptsetup, curl, libpwquality, luksmeta
}:
stdenv.mkDerivation rec {
pname = "clevis";
2020-05-19 04:05:49 +01:00
version = "13";
2020-02-09 17:35:52 +00:00
src = fetchFromGitHub {
owner = "latchset";
repo = pname;
rev = "v${version}";
2020-05-19 04:05:49 +01:00
sha256 = "1p522jjksxmdwjjxa32z2ij1g81ygpkmcx998d07g8pb6rfnknjy";
2020-02-09 17:35:52 +00:00
};
nativeBuildInputs = [ meson ninja pkgconfig asciidoc ];
buildInputs = [ jansson jose cryptsetup curl libpwquality luksmeta ];
outputs = [ "out" "man" ];
meta = {
description = "Automated Encryption Framework";
homepage = "https://github.com/latchset/clevis";
maintainers = with lib.maintainers; [ fpletz ];
license = lib.licenses.gpl3Plus;
};
}