1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

compton{,-git}: bump to v2, set COMPTON_VERSION so '--version' has sane output (#46685)

Previously they both would claim to be 'git--' :).
This commit is contained in:
Will Dietz 2018-09-20 03:00:18 -05:00 committed by xeji
parent 0e1f3ef01a
commit 2eed7b7350

View file

@ -42,10 +42,12 @@ let
};
});
stableSource = {
stableSource = rec {
pname = "compton";
version = "0.1_beta2.5";
COMPTON_VERSION = version;
src = fetchFromGitHub {
owner = "chjj";
repo = "compton";
@ -58,15 +60,17 @@ let
};
};
gitSource = {
gitSource = rec {
pname = "compton-git";
version = "2018-08-14";
version = "2";
COMPTON_VERSION = "v${version}";
src = fetchFromGitHub {
owner = "yshui";
repo = "compton";
rev = "cac8094ce12cd40706fb48f9ab35354d9ee7c48f";
sha256 = "0qif3nx8vszlr06bixasna13pzfaikp86xax9miwnba50517y7v5";
rev = COMPTON_VERSION;
sha256 = "1b6jgkkjbmgm7d7qjs94h722kgbqjagcxznkh2r84hcmcl8pibjq";
};
meta = {