seafile-server: fix cross build (#376982)
[NixPkgs.git] / pkgs / data / misc / fedora-backgrounds / default.nix
blobca569e3eb16b43c218f3415416ffb2672cd5ffd1
2   callPackage,
3   lib,
4   fetchurl,
5 }:
7 let
8   fedoraBackground = callPackage ./generic.nix { };
9 in
11   f32 = fedoraBackground rec {
12     version = "32.2.2";
13     src = fetchurl {
14       url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
15       hash = "sha256-1F75aae7Jj7M2IPn/vWKcUF+O5mZ0Yey7hWuFj/4Fhg=";
16     };
17   };
19   f33 = fedoraBackground rec {
20     version = "33.0.7";
21     src = fetchurl {
22       url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
23       hash = "sha256-lAn5diEYebCo2ZJCOn9rD87rOasUU0qnSOr0EnZKW4o=";
24     };
25     # Fix broken symlinks in the Xfce background directory.
26     patches = [ ./f33-fix-xfce-path.patch ];
27   };
29   f34 = fedoraBackground rec {
30     version = "34.0.1";
31     src = fetchurl {
32       url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
33       hash = "sha256-0gotgQ4N0yE8WZbsu7B3jmUIZrycbqjEMxZl01JcJj4=";
34     };
35     # Fix broken symlinks in the Xfce background directory.
36     patches = [ ./f34-fix-xfce-path.patch ];
37   };
39   f35 = fedoraBackground rec {
40     version = "35.0.1";
41     src = fetchurl {
42       url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
43       hash = "sha256-7t78sQ0BIkzgJ+phO55Bomyz02d8Vx1LAtSkjX8ppgE=";
44     };
45     # Fix broken symlinks in the Xfce background directory.
46     patches = [ ./f35-fix-xfce-path.patch ];
47   };
49   f36 = fedoraBackground rec {
50     version = "36.1.2";
51     src = fetchurl {
52       url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
53       hash = "sha256-DZr1YHltojl02X/3sErqB/29JBDy/7lDZKnHD+KouHc=";
54     };
55   };
57   f37 = fedoraBackground rec {
58     version = "37.0.5";
59     src = fetchurl {
60       url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
61       hash = "sha256-bkjxJDDU0dZURKIK1sd+EOnPt9vvJ5HqHkc6OhPBBn0=";
62     };
63   };
65   f38 = fedoraBackground rec {
66     version = "38.1.1";
67     src = fetchurl {
68       url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
69       hash = "sha256-YSNP7GhS5i5mJDsa4UwsXJm8Tv43r9JxrcYIbkXQKm4=";
70     };
71   };