clevis: 18 -> 19

Diff: https://github.com/latchset/clevis/compare/refs/tags/v18...v19

Changelog: https://github.com/latchset/clevis/releases/tag/v19

+33 -24
+33 -24
pkgs/tools/security/clevis/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 - , fetchurl 5 - , meson 6 - , ninja 7 - , pkg-config 8 - , asciidoc 9 - , makeWrapper 10 , jansson 11 , jose 12 - , cryptsetup 13 - , curl 14 , libpwquality 15 , luksmeta 16 - , coreutils 17 , tpm2-tools 18 - , gnugrep 19 - , gnused 20 }: 21 22 stdenv.mkDerivation rec { 23 pname = "clevis"; 24 - version = "18"; 25 26 src = fetchFromGitHub { 27 owner = "latchset"; 28 repo = pname; 29 rev = "refs/tags/v${version}"; 30 - hash = "sha256-m1UhyjD5ydSgCTBu6sECLlxFx0rnQxFnBA7frbdUqU8="; 31 }; 32 33 - patches = [ 34 - # sss: use BN_set_word(x, 0) instead of BN_zero(), fixes build issue with different versions of openssl 35 - (fetchurl { 36 - url = "https://github.com/latchset/clevis/commit/ee1dfedb9baca107e66a0fec76693c9d479dcfd9.patch"; 37 - sha256 = "sha256-GeklrWWlAMALDLdnn6+0Bi0l+bXrIbYkgIyI94WEybM="; 38 - }) 39 - ]; 40 - 41 postPatch = '' 42 for f in $(find src/ -type f); do 43 grep -q "/bin/cat" "$f" && substituteInPlace "$f" \ ··· 51 --prefix PATH ':' "${lib.makeBinPath [tpm2-tools jose cryptsetup libpwquality luksmeta gnugrep gnused coreutils]}:${placeholder "out"}/bin" 52 ''; 53 54 - nativeBuildInputs = [ meson ninja pkg-config asciidoc makeWrapper ]; 55 - buildInputs = [ jansson jose cryptsetup curl libpwquality luksmeta tpm2-tools ]; 56 57 - outputs = [ "out" "man" ]; 58 59 meta = with lib; { 60 description = "Automated Encryption Framework";
··· 1 { lib 2 , stdenv 3 + , asciidoc 4 + , coreutils 5 + , cryptsetup 6 + , curl 7 , fetchFromGitHub 8 + , gnugrep 9 + , gnused 10 , jansson 11 , jose 12 , libpwquality 13 , luksmeta 14 + , makeWrapper 15 + , meson 16 + , ninja 17 + , pkg-config 18 , tpm2-tools 19 }: 20 21 stdenv.mkDerivation rec { 22 pname = "clevis"; 23 + version = "19"; 24 25 src = fetchFromGitHub { 26 owner = "latchset"; 27 repo = pname; 28 rev = "refs/tags/v${version}"; 29 + hash = "sha256-3J3ti/jRiv+p3eVvJD7u0ko28rPd8Gte0mCJaVaqyOs="; 30 }; 31 32 postPatch = '' 33 for f in $(find src/ -type f); do 34 grep -q "/bin/cat" "$f" && substituteInPlace "$f" \ ··· 42 --prefix PATH ':' "${lib.makeBinPath [tpm2-tools jose cryptsetup libpwquality luksmeta gnugrep gnused coreutils]}:${placeholder "out"}/bin" 43 ''; 44 45 + nativeBuildInputs = [ 46 + meson 47 + ninja 48 + pkg-config 49 + asciidoc 50 + makeWrapper 51 + ]; 52 53 + buildInputs = [ 54 + jansson 55 + jose 56 + cryptsetup 57 + curl 58 + libpwquality 59 + luksmeta 60 + tpm2-tools 61 + ]; 62 + 63 + outputs = [ 64 + "out" 65 + "man" 66 + ]; 67 68 meta = with lib; { 69 description = "Automated Encryption Framework";