gnome3: remove versionBranch attribute

Standard library now contains stdenv.lib.versions.majorMinor,
which does the same.
This commit is contained in:
Jan Tojnar
2018-10-05 02:17:19 +02:00
parent df48060e4c
commit 5cc18c4781
165 changed files with 166 additions and 171 deletions
@@ -8,7 +8,7 @@ in stdenv.mkDerivation rec {
version = "3.24.6";
src = fetchurl {
url = "mirror://gnome/sources/gtksourceview/${gnome3.versionBranch version}/${name}.tar.xz";
url = "mirror://gnome/sources/gtksourceview/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "7aa6bdfebcdc73a763dddeaa42f190c40835e6f8495bb9eb8f78587e2577c188";
};
@@ -8,7 +8,7 @@ in stdenv.mkDerivation rec {
version = "4.0.0";
src = fetchurl {
url = "mirror://gnome/sources/gtksourceview/${gnome3.versionBranch version}/${name}.tar.xz";
url = "mirror://gnome/sources/gtksourceview/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0amkspjsvxr3rjznmnwjwsgw030hayf6bw49ya4nligslwl7lp3f";
};