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