2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, asciidoc
|
2020-04-24 23:36:52 +00:00
|
|
|
, jansson, jose, cryptsetup, curl, libpwquality, luksmeta
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clevis";
|
2021-04-12 18:23:04 +00:00
|
|
|
version = "16";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "latchset";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-04-12 18:23:04 +00:00
|
|
|
sha256 = "sha256-DWrxk+Nb2ptF5nCaXYvRY8hAFa/n+6OGdKWO+Sq61yk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config asciidoc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|