depot/third_party/nixpkgs/pkgs/by-name/ma/material-cursors/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

43 lines
869 B
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
inkscape,
xcursorgen,
}:
stdenvNoCC.mkDerivation {
pname = "material-cursors";
version = "unstable-2023-11-30";
src = fetchFromGitHub {
owner = "varlesh";
repo = "material-cursors";
rev = "2a5f302fefe04678c421473bed636b4d87774b4a";
hash = "sha256-uC2qx3jF4d2tGLPnXEpogm0vyC053MvDVVdVXX8AZ60=";
};
nativeBuildInputs = [
inkscape
xcursorgen
];
buildPhase = ''
runHook preBuild
# Silences the inkscape warning spam.
HOME=$(pwd) bash build.sh 2> /dev/null
runHook postBuild
'';
installFlags = [ "PREFIX=$(out)" ];
meta = {
description = "Material cursors for Linux";
homepage = "https://github.com/varlesh/material-cursors";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ];
};
}