depot/third_party/nixpkgs/pkgs/tools/misc/pfetch/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
630 B
Nix

{ stdenvNoCC, lib, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "pfetch";
version = "0.6.0";
src = fetchFromGitHub {
owner = "dylanaraps";
repo = "pfetch";
rev = version;
sha256 = "06z0k1naw3k052p2z7241lx92rp5m07zlr0alx8pdm6mkc3c4v8f";
};
dontBuild = true;
installPhase = ''
install -Dm755 -t $out/bin pfetch
'';
meta = with 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 ];
};
}