nethogs: 0.8.6 -> 0.8.7
This commit is contained in:
parent
c235949ce8
commit
6ff5ad2097
|
@ -1,26 +1,16 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, ncurses, libpcap }:
|
{ lib, stdenv, fetchFromGitHub, ncurses, libpcap }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nethogs";
|
pname = "nethogs";
|
||||||
version = "0.8.6";
|
version = "0.8.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "raboof";
|
owner = "raboof";
|
||||||
repo = "nethogs";
|
repo = "nethogs";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0sn1sdp86akwlm4r1vmkxjjl50c0xaisk91bbz57z7kcsaphxna9";
|
sha256 = "10shdwvfj90lp2fxz9260342a1c2n1jbw058qy5pyq5kh3xwr9b8";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Pull upstream patch for ncurses-6.3 support:
|
|
||||||
# https://github.com/raboof/nethogs/pull/210
|
|
||||||
(fetchpatch {
|
|
||||||
name = "ncurses-6.3.patch";
|
|
||||||
url = "https://github.com/raboof/nethogs/commit/455daf357da7f394763e5b93b11b3defe1f82ed1.patch";
|
|
||||||
sha256 = "0wkp0yr6qg1asgvmsn7blf7rq48sh5k4n3w0nxf5869hxvkhnnzs";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [ ncurses libpcap ];
|
buildInputs = [ ncurses libpcap ];
|
||||||
|
|
||||||
makeFlags = [ "VERSION=${version}" "nethogs" ];
|
makeFlags = [ "VERSION=${version}" "nethogs" ];
|
||||||
|
|
Loading…
Reference in a new issue