depot/third_party/nixpkgs/pkgs/development/python-modules/geojson/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

34 lines
782 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "geojson";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jazzband";
repo = "geojson";
rev = "refs/tags/${version}";
hash = "sha256-OL+7ntgzpA63ALQ8whhKRePsKxcp81PLuU1bHJvxN9U=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "geojson" ];
nativeCheckInputs = [ unittestCheckHook ];
meta = {
homepage = "https://github.com/jazzband/geojson";
changelog = "https://github.com/jazzband/geojson/blob/${version}/CHANGELOG.rst";
description = "Python bindings and utilities for GeoJSON";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ oxzi ];
};
}