@@ -0,0 +1,28 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "pfetch";
5+ version = "0.4.0";
6+
7+ src = fetchFromGitHub {
8+ owner = "dylanaraps";
9+ repo = "pfetch";
10+ rev = version;
11+ sha256 = "180vvbmvak888vs4dgzlmqk0ss4qfsz09700n4p8s68j7krkxsfq";
12+ };
13+
14+ dontbuild = true;
15+
16+ installPhase = ''
17+ mkdir -p $out/bin
18+ cp pfetch $out/bin
19+ '';
20+
21+ meta = with stdenv.lib; {
22+ description = "A pretty system information tool written in POSIX sh";
23+ homepage = https://github.com/dylanaraps/pfetch;
24+ license = licenses.mit;
25+ platforms = platforms.all;
26+ maintainers = with maintainers; [ equirosa ];
27+ };
28+}