mate: use stdenv.lib.versions.majorMinor instead of mate.getRelease
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurl, pkgconfig, intltool, glib, libcanberra-gtk3,
|
||||
libnotify, libwnck3, gnome3, gtk3, mate, wrapGAppsHook }:
|
||||
libnotify, libwnck3, gnome3, gtk3, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mate-notification-daemon-${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 = "06z3xczhz5diy4kk7b8lrzljrnql6fz0n1jyy916cf8pnnanpg0j";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user