Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
1.5 KiB
Nix
52 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "cosmic-wallpapers";
|
|
version = "1.0.0-beta.1.1";
|
|
|
|
# nixpkgs-update: no auto update
|
|
src = fetchFromGitHub {
|
|
owner = "pop-os";
|
|
repo = "cosmic-wallpapers";
|
|
tag = "epoch-${finalAttrs.version}";
|
|
forceFetchGit = true;
|
|
fetchLFS = true;
|
|
hash = "sha256-XtNmV6fxKFlirXQvxxgAYSQveQs8RCTfcFd8SVdEXtE=";
|
|
};
|
|
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
|
|
|
passthru.updateScript = nix-update-script {
|
|
extraArgs = [
|
|
"--version"
|
|
"unstable"
|
|
"--version-regex"
|
|
"epoch-(.*)"
|
|
];
|
|
};
|
|
|
|
meta = {
|
|
description = "Wallpapers for the COSMIC Desktop Environment";
|
|
homepage = "https://system76.com/cosmic";
|
|
license = with lib.licenses; [
|
|
# A_stormy_stellar_nursery_esa_379309.jpg: https://www.esa.int/ESA_Multimedia/Images/2017/06/A_stormy_stellar_nursery
|
|
# webb-inspired-wallpaper-system76.jpg
|
|
cc-by-40
|
|
|
|
# otherworldly_earth_nasa_ISS064-E-29444.jpg: https://earthobservatory.nasa.gov/image-use-policy
|
|
# phytoplankton_bloom_nasa_oli2_20240121.jpg: https://earthobservatory.nasa.gov/image-use-policy
|
|
# orion_nebula_nasa_heic0601a.jpg: https://hubblesite.org/copyright
|
|
# tarantula_nebula_nasa_PIA23646.jpg: https://webbtelescope.org/copyright
|
|
# round_moons_nasa.jpg: https://www.planetary.org/space-images/the-solar-systems-round-moons
|
|
publicDomain
|
|
];
|
|
teams = [ lib.teams.cosmic ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|