Loading pkgs/servers/tang/default.nix +31 −12 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, asciidoc , jansson, jose, http-parser, systemd { lib , stdenv , fetchFromGitHub , pkg-config , asciidoc , jansson , jose , http-parser , systemd , meson , ninja }: stdenv.mkDerivation rec { pname = "tang"; version = "7"; version = "12"; src = fetchFromGitHub { owner = "latchset"; repo = pname; rev = "v${version}"; sha256 = "0y5w1jrq5djh9gpy2r98ja7676nfxss17s1dk7jvgblsijx9qsd7"; repo = "tang"; rev = "refs/tags/v${version}"; hash = "sha256-wfZFOJrVzjtysh0VKdw5O+DJybYkV9bYJNnaku6YctE="; }; configureFlags = [ "--localstatedir=/var" "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" nativeBuildInputs = [ asciidoc meson ninja pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config asciidoc ]; buildInputs = [ jansson jose http-parser systemd ]; buildInputs = [ jansson jose http-parser systemd ]; outputs = [ "out" "man" ]; outputs = [ "out" "man" ]; meta = { description = "Server for binding data to network presence"; homepage = "https://github.com/latchset/tang"; changelog = "https://github.com/latchset/tang/releases/tag/v${version}"; maintainers = with lib.maintainers; [ fpletz ]; license = lib.licenses.gpl3Plus; }; Loading pkgs/tools/security/clevis/default.nix +38 −28 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , fetchurl , meson , ninja , pkg-config , asciidoc , makeWrapper , jansson , jose , coreutils , cryptsetup , curl , fetchFromGitHub , gnugrep , gnused , jansson , jose , libpwquality , luksmeta , coreutils , makeWrapper , meson , ninja , pkg-config , tpm2-tools , gnugrep , gnused }: stdenv.mkDerivation rec { pname = "clevis"; version = "18"; version = "19"; src = fetchFromGitHub { owner = "latchset"; repo = pname; rev = "v${version}"; sha256 = "sha256-m1UhyjD5ydSgCTBu6sECLlxFx0rnQxFnBA7frbdUqU8="; rev = "refs/tags/v${version}"; hash = "sha256-3J3ti/jRiv+p3eVvJD7u0ko28rPd8Gte0mCJaVaqyOs="; }; patches = [ # sss: use BN_set_word(x, 0) instead of BN_zero(), fixes build issue with different versions of openssl (fetchurl { url = "https://github.com/latchset/clevis/commit/ee1dfedb9baca107e66a0fec76693c9d479dcfd9.patch"; sha256 = "sha256-GeklrWWlAMALDLdnn6+0Bi0l+bXrIbYkgIyI94WEybM="; }) ]; postPatch = '' for f in $(find src/ -type f); do grep -q "/bin/cat" "$f" && substituteInPlace "$f" \ Loading @@ -51,15 +42,34 @@ stdenv.mkDerivation rec { --prefix PATH ':' "${lib.makeBinPath [tpm2-tools jose cryptsetup libpwquality luksmeta gnugrep gnused coreutils]}:${placeholder "out"}/bin" ''; nativeBuildInputs = [ meson ninja pkg-config asciidoc makeWrapper ]; buildInputs = [ jansson jose cryptsetup curl libpwquality luksmeta tpm2-tools ]; nativeBuildInputs = [ asciidoc makeWrapper meson ninja pkg-config ]; buildInputs = [ cryptsetup curl jansson jose libpwquality luksmeta tpm2-tools ]; outputs = [ "out" "man" ]; outputs = [ "out" "man" ]; meta = { meta = with lib; { description = "Automated Encryption Framework"; homepage = "https://github.com/latchset/clevis"; maintainers = with lib.maintainers; [ ]; license = lib.licenses.gpl3Plus; changelog = "https://github.com/latchset/clevis/releases/tag/v${version}"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; }; } Loading
pkgs/servers/tang/default.nix +31 −12 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, asciidoc , jansson, jose, http-parser, systemd { lib , stdenv , fetchFromGitHub , pkg-config , asciidoc , jansson , jose , http-parser , systemd , meson , ninja }: stdenv.mkDerivation rec { pname = "tang"; version = "7"; version = "12"; src = fetchFromGitHub { owner = "latchset"; repo = pname; rev = "v${version}"; sha256 = "0y5w1jrq5djh9gpy2r98ja7676nfxss17s1dk7jvgblsijx9qsd7"; repo = "tang"; rev = "refs/tags/v${version}"; hash = "sha256-wfZFOJrVzjtysh0VKdw5O+DJybYkV9bYJNnaku6YctE="; }; configureFlags = [ "--localstatedir=/var" "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" nativeBuildInputs = [ asciidoc meson ninja pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config asciidoc ]; buildInputs = [ jansson jose http-parser systemd ]; buildInputs = [ jansson jose http-parser systemd ]; outputs = [ "out" "man" ]; outputs = [ "out" "man" ]; meta = { description = "Server for binding data to network presence"; homepage = "https://github.com/latchset/tang"; changelog = "https://github.com/latchset/tang/releases/tag/v${version}"; maintainers = with lib.maintainers; [ fpletz ]; license = lib.licenses.gpl3Plus; }; Loading
pkgs/tools/security/clevis/default.nix +38 −28 Original line number Diff line number Diff line { lib , stdenv , fetchFromGitHub , fetchurl , meson , ninja , pkg-config , asciidoc , makeWrapper , jansson , jose , coreutils , cryptsetup , curl , fetchFromGitHub , gnugrep , gnused , jansson , jose , libpwquality , luksmeta , coreutils , makeWrapper , meson , ninja , pkg-config , tpm2-tools , gnugrep , gnused }: stdenv.mkDerivation rec { pname = "clevis"; version = "18"; version = "19"; src = fetchFromGitHub { owner = "latchset"; repo = pname; rev = "v${version}"; sha256 = "sha256-m1UhyjD5ydSgCTBu6sECLlxFx0rnQxFnBA7frbdUqU8="; rev = "refs/tags/v${version}"; hash = "sha256-3J3ti/jRiv+p3eVvJD7u0ko28rPd8Gte0mCJaVaqyOs="; }; patches = [ # sss: use BN_set_word(x, 0) instead of BN_zero(), fixes build issue with different versions of openssl (fetchurl { url = "https://github.com/latchset/clevis/commit/ee1dfedb9baca107e66a0fec76693c9d479dcfd9.patch"; sha256 = "sha256-GeklrWWlAMALDLdnn6+0Bi0l+bXrIbYkgIyI94WEybM="; }) ]; postPatch = '' for f in $(find src/ -type f); do grep -q "/bin/cat" "$f" && substituteInPlace "$f" \ Loading @@ -51,15 +42,34 @@ stdenv.mkDerivation rec { --prefix PATH ':' "${lib.makeBinPath [tpm2-tools jose cryptsetup libpwquality luksmeta gnugrep gnused coreutils]}:${placeholder "out"}/bin" ''; nativeBuildInputs = [ meson ninja pkg-config asciidoc makeWrapper ]; buildInputs = [ jansson jose cryptsetup curl libpwquality luksmeta tpm2-tools ]; nativeBuildInputs = [ asciidoc makeWrapper meson ninja pkg-config ]; buildInputs = [ cryptsetup curl jansson jose libpwquality luksmeta tpm2-tools ]; outputs = [ "out" "man" ]; outputs = [ "out" "man" ]; meta = { meta = with lib; { description = "Automated Encryption Framework"; homepage = "https://github.com/latchset/clevis"; maintainers = with lib.maintainers; [ ]; license = lib.licenses.gpl3Plus; changelog = "https://github.com/latchset/clevis/releases/tag/v${version}"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; }; }