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";