mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
0215034f25
when they already rely on SRI hashes.
26 lines
580 B
Nix
26 lines
580 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "pytweening";
|
|
version = "1.0.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "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 ];
|
|
};
|
|
}
|