From 7d518f6e37713b86ab18fc34e4fd64df44c429d1 Mon Sep 17 00:00:00 2001 From: Jacob Moody Date: Fri, 21 Jul 2023 19:34:02 -0500 Subject: [PATCH] tlsclient: 1.5 -> 1.6.4 --- pkgs/tools/admin/tlsclient/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/admin/tlsclient/default.nix b/pkgs/tools/admin/tlsclient/default.nix index 4df16af2344e..2cf0f0d548c5 100644 --- a/pkgs/tools/admin/tlsclient/default.nix +++ b/pkgs/tools/admin/tlsclient/default.nix @@ -3,31 +3,28 @@ , fetchFromSourcehut , pkg-config , openssl -, installShellFiles , gitUpdater }: stdenv.mkDerivation (finalAttrs: { pname = "tlsclient"; - version = "1.5"; + version = "1.6.4"; src = fetchFromSourcehut { owner = "~moody"; repo = "tlsclient"; rev = "v${finalAttrs.version}"; - hash = "sha256-9LKx9x5Kx7Mo4EL/b89Mdsdu8NqVYxohn98XnF+IWXs="; + hash = "sha256-36fhY9kO6tPUuRkpk3Jv9oBRYX/SnmdZg0Rzt/A6MQE="; }; strictDeps = true; enableParallelBuilding = true; - nativeBuildInputs = [ pkg-config installShellFiles ]; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; - makeFlags = [ "tlsclient" ]; - installPhase = '' - install -Dm755 -t $out/bin tlsclient - installManPage tlsclient.1 - ''; + buildFlags = [ "tlsclient" ]; + installFlags = [ "PREFIX=$(out)" ]; + installTargets = "tlsclient.install"; passthru.updateScript = gitUpdater { rev-prefix = "v";