mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
cpufetch: init at 0.94
A "[s]implistic yet fancy CPU architecture fetching tool", similar to neofetch, screenfetch, etc.
This commit is contained in:
parent
032fc65fca
commit
96fc3c3880
2 changed files with 36 additions and 0 deletions
34
pkgs/tools/misc/cpufetch/default.nix
Normal file
34
pkgs/tools/misc/cpufetch/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, lib, fetchFromGitHub, installShellFiles }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cpufetch";
|
||||
version = "0.94";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Dr-Noob";
|
||||
repo = "cpufetch";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gncgkhqd8bnz254qa30yyl10qm28dwx6aif0dwrj38z5ql40ck9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
install -Dm755 cpufetch $out/bin/cpufetch
|
||||
install -Dm644 LICENSE $out/share/licenses/cpufetch/LICENSE
|
||||
installManPage cpufetch.8
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simplistic yet fancy CPU architecture fetching tool";
|
||||
license = licenses.mit;
|
||||
homepage = "https://github.com/Dr-Noob/cpufetch";
|
||||
changelog = "https://github.com/Dr-Noob/cpufetch/releases/tag/v${version}";
|
||||
maintainers = with maintainers; [ devhell ];
|
||||
};
|
||||
}
|
|
@ -3577,6 +3577,8 @@ in
|
|||
|
||||
cpio = callPackage ../tools/archivers/cpio { };
|
||||
|
||||
cpufetch = callPackage ../tools/misc/cpufetch { };
|
||||
|
||||
crackxls = callPackage ../tools/security/crackxls { };
|
||||
|
||||
create-cycle-app = nodePackages.create-cycle-app;
|
||||
|
|
Loading…
Reference in a new issue