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