depot/third_party/nixpkgs/pkgs/development/python-modules/pytweening/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

27 lines
610 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "pytweening";
version = "1.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-JDMYt3NmmAZsXzYuxcK2Q07PQpfDyOfKqKv+avTKxxs=";
};
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 ];
};
}