nixpkgs/pkgs/development/python-modules/affine/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
745 B
Nix
Raw Normal View History

2023-03-17 18:52:51 +00:00
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flit-core
, pytestCheckHook
}:
2018-11-25 09:12:22 +00:00
buildPythonPackage rec {
pname = "affine";
2023-02-27 01:14:04 +00:00
version = "2.4.0";
2018-11-25 09:12:22 +00:00
2023-03-17 18:52:51 +00:00
disabled = pythonOlder "3.7";
format = "pyproject";
2018-11-25 09:12:22 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-ok2BjWqDbBMZdtIvjCe408oy0K9kwdjSnet7r6TaHuo=";
2018-11-25 09:12:22 +00:00
};
2023-03-17 18:52:51 +00:00
nativeBuildInputs = [
flit-core
];
nativeCheckInputs = [
pytestCheckHook
];
2018-11-25 09:12:22 +00:00
meta = with lib; {
2023-03-17 18:52:51 +00:00
changelog = "https://github.com/rasterio/affine/blob/${version}/CHANGES.txt";
2018-11-25 09:12:22 +00:00
description = "Matrices describing affine transformation of the plane";
license = licenses.bsd3;
2023-03-17 18:52:51 +00:00
homepage = "https://github.com/rasterio/affine";
2018-11-25 09:12:22 +00:00
maintainers = with maintainers; [ mredaelli ];
};
}