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 { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, pytestCheckHook
, requests , requests
, requests-mock
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "swisshydrodata"; pname = "swisshydrodata";
version = "0.0.3"; version = "0.1.0";
src = fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "Bouni";
sha256 = "1adpy6k2bknffzl5rckqpvaqyrvc00d6a4a4541438dqasx61npl"; 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" ]; pythonImportsCheck = [ "swisshydrodata" ];
meta = with lib; { meta = with lib; {