2023-03-24 00:07:29 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchgit
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ramfetch";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "1.1.0a";
|
2023-03-24 00:07:29 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2023-04-29 16:46:19 +00:00
|
|
|
url = "https://codeberg.org/jahway603/ramfetch.git";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-sUreZ6zm+a1N77OZszjnpS4mmo5wL1dhNGVldJCGoag=";
|
2023-03-24 00:07:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -D ramfetch $out/bin/ramfetch
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Tool which displays memory information";
|
2023-04-29 16:46:19 +00:00
|
|
|
homepage = "https://codeberg.org/jahway603/ramfetch";
|
2023-03-24 00:07:29 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.markbeep ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "ramfetch";
|
2023-03-24 00:07:29 +00:00
|
|
|
};
|
|
|
|
}
|