mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03: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:
parent
0e1f3ef01a
commit
2eed7b7350
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user