forked from mirrors/nixpkgs
ramfetch: init at 1.1.0
This commit is contained in:
parent
388d764544
commit
00b01da53b
33
pkgs/tools/misc/ramfetch/default.nix
Normal file
33
pkgs/tools/misc/ramfetch/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchgit
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ramfetch";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://codeberg.org/o69mar/ramfetch.git";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-XUph+rTbw5LXWRq+OSKl0EjFac+MQAx3NBu4rWdWR3w=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D ramfetch $out/bin/ramfetch
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A tool which displays memory information";
|
||||
homepage = "https://codeberg.org/o69mar/ramfetch";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.markbeep ];
|
||||
};
|
||||
}
|
|
@ -11543,6 +11543,8 @@ with pkgs;
|
|||
|
||||
rambox = callPackage ../applications/networking/instant-messengers/rambox { };
|
||||
|
||||
ramfetch = callPackage ../tools/misc/ramfetch { };
|
||||
|
||||
rar = callPackage ../tools/archivers/rar { };
|
||||
|
||||
rarcrack = callPackage ../tools/security/rarcrack { };
|
||||
|
|
Loading…
Reference in a new issue