depot/third_party/nixpkgs/pkgs/development/python-modules/geojson/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

39 lines
794 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 ];
};
}