nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 654 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 flit-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "affine"; 11 version = "2.4.0"; 12 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-ok2BjWqDbBMZdtIvjCe408oy0K9kwdjSnet7r6TaHuo="; 18 }; 19 20 nativeBuildInputs = [ flit-core ]; 21 22 nativeCheckInputs = [ pytestCheckHook ]; 23 24 meta = { 25 changelog = "https://github.com/rasterio/affine/blob/${version}/CHANGES.txt"; 26 description = "Matrices describing affine transformation of the plane"; 27 license = lib.licenses.bsd3; 28 homepage = "https://github.com/rasterio/affine"; 29 maintainers = [ ]; 30 }; 31}