python3.pkgs.osmpythontools: fetch src from GitHub instead of from PyPI

This commit is contained in:
Raphael Borun Das Gupta 2021-02-04 00:27:02 +01:00
parent f96a96c462
commit 571d144d32

View File

@ -1,6 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, beautifulsoup4 , beautifulsoup4
, geojson , geojson
, lxml , lxml
@ -15,10 +15,11 @@ buildPythonPackage rec {
pname = "osmpythontools"; pname = "osmpythontools";
version = "0.2.8"; version = "0.2.8";
src = fetchPypi { src = fetchFromGitHub {
pname = "OSMPythonTools"; owner = "mocnik-science";
inherit version; repo = "osm-python-tools";
sha256 = "8a33adbd266127e342d12da755075fae08f398032a6f0909b5e86bef13960a85"; rev = "v${version}";
sha256 = "1hkc18zcw1fqx8zk3z18xpas87vkcpgsch5cavqda4aihl51vmy2";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [