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
+2 -2
View File
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, mate }:
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "mate-common-${version}";
version = "1.22.0";
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 = "11lwckndizawbq993ws8lqp59vsc873zri0m8s1i5zyc4qx9f69z";
};