2023-03-14 22:20:56 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchgit
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ramfetch";
|
2023-04-11 14:57:52 +00:00
|
|
|
version = "1.1.0a";
|
2023-03-14 22:20:56 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2023-04-11 14:57:52 +00:00
|
|
|
url = "https://codeberg.org/jahway603/ramfetch.git";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-sUreZ6zm+a1N77OZszjnpS4mmo5wL1dhNGVldJCGoag=";
|
2023-03-14 22:20:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -D ramfetch $out/bin/ramfetch
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool which displays memory information";
|
2023-04-11 14:57:52 +00:00
|
|
|
homepage = "https://codeberg.org/jahway603/ramfetch";
|
2023-03-14 22:20:56 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.markbeep ];
|
|
|
|
};
|
|
|
|
}
|