Merge pull request #197428 from Artturin/netcatupdate
netcat-openbsd: 1.218-5 -> 1.219-1
This commit is contained in:
commit
6b2c968b3e
|
@ -2,26 +2,20 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "netcat-openbsd";
|
||||
version = "1.218-5";
|
||||
version = "1.219-1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "salsa.debian.org";
|
||||
owner = "debian";
|
||||
repo = "netcat-openbsd";
|
||||
rev = "refs/tags/debian/${version}";
|
||||
sha256 = "sha256-jEJ8x49Z1UN2qOChGp173aQuPkgl2fWwUUJgUdOv60I=";
|
||||
sha256 = "sha256-rN8pl3Qf0T8bXGtVH22tBpGY/EcnbgGm1G8Z2patGbo=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config installShellFiles ];
|
||||
buildInputs = [ libbsd ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-I${lib.getDev libbsd}/include/libbsd"
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = [ "-lbsd" ];
|
||||
|
||||
postPatch = ''
|
||||
for file in $(cat debian/patches/series); do
|
||||
patch -p1 < debian/patches/$file
|
||||
|
|
Loading…
Reference in a new issue