nixpkgs/pkgs/tools/misc/ramfetch/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

35 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";
};
}