3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #77697 from dtzWill/fix/pfetch-minor-dontbuild-touchup

pfetch: dontbuild -> dontBuild, installPhase touchup, stdenvNoCC
This commit is contained in:
Will Dietz 2020-01-16 17:43:47 -06:00 committed by GitHub
commit 81aafb22ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub }:
{ stdenvNoCC, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "pfetch";
version = "0.4.0";
@ -11,14 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "180vvbmvak888vs4dgzlmqk0ss4qfsz09700n4p8s68j7krkxsfq";
};
dontbuild = true;
dontBuild = true;
installPhase = ''
mkdir -p $out/bin
cp pfetch $out/bin
install -Dm755 -t $out/bin pfetch
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A pretty system information tool written in POSIX sh";
homepage = https://github.com/dylanaraps/pfetch;
license = licenses.mit;