depot/third_party/nixpkgs/pkgs/development/python-modules/affine/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

22 lines
536 B
Nix

{ buildPythonPackage, pytest, lib, fetchPypi }:
buildPythonPackage rec {
pname = "affine";
version = "2.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1nbeZhV61q+Z/9lOD1Tonfw1sPtyUurS7QrS3KQxvdA=";
};
nativeCheckInputs = [ 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 ];
};
}