gnome.gnome-backgrounds: 42.beta → 42.0
https://gitlab.gnome.org/GNOME/gnome-backgrounds/-/compare/42.beta...42.0 - Format the expression - Remove unused dependencies - Add meta.{description,homepage,license}
This commit is contained in:
parent
cd1d12ca65
commit
8a91a19d5e
1 changed files with 23 additions and 8 deletions
|
@ -1,16 +1,18 @@
|
|||
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, gnome, gettext }:
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchurl
|
||||
, meson
|
||||
, ninja
|
||||
, gnome
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-backgrounds";
|
||||
version = "42.beta";
|
||||
version = "42.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-backgrounds/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "jbnaBtzxXiduvbiarUPzk9AKahd8MYj+XQuLXnrhX6U=";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript { packageName = "gnome-backgrounds"; attrPath = "gnome.gnome-backgrounds"; };
|
||||
sha256 = "TH/hoJ9FnF93GJpZglJPzgXYiJRJVdZ5kQ8jRgbBKV0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -20,9 +22,22 @@ stdenv.mkDerivation rec {
|
|||
./stable-dir.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config gettext ];
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = "gnome-backgrounds";
|
||||
attrPath = "gnome.gnome-backgrounds";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Default wallpaper set for GNOME";
|
||||
homepage = "https://gitlab.gnome.org/GNOME/gnome-backgrounds";
|
||||
license = licenses.cc-by-sa-30;
|
||||
platforms = platforms.unix;
|
||||
maintainers = teams.gnome.members;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue