Skip to content

Commit

Permalink
Merge pull request #111847 from das-g/osmpythontools
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Feb 4, 2021
2 parents d79a658 + d92e046 commit fa6a0a0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
17 changes: 10 additions & 7 deletions pkgs/development/python-modules/osmpythontools/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, beautifulsoup4
, geojson
, lxml
Expand All @@ -13,14 +13,17 @@

buildPythonPackage rec {
pname = "osmpythontools";
version = "0.2.8";
version = "0.2.9";

src = fetchPypi {
pname = "OSMPythonTools";
inherit version;
sha256 = "8a33adbd266127e342d12da755075fae08f398032a6f0909b5e86bef13960a85";
src = fetchFromGitHub {
owner = "mocnik-science";
repo = "osm-python-tools";
rev = "v${version}";
sha256 = "1qpj03fgn8rmrg9a9vk7bw32k9hdy15g5p2q3a6q52ykpb78jdz5";
};

patches = [ ./remove-test-only-dependencies.patch ];

propagatedBuildInputs = [
beautifulsoup4
geojson
Expand All @@ -32,7 +35,7 @@ buildPythonPackage rec {
xarray
];

# no tests included
# tests touch network
doCheck = false;

pythonImportsCheck = [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index 801d081..6d93128 100644
--- a/setup.py
+++ b/setup.py
@@ -19,8 +19,6 @@ setup(
'matplotlib',
'numpy',
'pandas',
- 'pytest',
- 'pytest-sugar',
'ujson',
'xarray',
],

0 comments on commit fa6a0a0

Please sign in to comment.