83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
35 lines
756 B
Nix
35 lines
756 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, glibcLocales
|
|
, unittestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "geojson";
|
|
version = "3.0.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jazzband";
|
|
repo = "geojson";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-VlP/odzRH6Eg0BMZPBQkbHL/O2cIwWTKJcL5SfZoUWQ=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|