nixpkgs/pkgs/os-specific/linux/smemstat/default.nix
R. RyanTM 3063809ac2 smemstat: 0.02.03 -> 0.02.04
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/smemstat/versions
2019-07-17 09:37:06 +02:00

24 lines
684 B
Nix

{ stdenv, lib, fetchurl, ncurses }:
stdenv.mkDerivation rec {
name = "smemstat-${version}";
version = "0.02.04";
src = fetchurl {
url = "https://kernel.ubuntu.com/~cking/tarballs/smemstat/smemstat-${version}.tar.xz";
sha256 = "1kkdlnn3gahzd3ra2qc9vmc4ir5lydc3lyyqa269sb3nv9v2v30h";
};
buildInputs = [ ncurses ];
installFlags = [ "DESTDIR=$(out)" ];
postInstall = ''
mv $out/usr/* $out
rm -r $out/usr
'';
meta = with lib; {
description = "Memory usage monitoring tool";
homepage = https://kernel.ubuntu.com/~cking/smemstat/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ womfoo ];
};
}