tlsclient: 1.5 -> 1.6.4

This commit is contained in:
Jacob Moody 2023-07-21 19:34:02 -05:00
parent 278cd2be26
commit 7d518f6e37

View file

@ -3,31 +3,28 @@
, fetchFromSourcehut , fetchFromSourcehut
, pkg-config , pkg-config
, openssl , openssl
, installShellFiles
, gitUpdater , gitUpdater
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "tlsclient"; pname = "tlsclient";
version = "1.5"; version = "1.6.4";
src = fetchFromSourcehut { src = fetchFromSourcehut {
owner = "~moody"; owner = "~moody";
repo = "tlsclient"; repo = "tlsclient";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-9LKx9x5Kx7Mo4EL/b89Mdsdu8NqVYxohn98XnF+IWXs="; hash = "sha256-36fhY9kO6tPUuRkpk3Jv9oBRYX/SnmdZg0Rzt/A6MQE=";
}; };
strictDeps = true; strictDeps = true;
enableParallelBuilding = true; enableParallelBuilding = true;
nativeBuildInputs = [ pkg-config installShellFiles ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]; buildInputs = [ openssl ];
makeFlags = [ "tlsclient" ]; buildFlags = [ "tlsclient" ];
installPhase = '' installFlags = [ "PREFIX=$(out)" ];
install -Dm755 -t $out/bin tlsclient installTargets = "tlsclient.install";
installManPage tlsclient.1
'';
passthru.updateScript = gitUpdater { passthru.updateScript = gitUpdater {
rev-prefix = "v"; rev-prefix = "v";