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