28 lines
693 B
Nix
28 lines
693 B
Nix
# ABOUTME: Nix build recipe for the Sweet cursor theme.
|
|
# ABOUTME: Counterpart to moonarch-pkgbuilds/sweet-cursors-git/PKGBUILD.
|
|
|
|
{ lib, stdenvNoCC, src, version }:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "sweet-cursors";
|
|
inherit version src;
|
|
|
|
dontBuild = true;
|
|
dontConfigure = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -dm755 "$out/share/icons"
|
|
cp -r . "$out/share/icons/Sweet-cursors"
|
|
rm -rf "$out/share/icons/Sweet-cursors/.git"
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
description = "Sweet cursor theme";
|
|
homepage = "https://gitea.moonarch.de/nevaforget/Sweet-cursors";
|
|
license = lib.licenses.gpl3Only;
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|