2020-04-24 23:36:52 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkgconfig, asciidoc
|
|
|
|
, jansson, jose, cryptsetup, curl, libpwquality, luksmeta
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clevis";
|
2020-11-03 02:18:15 +00:00
|
|
|
version = "15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "latchset";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-03 02:18:15 +00:00
|
|
|
sha256 = "0wfgd2v1r47ckh5qp60b903191fx0fa27zyadxlsb8riqszhmwvz";
|
2020-04-24 23:36: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;
|
|
|
|
};
|
|
|
|
}
|