3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/misc/fedora-backgrounds/default.nix

35 lines
1.2 KiB
Nix
Raw Normal View History

2020-11-12 16:43:08 +00:00
{ callPackage, lib, fetchurl }:
let
fedoraBackground = callPackage ./generic.nix { };
in {
f32 = fedoraBackground rec {
version = "32.2.2";
src = fetchurl {
url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
hash = "sha256-1F75aae7Jj7M2IPn/vWKcUF+O5mZ0Yey7hWuFj/4Fhg=";
};
};
f33 = fedoraBackground rec {
version = "33.0.7";
src = fetchurl {
url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
hash = "sha256-lAn5diEYebCo2ZJCOn9rD87rOasUU0qnSOr0EnZKW4o=";
};
# Fix broken symlinks in the Xfce background directory.
patches = [ ./f33-fix-xfce-path.patch ];
};
2021-05-06 18:32:51 +01:00
f34 = fedoraBackground rec {
version = "34.0.1";
src = fetchurl {
url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz";
hash = "sha256-0gotgQ4N0yE8WZbsu7B3jmUIZrycbqjEMxZl01JcJj4=";
};
# Fix broken symlinks in the Xfce background directory.
patches = [ ./f34-fix-xfce-path.patch ];
};
2020-11-12 16:43:08 +00:00
}