mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
apple-cursor: 2.0.0 -> 2.0.1 (#336881)
This commit is contained in:
commit
508dd6fa85
@ -5643,6 +5643,12 @@
|
|||||||
githubId = 6689924;
|
githubId = 6689924;
|
||||||
name = "David Terry";
|
name = "David Terry";
|
||||||
};
|
};
|
||||||
|
dxwil = {
|
||||||
|
email = "dovydas@kersys.lt";
|
||||||
|
github = "dxwil";
|
||||||
|
githubId = 90563298;
|
||||||
|
name = "Dovydas Kersys";
|
||||||
|
};
|
||||||
dylan-gonzalez = {
|
dylan-gonzalez = {
|
||||||
email = "dylcg10@gmail.com";
|
email = "dylcg10@gmail.com";
|
||||||
github = "dylan-gonzalez";
|
github = "dylan-gonzalez";
|
||||||
|
@ -8,19 +8,12 @@ let
|
|||||||
name = variant;
|
name = variant;
|
||||||
url = "https://github.com/ful1e5/apple_cursor/releases/download/v${version}/${variant}.${suffix}";
|
url = "https://github.com/ful1e5/apple_cursor/releases/download/v${version}/${variant}.${suffix}";
|
||||||
hash = hash;
|
hash = hash;
|
||||||
} // (lib.optionalAttrs (suffix == "zip") { stripRoot = false; }));
|
} // (lib.optionalAttrs (suffix == "zip") { stripRoot = false; }) // (lib.optionalAttrs (suffix == "tar.xz") { stripRoot = false; }));
|
||||||
|
|
||||||
version = "2.0.0";
|
|
||||||
srcs = [
|
srcs = [
|
||||||
(_src "macOS-BigSur-White" "tar.gz" "sha256-3Ax2hMfkEL4cyJtGQpK3PqC/L5wtmgO0LsY4gkTQ2Bg=")
|
(_src "macOS" "tar.xz" "sha256-nS4g+VwM+4q/S1ODb3ySi2SBk7Ha8vF8d9XpP5cEkok=")
|
||||||
(_src "macOS-BigSur-White-Windows" "zip" "sha256-V6J2Ddgq46BkgxCWVReZrvE7CsOczzV7slOpilKFG9E=")
|
|
||||||
(_src "macOS-BigSur" "tar.gz" "sha256-VZWFf1AHum2xDJPMZrBmcyVrrmYGKwCdXOPATw7myOA=")
|
|
||||||
(_src "macOS-BigSur-Windows" "zip" "sha256-lp28ACsK8BXe6rSDELL4GdXb1QEdOVC8Y6eLofctkR4=")
|
|
||||||
(_src "macOS-Monterey-White" "tar.gz" "sha256-IfFYUbDW6mBe209iU1sBhFzolZd6YDVdJf+DPe9AQDM=")
|
|
||||||
(_src "macOS-Monterey-White-Windows" "zip" "sha256-gUuBFOi0nDBoX9TWPg4eQhCAhwYeEhfDEbYpc+XsQNE=")
|
|
||||||
(_src "macOS-Monterey" "tar.gz" "sha256-MHmaZs56Q1NbjkecvfcG1zAW85BCZDn5kXmxqVzPc7M=")
|
|
||||||
(_src "macOS-Monterey-Windows" "zip" "sha256-ajxEgq7besaRajLn0gTPpp4euOWVqbzc78u720PWlyE=")
|
|
||||||
];
|
];
|
||||||
|
version = "2.0.1";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "apple_cursor";
|
pname = "apple_cursor";
|
||||||
inherit version;
|
inherit version;
|
||||||
@ -30,14 +23,19 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -dm 0755 $out/share/icons
|
install -dm 0755 $out/share/icons
|
||||||
cp -r macOS* $out/share/icons/
|
cp -r macOS/macOS* $out/share/icons/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Opensource macOS Cursors";
|
description = "Opensource macOS Cursors";
|
||||||
homepage = "https://github.com/ful1e5/apple_cursor";
|
homepage = "https://github.com/ful1e5/apple_cursor";
|
||||||
license = licenses.gpl3;
|
license = [
|
||||||
|
licenses.gpl3Only
|
||||||
|
|
||||||
|
# Potentially a derivative work of copyrighted Apple designs
|
||||||
|
licenses.unfree
|
||||||
|
];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ colemickens ];
|
maintainers = with maintainers; [ colemickens dxwil ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user