Merge pull request #119321 from fabaff/bump-swisshydrodata

This commit is contained in:
Sandro 2021-04-13 14:22:05 +02:00 committed by GitHub
commit edd5e61d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytestCheckHook
, requests
, requests-mock
}:
buildPythonPackage rec {
pname = "swisshydrodata";
version = "0.0.3";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1adpy6k2bknffzl5rckqpvaqyrvc00d6a4a4541438dqasx61npl";
src = fetchFromGitHub {
owner = "Bouni";
repo = pname;
rev = version;
sha256 = "1rdgfc6zg5j3fvrpbqs9vc3n5m66r5yljawyl7nmrqd5lwq1lqak";
};
propagatedBuildInputs = [ requests ];
propagatedBuildInputs = [
requests
];
checkInputs = [
pytestCheckHook
requests-mock
];
# Tests are not releases at the moment
doCheck = false;
pythonImportsCheck = [ "swisshydrodata" ];
meta = with lib; {