nixpkgs/pkgs/desktops/mate/mate-backgrounds/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 lines
599 B
Nix

{ stdenv, fetchurl, intltool }:
stdenv.mkDerivation rec {
pname = "mate-backgrounds";
version = "1.22.0";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1j9ch04qi2q4mdcvb92w667ra9hpfdf2bfpi1dpw0nbph7r6qvj9";
};
nativeBuildInputs = [ intltool ];
meta = with stdenv.lib; {
description = "Background images and data for MATE";
homepage = https://mate-desktop.org;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}