1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

Merge pull request #66704 from eadwu/compton/7.2

compton: 7 -> 7.2
This commit is contained in:
Marek Mahut 2019-08-24 10:41:39 +02:00 committed by GitHub
commit fce7cfc2a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = ''