nixpkgs/pkgs/development/python-modules/geojson/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
756 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, glibcLocales
, unittestCheckHook
}:
2018-05-19 08:43:54 +00:00
buildPythonPackage rec {
pname = "geojson";
version = "3.0.1";
format = "setuptools";
2018-07-12 07:13:12 +00:00
src = fetchFromGitHub {
owner = "jazzband";
repo = "geojson";
rev = "refs/tags/${version}";
hash = "sha256-VlP/odzRH6Eg0BMZPBQkbHL/O2cIwWTKJcL5SfZoUWQ=";
2018-05-19 08:43:54 +00:00
};
pythonImportsCheck = [
"geojson"
];
nativeCheckInputs = [
unittestCheckHook
];
2018-05-19 08:43:54 +00:00
meta = {
homepage = "https://github.com/jazzband/geojson";
changelog = "https://github.com/jazzband/geojson/blob/${version}/CHANGELOG.rst";
2018-05-19 08:43:54 +00:00
description = "Python bindings and utilities for GeoJSON";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ oxzi ];
2018-05-19 08:43:54 +00:00
};
}