2018-11-25 10:12:22 +01:00
|
|
|
{ buildPythonPackage, pytest, lib, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "affine";
|
2018-12-25 08:06:43 +01:00
|
|
|
version = "2.2.2";
|
2018-11-25 10:12:22 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-25 08:06:43 +01:00
|
|
|
sha256 = "146slzpj2b220dmbmrxib030wymvplawxzn7gcgnbahgm500y3gz";
|
2018-11-25 10:12:22 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|