mate: use stdenv.lib.versions.majorMinor instead of mate.getRelease

This commit is contained in:
José Romildo Malaquias
2019-04-21 12:40:55 -03:00
parent 4c49b03ffd
commit a1164b0649
40 changed files with 53 additions and 56 deletions
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, hicolor-icon-theme, gtk3, mate }:
{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, hicolor-icon-theme, gtk3 }:
stdenv.mkDerivation rec {
name = "mate-icon-theme-${version}";
version = "1.22.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1pn1xbmr4w4mi45nwk1qh18z9rlngmkhp9bw671yn4k6sii8fi3k";
};