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:
parent
0e1f3ef01a
commit
2eed7b7350
@ -42,10 +42,12 @@ let
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
stableSource = {
|
stableSource = rec {
|
||||||
pname = "compton";
|
pname = "compton";
|
||||||
version = "0.1_beta2.5";
|
version = "0.1_beta2.5";
|
||||||
|
|
||||||
|
COMPTON_VERSION = version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "chjj";
|
owner = "chjj";
|
||||||
repo = "compton";
|
repo = "compton";
|
||||||
@ -58,15 +60,17 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gitSource = {
|
gitSource = rec {
|
||||||
pname = "compton-git";
|
pname = "compton-git";
|
||||||
version = "2018-08-14";
|
version = "2";
|
||||||
|
|
||||||
|
COMPTON_VERSION = "v${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "yshui";
|
owner = "yshui";
|
||||||
repo = "compton";
|
repo = "compton";
|
||||||
rev = "cac8094ce12cd40706fb48f9ab35354d9ee7c48f";
|
rev = COMPTON_VERSION;
|
||||||
sha256 = "0qif3nx8vszlr06bixasna13pzfaikp86xax9miwnba50517y7v5";
|
sha256 = "1b6jgkkjbmgm7d7qjs94h722kgbqjagcxznkh2r84hcmcl8pibjq";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user