mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
netatop: 1.0 -> 2.0, fixes compat with kernels >= 4.13
This commit is contained in:
parent
92ec809473
commit
006bb983b9
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, fetchurl, kernel, zlib }:
|
||||
|
||||
let
|
||||
version = "1.0";
|
||||
version = "2.0";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||
|
||||
src = fetchurl {
|
||||
url = "http://www.atoptool.nl/download/netatop-${version}.tar.gz";
|
||||
sha256 = "1l7xs3hnfbk6h5gdrw1ikfa0fvfpb5vd447xhwfllvicblqyip8b";
|
||||
sha256 = "03n248p1l3ps7gj2hdlcbrb1fsw1zcmgzypj4j4l4rynjjh7qvf6";
|
||||
};
|
||||
|
||||
buildInputs = [ zlib ];
|
||||
|
@ -38,6 +38,5 @@ stdenv.mkDerivation {
|
|||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
broken = !stdenv.lib.versionOlder kernel.version "4.13";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue