2021-01-17 04:51:22 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, asciidoc
|
2020-02-09 18:35:52 +01:00
|
|
|
, jansson, jose, cryptsetup, curl, libpwquality, luksmeta
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "clevis";
|
2020-10-29 12:23:25 +01:00
|
|
|
version = "15";
|
2020-02-09 18:35:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "latchset";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-29 12:23:25 +01:00
|
|
|
sha256 = "0wfgd2v1r47ckh5qp60b903191fx0fa27zyadxlsb8riqszhmwvz";
|
2020-02-09 18:35:52 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 04:51:22 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config asciidoc ];
|
2020-02-09 18:35:52 +01: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;
|
|
|
|
};
|
|
|
|
}
|