at 23.11-beta 33 lines 661 B view raw
1{ lib 2, stdenv 3, fetchgit 4}: 5 6stdenv.mkDerivation rec { 7 name = "ramfetch"; 8 version = "1.1.0a"; 9 10 src = fetchgit { 11 url = "https://codeberg.org/jahway603/ramfetch.git"; 12 rev = version; 13 hash = "sha256-sUreZ6zm+a1N77OZszjnpS4mmo5wL1dhNGVldJCGoag="; 14 }; 15 16 dontBuild = true; 17 18 installPhase = '' 19 runHook preInstall 20 21 install -D ramfetch $out/bin/ramfetch 22 23 runHook postInstall 24 ''; 25 26 meta = { 27 description = "A tool which displays memory information"; 28 homepage = "https://codeberg.org/jahway603/ramfetch"; 29 platforms = lib.platforms.linux; 30 license = lib.licenses.mit; 31 maintainers = [ lib.maintainers.markbeep ]; 32 }; 33}