blob: 491844f26b75bf709d9c8691c9a1f6a41b15847f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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 ];
};
}
|