nixpkgs/pkgs/tools/misc/ramfetch/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
691 B
Nix
Raw Normal View History

2023-03-14 23:20:56 +01:00
{ lib
, stdenv
, fetchgit
}:
stdenv.mkDerivation rec {
name = "ramfetch";
2023-04-11 16:57:52 +02:00
version = "1.1.0a";
2023-03-14 23:20:56 +01:00
src = fetchgit {
2023-04-11 16:57:52 +02:00
url = "https://codeberg.org/jahway603/ramfetch.git";
rev = version;
hash = "sha256-sUreZ6zm+a1N77OZszjnpS4mmo5wL1dhNGVldJCGoag=";
2023-03-14 23:20:56 +01: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 16:57:52 +02:00
homepage = "https://codeberg.org/jahway603/ramfetch";
2023-03-14 23:20:56 +01:00
platforms = lib.platforms.linux;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.markbeep ];
2023-11-27 02:17:53 +01:00
mainProgram = "ramfetch";
2023-03-14 23:20:56 +01:00
};
}