feat(win2xcur): add package

This commit is contained in:
reo101 2023-05-26 21:16:52 +03:00
parent 5056fb39f1
commit a73fa42d6d
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
2 changed files with 23 additions and 0 deletions

View file

@ -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 { };
}

22
pkgs/win2xcur/default.nix Normal file
View file

@ -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 ];
};
}