e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
39 lines
794 B
Nix
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 ];
|
|
};
|
|
}
|