diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-10-13 17:34:12 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-11-03 19:42:51 +0100 |
commit | 790c5c3dd80650df28c97dfe5e2e9f125e571fe4 (patch) | |
tree | a42b804c0fc43df397b5e6003b08d39ff40b8700 | |
parent | df3adb039808ce0af1406dbacda23ae2033033f1 (diff) | |
download | nixpkgs-790c5c3dd80650df28c97dfe5e2e9f125e571fe4.tar nixpkgs-790c5c3dd80650df28c97dfe5e2e9f125e571fe4.tar.gz nixpkgs-790c5c3dd80650df28c97dfe5e2e9f125e571fe4.tar.bz2 nixpkgs-790c5c3dd80650df28c97dfe5e2e9f125e571fe4.tar.lz nixpkgs-790c5c3dd80650df28c97dfe5e2e9f125e571fe4.tar.xz nixpkgs-790c5c3dd80650df28c97dfe5e2e9f125e571fe4.tar.zst nixpkgs-790c5c3dd80650df28c97dfe5e2e9f125e571fe4.zip |
python3Packages.aioambient: 1.3.0 -> 2021.10.1
(cherry picked from commit 0f9e0fb503551f1e75043a04a0b3ef8092dc0b93)
-rw-r--r-- | pkgs/development/python-modules/aioambient/default.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/aioambient/default.nix b/pkgs/development/python-modules/aioambient/default.nix index d60a62496cd..b71574971fc 100644 --- a/pkgs/development/python-modules/aioambient/default.nix +++ b/pkgs/development/python-modules/aioambient/default.nix @@ -16,18 +16,20 @@ buildPythonPackage rec { pname = "aioambient"; - version = "1.3.0"; + version = "2021.10.1"; format = "pyproject"; - disabled = pythonOlder "3.6"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "bachya"; repo = pname; rev = version; - sha256 = "sha256-blejTXyLe3B2kNytBh+zJz0Q0xDP+Vo2SV9gc7OX6S0="; + sha256 = "sha256-DCh/o7p+lO5BhN3JoLdhImkzfxoyqiscA/6CwwvAnc0="; }; postPatch = '' + # https://github.com/bachya/aioambient/pull/97 substituteInPlace pyproject.toml \ --replace 'websockets = ">=8.1,<10.0"' 'websockets = ">=8.1,<11.0"' ''; @@ -52,9 +54,13 @@ buildPythonPackage rec { ]; # Ignore the examples directory as the files are prefixed with test_ - disabledTestPaths = [ "examples/" ]; + disabledTestPaths = [ + "examples/" + ]; - pythonImportsCheck = [ "aioambient" ]; + pythonImportsCheck = [ + "aioambient" + ]; meta = with lib; { description = "Python library for the Ambient Weather API"; |