mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
python312Packages.swisshydrodata: 0.1.0 -> 0.2.1 (#349413)
This commit is contained in:
commit
88151821e4
@ -3,23 +3,29 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
requests,
|
||||
pythonOlder,
|
||||
requests-mock,
|
||||
requests,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "swisshydrodata";
|
||||
version = "0.1.0";
|
||||
format = "setuptools";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bouni";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1rdgfc6zg5j3fvrpbqs9vc3n5m66r5yljawyl7nmrqd5lwq1lqak";
|
||||
repo = "swisshydrodata";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-RcVwo61HZ02JEOHsSY/W8j2OTBN25oR2JunLZ5i6yVI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ requests ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
@ -31,7 +37,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python client to get data from the Swiss federal Office for Environment FEON";
|
||||
homepage = "https://github.com/bouni/swisshydrodata";
|
||||
license = with licenses; [ mit ];
|
||||
changelog = "https://github.com/Bouni/swisshydrodata/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user