depot/third_party/nixpkgs/pkgs/tools/misc/ramfetch/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
689 B
Nix

{ lib
, stdenv
, fetchgit
}:
stdenv.mkDerivation rec {
name = "ramfetch";
version = "1.1.0a";
src = fetchgit {
url = "https://codeberg.org/jahway603/ramfetch.git";
rev = version;
hash = "sha256-sUreZ6zm+a1N77OZszjnpS4mmo5wL1dhNGVldJCGoag=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
install -D ramfetch $out/bin/ramfetch
runHook postInstall
'';
meta = {
description = "Tool which displays memory information";
homepage = "https://codeberg.org/jahway603/ramfetch";
platforms = lib.platforms.linux;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.markbeep ];
mainProgram = "ramfetch";
};
}