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
57 lines
1.4 KiB
Nix
57 lines
1.4 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
glib,
|
|
nixos-artwork,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "mint-artwork";
|
|
version = "1.9.2";
|
|
|
|
src = fetchurl {
|
|
urls = [
|
|
"http://packages.linuxmint.com/pool/main/m/mint-artwork/mint-artwork_${version}.tar.xz"
|
|
"https://web.archive.org/web/20250807131013/http://packages.linuxmint.com/pool/main/m/mint-artwork/mint-artwork_${version}.tar.xz"
|
|
];
|
|
hash = "sha256-zmVpy7T1AyVE5nwD0aZ//9kIFK2IYjl3rSq+9bcHPDE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
glib
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir $out
|
|
|
|
# note: we fuck up a bunch of stuff but idc
|
|
find . -type f -exec sed -i \
|
|
-e s,/usr/share/backgrounds/linuxmint/default_background.jpg,${nixos-artwork.wallpapers.simple-dark-gray}/share/artwork/gnome/nix-wallpaper-simple-dark-gray.png,g \
|
|
-e s,/usr/share,$out/share,g \
|
|
-e s,linuxmint-logo-ring-symbolic,cinnamon-symbolic,g \
|
|
{} +
|
|
|
|
# fixup broken symlink
|
|
ln -sf ./sele_ring.jpg usr/share/backgrounds/linuxmint/default_background.jpg
|
|
|
|
mv etc $out/etc
|
|
mv usr/share $out/share
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/linuxmint/mint-artwork";
|
|
description = "Artwork for the cinnamon desktop";
|
|
license = with licenses; [
|
|
gpl3Plus
|
|
cc-by-40
|
|
]; # from debian/copyright
|
|
platforms = platforms.linux;
|
|
teams = [ teams.cinnamon ];
|
|
};
|
|
}
|