netcat-openbsd: 1.219-1 -> 1.234-1; fix build with gcc15; modernize (#476197)
This commit is contained in:
@@ -7,16 +7,16 @@
|
||||
installShellFiles,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "netcat-openbsd";
|
||||
version = "1.219-1";
|
||||
version = "1.234-1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "salsa.debian.org";
|
||||
owner = "debian";
|
||||
repo = "netcat-openbsd";
|
||||
rev = "refs/tags/debian/${version}";
|
||||
sha256 = "sha256-rN8pl3Qf0T8bXGtVH22tBpGY/EcnbgGm1G8Z2patGbo=";
|
||||
tag = "debian/${finalAttrs.version}";
|
||||
hash = "sha256-6pCsBbS2IjXyXgNXURHK3uMRTJ0aXAsu29kc7f479Os=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
@@ -35,8 +35,7 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
mv nc $out/bin/nc
|
||||
install -Dm755 -t $out/bin nc
|
||||
installManPage nc.1
|
||||
|
||||
runHook postInstall
|
||||
@@ -57,4 +56,4 @@ stdenv.mkDerivation rec {
|
||||
# never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
|
||||
broken = stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user