depot/third_party/nixpkgs/pkgs/tools/misc/ramfetch/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

33 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 ];
};
}