mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 07:48:58 +00:00
smemstat: init at 0.01.14
This commit is contained in:
parent
a28dda1102
commit
b68689ebb2
22
pkgs/os-specific/linux/smemstat/default.nix
Normal file
22
pkgs/os-specific/linux/smemstat/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, lib, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "smemstat-${version}";
|
||||
version = "0.01.14";
|
||||
src = fetchurl {
|
||||
url = "http://kernel.ubuntu.com/~cking/tarballs/smemstat/smemstat-${version}.tar.gz";
|
||||
sha256 = "0qkpbg0n40d8m9jzf3ylpdp65zzs344zbjn8khha4plbwg00ijrw";
|
||||
};
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
postInstall = ''
|
||||
mv $out/usr/* $out
|
||||
rm -r $out/usr
|
||||
'';
|
||||
meta = with lib; {
|
||||
description = "Memory usage monitoring tool";
|
||||
homepage = http://kernel.ubuntu.com/~cking/smemstat/;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ womfoo ];
|
||||
};
|
||||
}
|
|
@ -10862,6 +10862,8 @@ in
|
|||
|
||||
powerstat = callPackage ../os-specific/linux/powerstat { };
|
||||
|
||||
smemstat = callPackage ../os-specific/linux/smemstat { };
|
||||
|
||||
tgt = callPackage ../tools/networking/tgt { };
|
||||
|
||||
# -- Linux kernel expressions ------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue