Skip to content

Commit

Permalink
pfetch: init at 0.4.0
Browse files Browse the repository at this point in the history
* pfetch: init at 0.4.0
  • Loading branch information
equirosa authored and clayrat committed Dec 14, 2019
1 parent 1eb5022 commit de80fd3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/tools/misc/pfetch/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5651,6 +5651,8 @@ in
ssh = openssh;
};

pfetch = callPackage ../tools/misc/pfetch { };

pfstools = callPackage ../tools/graphics/pfstools { };

philter = callPackage ../tools/networking/philter { };
Expand Down

0 comments on commit de80fd3

Please sign in to comment.