Merge pull request #119321 from fabaff/bump-swisshydrodata
This commit is contained in:
commit
edd5e61d65
1 changed files with 17 additions and 8 deletions
|
@ -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; {
|
||||||
|
|
Loading…
Reference in a new issue