1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, glibcLocales
5, unittestCheckHook
6 }:
7
8buildPythonPackage rec {
9 pname = "geojson";
10 version = "3.0.1";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "jazzband";
15 repo = "geojson";
16 rev = "refs/tags/${version}";
17 hash = "sha256-VlP/odzRH6Eg0BMZPBQkbHL/O2cIwWTKJcL5SfZoUWQ=";
18 };
19
20 pythonImportsCheck = [
21 "geojson"
22 ];
23
24 nativeCheckInputs = [
25 unittestCheckHook
26 ];
27
28 meta = {
29 homepage = "https://github.com/jazzband/geojson";
30 changelog = "https://github.com/jazzband/geojson/blob/${version}/CHANGELOG.rst";
31 description = "Python bindings and utilities for GeoJSON";
32 license = lib.licenses.bsd3;
33 maintainers = with lib.maintainers; [ oxzi ];
34 };
35}