diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/pfetch')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/pfetch/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/pfetch/default.nix b/nixpkgs/pkgs/tools/misc/pfetch/default.nix new file mode 100644 index 000000000000..5f9e8bf7676a --- /dev/null +++ b/nixpkgs/pkgs/tools/misc/pfetch/default.nix @@ -0,0 +1,28 @@ +{ 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 ]; + mainProgram = "pfetch"; + }; +} |