lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fedora-backgrounds.f33: init at 33.0.7

authored by danieldk.tngl.sh and committed by

Peter Hoeg a0bbcb76 7c8451d5

+82
+23
pkgs/data/misc/fedora-backgrounds/default.nix
··· 1 + { callPackage, lib, fetchurl }: 2 + 3 + let 4 + fedoraBackground = callPackage ./generic.nix { }; 5 + in { 6 + f32 = fedoraBackground rec { 7 + version = "32.2.2"; 8 + src = fetchurl { 9 + url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz"; 10 + hash = "sha256-1F75aae7Jj7M2IPn/vWKcUF+O5mZ0Yey7hWuFj/4Fhg="; 11 + }; 12 + }; 13 + 14 + f33 = fedoraBackground rec { 15 + version = "33.0.7"; 16 + src = fetchurl { 17 + url = "https://github.com/fedoradesign/backgrounds/releases/download/v${version}/f${lib.versions.major version}-backgrounds-${version}.tar.xz"; 18 + hash = "sha256-lAn5diEYebCo2ZJCOn9rD87rOasUU0qnSOr0EnZKW4o="; 19 + }; 20 + # Fix broken symlinks in the Xfce background directory. 21 + patches = [ ./f33-fix-xfce-path.patch ]; 22 + }; 23 + }
+15
pkgs/data/misc/fedora-backgrounds/f33-fix-xfce-path.patch
··· 1 + diff --git a/default/Makefile b/default/Makefile 2 + index ec8095a..9391f8f 100644 3 + --- a/default/Makefile 4 + +++ b/default/Makefile 5 + @@ -48,8 +48,8 @@ install: 6 + 7 + #~ XFCE background 8 + $(MKDIR) $(XFCE_BG_DIR) 9 + - $(LN_S) ../default/$(WP_NAME)-02-day.png \ 10 + + $(LN_S) ../../backgrounds/$(WP_NAME)/default/$(WP_NAME)-02-day.png \ 11 + $(XFCE_BG_DIR)/$(WP_NAME).png 12 + for tod in 01-dawn 03-dusk 04-night; do \ 13 + - $(LN_S) ../default/$(WP_NAME)-$${tod}.png $(XFCE_BG_DIR)/$(WP_NAME)-$${tod}.png; \ 14 + + $(LN_S) ../../backgrounds/$(WP_NAME)/default/$(WP_NAME)-$${tod}.png $(XFCE_BG_DIR)/$(WP_NAME)-$${tod}.png; \ 15 + done;
+42
pkgs/data/misc/fedora-backgrounds/generic.nix
··· 1 + { stdenv 2 + , coreutils 3 + }: 4 + 5 + { version 6 + , src 7 + , patches ? [ ] 8 + }: 9 + 10 + stdenv.mkDerivation { 11 + inherit patches src version; 12 + 13 + pname = "fedora${stdenv.lib.versions.major version}-backgrounds"; 14 + 15 + dontBuild = true; 16 + 17 + postPatch = '' 18 + for f in default/Makefile extras/Makefile; do 19 + substituteInPlace $f \ 20 + --replace "usr/share" "share" \ 21 + --replace "/usr/bin/" "" \ 22 + --replace "/bin/" "" 23 + done 24 + 25 + for f in $(find . -name '*.xml'); do 26 + substituteInPlace $f \ 27 + --replace "/usr/share" "$out/share" 28 + done; 29 + ''; 30 + 31 + installFlags = [ 32 + "DESTDIR=$(out)" 33 + ]; 34 + 35 + meta = with stdenv.lib; { 36 + homepage = "https://github.com/fedoradesign/backgrounds"; 37 + description = "A set of default and supplemental wallpapers for Fedora"; 38 + license = licenses.cc-by-sa-40; 39 + platforms = platforms.unix; 40 + maintainers = with maintainers; [ danieldk ]; 41 + }; 42 + }
+2
pkgs/top-level/all-packages.nix
··· 1056 1056 1057 1057 container-linux-config-transpiler = callPackage ../development/tools/container-linux-config-transpiler { }; 1058 1058 1059 + fedora-backgrounds = callPackage ../data/misc/fedora-backgrounds { }; 1060 + 1059 1061 fedora-coreos-config-transpiler = callPackage ../development/tools/fedora-coreos-config-transpiler { }; 1060 1062 1061 1063 ccextractor = callPackage ../applications/video/ccextractor { };