1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 flit-core, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "affine"; 12 version = "2.4.0"; 13 14 disabled = pythonOlder "3.7"; 15 16 format = "pyproject"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-ok2BjWqDbBMZdtIvjCe408oy0K9kwdjSnet7r6TaHuo="; 21 }; 22 23 nativeBuildInputs = [ flit-core ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = with lib; { 28 changelog = "https://github.com/rasterio/affine/blob/${version}/CHANGES.txt"; 29 description = "Matrices describing affine transformation of the plane"; 30 license = licenses.bsd3; 31 homepage = "https://github.com/rasterio/affine"; 32 maintainers = with maintainers; [ ]; 33 }; 34}