diff --git a/pkgs/default.nix b/pkgs/default.nix index 08ab7a4..f32a792 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -10,4 +10,5 @@ parinfer-rust = pkgs.callPackage ./parinfer-rust { }; swww = pkgs.callPackage ./swww { }; vim-fmi-cli = pkgs.callPackage ./vim-fmi-cli { }; + win2xcur = pkgs.callPackage ./win2xcur { }; } diff --git a/pkgs/win2xcur/default.nix b/pkgs/win2xcur/default.nix new file mode 100644 index 0000000..74d9199 --- /dev/null +++ b/pkgs/win2xcur/default.nix @@ -0,0 +1,22 @@ +{ lib, python3Packages, fetchPypi }: + +python3Packages.buildPythonPackage rec { + pname = "win2xcur"; + version = "0.1.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-B8srOXQBUxK6dZ6GhDA5fYvxUBxHVcrSO/z+UWyF+qI="; + }; + + propagatedBuildInputs = with python3Packages; [ + numpy + wand + ]; + + meta = with lib; { + description = "win2xcur is a tool that converts cursors from Windows format (*.cur, *.ani) to Xcursor format. It also contains x2wincur which does the opposite."; + homepage = "https://github.com/quantum5/win2xcur"; + maintainers = with maintainers; [ reo101 ]; + }; +}