forked from mirrors/nixpkgs
sngrep: 1.4.9 -> 1.4.10
* the deleted patch is part of 1.4.10
This commit is contained in:
parent
916c7c1b4f
commit
3abf98e46c
|
@ -3,7 +3,6 @@
|
||||||
, autoconf
|
, autoconf
|
||||||
, automake
|
, automake
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, libpcap
|
, libpcap
|
||||||
, ncurses
|
, ncurses
|
||||||
, openssl
|
, openssl
|
||||||
|
@ -12,25 +11,15 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sngrep";
|
pname = "sngrep";
|
||||||
version = "1.4.9";
|
version = "1.4.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "irontec";
|
owner = "irontec";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-92wPRDFSoIOYFv3XKdsuYH8j3D8kXyg++q6VpIIMGDg=";
|
sha256 = "sha256-P618QLk85W0oPisAGiRfpCgHCddKutUkGjwdfgsV4Es=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Pull fix pending upstream inclusion for ncurses-6.3 support:
|
|
||||||
# https://github.com/irontec/sngrep/pull/382
|
|
||||||
(fetchpatch {
|
|
||||||
name = "ncurses-6.3.patch";
|
|
||||||
url = "https://github.com/irontec/sngrep/commit/d09e1c323dbd7fc899e8985899baec568f045601.patch";
|
|
||||||
sha256 = "sha256-nY5i3WQh/oKboEAh4wvxF5Imf2BHYEKdFj+WF1M3SSA=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoconf
|
autoconf
|
||||||
automake
|
automake
|
||||||
|
|
Loading…
Reference in a new issue