1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6buildPythonPackage rec {
7 pname = "pytweening";
8 version = "1.2.0";
9 format = "setuptools";
10
11 src = fetchPypi {
12 inherit pname version;
13 hash = "sha256-JDMYt3NmmAZsXzYuxcK2Q07PQpfDyOfKqKv+avTKxxs=";
14 };
15
16 pythonImportsCheck = [ "pytweening" ];
17 checkPhase = ''
18 python -m unittest tests.basicTests
19 '';
20
21 meta = with lib; {
22 description = "Set of tweening / easing functions implemented in Python";
23 homepage = "https://github.com/asweigart/pytweening";
24 license = licenses.bsd3;
25 maintainers = with maintainers; [ lucasew ];
26 };
27}