summary refs log blame commit diff
path: root/pkgs/tools/misc/ramfetch/default.nix
blob: a60315eaa58c16830f8afcf47f1416d99fda6fbd (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                         
                     

                  


                                                                 













                                                             
                                                         




                                               
{ 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 = "A tool which displays memory information";
    homepage = "https://codeberg.org/jahway603/ramfetch";
    platforms = lib.platforms.linux;
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.markbeep ];
  };
}