python3Packages.accuweather: 0.1.1 -> 0.2.0
This commit is contained in:
parent
77523d2c66
commit
7c76b37743
|
@ -11,20 +11,20 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "accuweather";
|
pname = "accuweather";
|
||||||
version = "0.1.1";
|
version = "0.2.0";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bieniu";
|
owner = "bieniu";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-fjOwa13hxY8/gCM6TCAFWVmEY1oZyqKyc6o3OSsxHpY=";
|
sha256 = "sha256-Swe8vegRcyaeG4n/8aeGFLrXkwcLM/Al53yD6oD/0GA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "pytest-runner" ""
|
--replace "pytest-runner" ""
|
||||||
substituteInPlace pytest.ini \
|
substituteInPlace setup.cfg \
|
||||||
--replace "--cov --cov-report term-missing" ""
|
--replace "--cov --cov-report term-missing" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue