Skip to content

Commit

Permalink
clevis: init at 12
Browse files Browse the repository at this point in the history
  • Loading branch information
fpletz committed Feb 17, 2020
1 parent 38ae7d1 commit 37f35dc
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/tools/security/clevis/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkgconfig, asciidoc
, jansson, jose, cryptsetup, curl, libpwquality, luksmeta
}:

stdenv.mkDerivation rec {
pname = "clevis";
version = "12";

src = fetchFromGitHub {
owner = "latchset";
repo = pname;
rev = "v${version}";
sha256 = "1dbyl3c21h841w9lrrq6gd5y6dhamr0z5ixd87jz86cn02lznp5m";
};

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;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,10 @@ in

clasp = callPackage ../tools/misc/clasp { };

clevis = callPackage ../tools/security/clevis {
asciidoc = asciidoc-full;
};

cli53 = callPackage ../tools/admin/cli53 { };

cli-visualizer = callPackage ../applications/misc/cli-visualizer { };
Expand Down

0 comments on commit 37f35dc

Please sign in to comment.