mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
34 lines
660 B
Nix
34 lines
660 B
Nix
{ 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 ];
|
|
};
|
|
}
|