compton: 7 -> 7.2

This commit is contained in:
Edmund Wu 2019-08-15 21:48:39 -04:00
parent 31a577c736
commit 3c1cda9b84
No known key found for this signature in database
GPG Key ID: 76AA3F9F2BD3E3A0

View File

@ -5,15 +5,13 @@
, libXinerama, libXext, xwininfo, libxdg_basedir }:
stdenv.mkDerivation rec {
pname = "compton";
version = "7";
COMPTON_VERSION = "v${version}";
version = "7.2";
src = fetchFromGitHub {
owner = "yshui";
repo = "compton";
rev = COMPTON_VERSION;
sha256 = "0f23dv2p1snlpzc91v38q6896ncz4zqzmh2d97yf66j78g21awas";
rev = "v${version}";
sha256 = "1vwa5f0nifc1913diqd6cp5k1dlfyc2ijxbcdj1s37ywpx6c63c3";
fetchSubmodules = true;
};
@ -42,11 +40,6 @@ stdenv.mkDerivation rec {
"-Dbuild_docs=true"
];
preBuild = ''
git() { echo "$COMPTON_VERSION"; }
export -f git
'';
installFlags = [ "PREFIX=$(out)" ];
postInstall = ''