1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 imagemagick,
6 jhead,
7 meson,
8 ninja,
9 nix-update-script,
10}:
11
12stdenv.mkDerivation (finalAttrs: {
13 pname = "budgie-backgrounds";
14 version = "3.0";
15
16 src = fetchFromGitHub {
17 owner = "BuddiesOfBudgie";
18 repo = "budgie-backgrounds";
19 rev = "v${finalAttrs.version}";
20 hash = "sha256-2E6+WDLIAwqiiPMJw+tLDCT3CnpboH4X0cB87zw/hBQ=";
21 };
22
23 nativeBuildInputs = [
24 imagemagick
25 jhead
26 meson
27 ninja
28 ];
29
30 passthru = {
31 updateScript = nix-update-script { };
32 };
33
34 meta = {
35 description = "Default background set for the Budgie Desktop";
36 homepage = "https://github.com/BuddiesOfBudgie/budgie-backgrounds";
37 changelog = "https://github.com/BuddiesOfBudgie/budgie-backgrounds/releases/tag/v${finalAttrs.version}";
38 license = lib.licenses.cc0;
39 teams = [ lib.teams.budgie ];
40 platforms = lib.platforms.linux;
41 };
42})