2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage, pytest, lib, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "affine";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "2.3.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-1nbeZhV61q+Z/9lOD1Tonfw1sPtyUurS7QrS3KQxvdA=";
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|