1 { stdenv, lib, fetchFromGitHub, installShellFiles }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1gncgkhqd8bnz254qa30yyl10qm28dwx6aif0dwrj38z5ql40ck9";
14 nativeBuildInputs = [ installShellFiles ];
20 install -Dm755 cpufetch $out/bin/cpufetch
21 install -Dm644 LICENSE $out/share/licenses/cpufetch/LICENSE
22 installManPage cpufetch.8
28 description = "Simplistic yet fancy CPU architecture fetching tool";
29 license = licenses.mit;
30 homepage = "https://github.com/Dr-Noob/cpufetch";
31 changelog = "https://github.com/Dr-Noob/cpufetch/releases/tag/v${version}";
32 maintainers = with maintainers; [ devhell ];