1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5buildPythonPackage rec { 6 pname = "pytweening"; 7 version = "1.0.4"; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "sha256-hTMoLPcLMd6KBJnhz0IJMLABPHhxGIcrLsiZOCeS4uY="; 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}