diff --git a/pkgs/development/python-modules/pytweening/default.nix b/pkgs/development/python-modules/pytweening/default.nix new file mode 100644 index 000000000000..d0ba9803063b --- /dev/null +++ b/pkgs/development/python-modules/pytweening/default.nix @@ -0,0 +1,25 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: +buildPythonPackage rec { + pname = "pytweening"; + version = "1.0.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-hTMoLPcLMd6KBJnhz0IJMLABPHhxGIcrLsiZOCeS4uY="; + }; + + pythonImportsCheck = [ "pytweening" ]; + checkPhase = '' + python -m unittest tests.basicTests + ''; + + meta = with lib; { + description = "Set of tweening / easing functions implemented in Python"; + homepage = "https://github.com/asweigart/pytweening"; + license = licenses.bsd3; + maintainers = with maintainers; [ lucasew ]; + }; +}