depot/third_party/nixpkgs/pkgs/development/python-modules/geojson/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

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 ];
};
}