nixpkgs-suyu/pkgs/development/python-modules/pytweening/default.nix
lucasew 0af9db3847 pytweening: init at 1.0.4
Signed-off-by: lucasew <lucas59356@gmail.com>
2021-12-05 15:53:35 -03:00

25 lines
582 B
Nix

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