Update atop
This commit is contained in:
parent
ea12fb639b
commit
af5d18edb5
@ -1,12 +1,12 @@
|
||||
{stdenv, fetchurl, zlib, ncurses}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0.2";
|
||||
version = "2.1-1";
|
||||
name = "atop-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.atoptool.nl/download/atop-${version}.tar.gz";
|
||||
sha256 = "029lfa2capz1lg3m3rnyrgb8v6jm4znin84vjh2f0zkwvvhdn856";
|
||||
sha256 = "17wqqyym4d02cqmn1l1asah3sld939nlkc84g4ad939kpkzd98ir";
|
||||
};
|
||||
|
||||
buildInputs = [zlib ncurses];
|
||||
@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
|
||||
sed -e '/chkconfig/d' -i Makefile
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p "$out"/{bin,sbin}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [raskin];
|
||||
|
4
pkgs/os-specific/linux/atop/default.upstream
Normal file
4
pkgs/os-specific/linux/atop/default.upstream
Normal file
@ -0,0 +1,4 @@
|
||||
url http://atoptool.nl/downloadatop.php
|
||||
version_link '[.]tar[.]'
|
||||
version '[^0-9]*[-.]([0-9]([-0-9.]*[0-9])?)[.].*' '\1'
|
||||
minimize_overwrite
|
Loading…
Reference in New Issue
Block a user