2020-01-14 20:27:23 +00:00
|
|
|
{ stdenvNoCC, lib, fetchFromGitHub }:
|
2019-12-14 22:28:44 +00:00
|
|
|
|
2020-01-14 20:27:23 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2019-12-14 22:28:44 +00:00
|
|
|
pname = "pfetch";
|
|
|
|
version = "0.4.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dylanaraps";
|
|
|
|
repo = "pfetch";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "180vvbmvak888vs4dgzlmqk0ss4qfsz09700n4p8s68j7krkxsfq";
|
|
|
|
};
|
|
|
|
|
2020-01-14 20:18:04 +00:00
|
|
|
dontBuild = true;
|
2019-12-14 22:28:44 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2020-01-14 20:18:04 +00:00
|
|
|
install -Dm755 -t $out/bin pfetch
|
2019-12-14 22:28:44 +00:00
|
|
|
'';
|
|
|
|
|
2020-01-14 20:27:23 +00:00
|
|
|
meta = with lib; {
|
2019-12-14 22:28:44 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|