1{ buildPythonPackage, pytest, lib, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "affine"; 5 version = "2.3.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "sha256-1nbeZhV61q+Z/9lOD1Tonfw1sPtyUurS7QrS3KQxvdA="; 10 }; 11 12 checkInputs = [ pytest ]; 13 checkPhase = "py.test"; 14 15 meta = with lib; { 16 description = "Matrices describing affine transformation of the plane"; 17 license = licenses.bsd3; 18 homepage = "https://github.com/sgillies/affine"; 19 maintainers = with maintainers; [ mredaelli ]; 20 }; 21 22}