3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome/core/gnome-backgrounds/default.nix
Jan Tojnar 468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00

23 lines
640 B
Nix

{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gnome, gettext }:
stdenv.mkDerivation rec {
pname = "gnome-backgrounds";
version = "40.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "YN+KDaMBzkJbcEPUKuMuxAEf8I8Y4Pxi8pQBMF2jpw4=";
};
passthru = {
updateScript = gnome.updateScript { packageName = "gnome-backgrounds"; attrPath = "gnome.gnome-backgrounds"; };
};
nativeBuildInputs = [ meson ninja pkg-config gettext ];
meta = with lib; {
platforms = platforms.unix;
maintainers = teams.gnome.members;
};
}