mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
Merge pull request #283228 from GetPsyched/pokemon-cursor
pokemon-cursor: init at 2.0.0
This commit is contained in:
commit
a77f1016f3
50
pkgs/by-name/po/pokemon-cursor/package.nix
Normal file
50
pkgs/by-name/po/pokemon-cursor/package.nix
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{ fetchFromGitHub
|
||||||
|
, lib
|
||||||
|
, stdenvNoCC
|
||||||
|
|
||||||
|
, # build deps
|
||||||
|
clickgen
|
||||||
|
, python3Packages
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "pokemon-cursor";
|
||||||
|
version = "2.0.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ful1e5";
|
||||||
|
repo = "pokemon-cursor";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
sha256 = "sha256-EL6Ztbzjm1YuQP+8ZbrhbuBXn+GFiJGG0iGNWzU/rBY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
clickgen
|
||||||
|
python3Packages.attrs
|
||||||
|
];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
|
ctgen build.toml -p x11 -o $out
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/share/icons
|
||||||
|
mv $out/Pokemon $out/share/icons
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "An unofficial open-source Pokemon cursor theme";
|
||||||
|
homepage = "https://github.com/ful1e5/pokemon-cursor";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
maintainers = [ maintainers.getpsyched ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user