diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index aa59b96b4a7b..fd83eb5dafa7 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -15335,6 +15335,15 @@ githubId = 44014925; name = "Rexx Larsson"; }; + RGBCube = { + name = "RGBCube"; + email = "rgbsphere+nixpkgs@gmail.com"; + github = "RGBCube"; + githubId = 78925721; + keys = [{ + fingerprint = "jPaU3Vpm/GN0tUuDg72n2+bd9dDMWe4bnKM325eP7eI"; + }]; + }; rgnns = { email = "jglievano@gmail.com"; github = "rgnns"; diff --git a/pkgs/by-name/ma/material-cursors/package.nix b/pkgs/by-name/ma/material-cursors/package.nix new file mode 100644 index 000000000000..d3d7c63672cc --- /dev/null +++ b/pkgs/by-name/ma/material-cursors/package.nix @@ -0,0 +1,42 @@ +{ 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; [ RGBCube ]; + }; +}