2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage, pytest, lib, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "affine";
|
2023-03-15 16:39:30 +00:00
|
|
|
version = "2.4.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-ok2BjWqDbBMZdtIvjCe408oy0K9kwdjSnet7r6TaHuo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytest ];
|
2020-04-24 23:36:52 +00:00
|
|
|
checkPhase = "py.test";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Matrices describing affine transformation of the plane";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = "https://github.com/sgillies/affine";
|
|
|
|
maintainers = with maintainers; [ mredaelli ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|