forked from mirrors/nixpkgs
pfetch: init at 0.4.0
* pfetch: init at 0.4.0
This commit is contained in:
parent
bafaf78ead
commit
297604cb35
28
pkgs/tools/misc/pfetch/default.nix
Normal file
28
pkgs/tools/misc/pfetch/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pfetch";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dylanaraps";
|
||||
repo = "pfetch";
|
||||
rev = version;
|
||||
sha256 = "180vvbmvak888vs4dgzlmqk0ss4qfsz09700n4p8s68j7krkxsfq";
|
||||
};
|
||||
|
||||
dontbuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp pfetch $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A pretty system information tool written in POSIX sh";
|
||||
homepage = https://github.com/dylanaraps/pfetch;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ equirosa ];
|
||||
};
|
||||
}
|
|
@ -5651,6 +5651,8 @@ in
|
|||
ssh = openssh;
|
||||
};
|
||||
|
||||
pfetch = callPackage ../tools/misc/pfetch { };
|
||||
|
||||
pfstools = callPackage ../tools/graphics/pfstools { };
|
||||
|
||||
philter = callPackage ../tools/networking/philter { };
|
||||
|
|
Loading…
Reference in a new issue