From 2db356feb5f9fb1705cb123cc97d2e7b78b388d1 Mon Sep 17 00:00:00 2001 From: geistesk Date: Sat, 19 May 2018 10:43:54 +0200 Subject: [PATCH] pythonPackages.geojson: init at 2.3.0 --- .../python-modules/geojson/default.nix | 21 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/python-modules/geojson/default.nix diff --git a/pkgs/development/python-modules/geojson/default.nix b/pkgs/development/python-modules/geojson/default.nix new file mode 100644 index 000000000000..902d1b266534 --- /dev/null +++ b/pkgs/development/python-modules/geojson/default.nix @@ -0,0 +1,21 @@ +{ lib, buildPythonPackage, fetchPypi, glibcLocales }: + +buildPythonPackage rec { + pname = "geojson"; + version = "2.3.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "06ihcb8839zzgk5jcv18kc6nqld4hhj3nk4f3drzcr8n8893v1y8"; + }; + + LC_ALL = "en_US.UTF-8"; + checkInputs = [ glibcLocales ]; + + meta = { + homepage = https://github.com/frewsxcv/python-geojson; + description = "Python bindings and utilities for GeoJSON"; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ geistesk ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 998aac285c42..3be39ded656e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5981,6 +5981,8 @@ in { geopandas = callPackage ../development/python-modules/geopandas { }; + geojson = callPackage ../development/python-modules/geojson { }; + gevent-websocket = buildPythonPackage rec { name = "gevent-websocket-0.9.3";