tlsclient: 1.5 -> 1.6.4
This commit is contained in:
parent
278cd2be26
commit
7d518f6e37
1 changed files with 6 additions and 9 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue