Merge pull request #127539 from fabaff/enturclient

authored by

Sandro and committed by
GitHub
94a1806b 67c41323

+40 -1
+37
pkgs/development/python-modules/enturclient/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , async-timeout 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , pythonOlder 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "enturclient"; 11 + version = "0.2.1"; 12 + disabled = pythonOlder "3.7"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "hfurubotten"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "158xzv9c2drjgrdhfqm0xzx2d34v45gr5rnjfsi94scffvprgwrg"; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + aiohttp 23 + async-timeout 24 + ]; 25 + 26 + # Project has no tests 27 + doCheck = false; 28 + 29 + pythonImportsCheck = [ "enturclient" ]; 30 + 31 + meta = with lib; { 32 + description = "Python library for interacting with the Entur.org API"; 33 + homepage = "https://github.com/hfurubotten/enturclient"; 34 + license = with licenses; [ mit ]; 35 + maintainers = with maintainers; [ fab ]; 36 + }; 37 + }
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 227 227 "enigma2" = ps: with ps; [ openwebifpy ]; 228 228 "enocean" = ps: with ps; [ enocean ]; 229 229 "enphase_envoy" = ps: with ps; [ envoy-reader ]; 230 - "entur_public_transport" = ps: with ps; [ ]; # missing inputs: enturclient 230 + "entur_public_transport" = ps: with ps; [ enturclient ]; 231 231 "environment_canada" = ps: with ps; [ ]; # missing inputs: env_canada 232 232 "envirophat" = ps: with ps; [ smbus-cffi ]; # missing inputs: envirophat 233 233 "envisalink" = ps: with ps; [ pyenvisalink ];
+2
pkgs/top-level/python-packages.nix
··· 2287 2287 2288 2288 entrypoints = callPackage ../development/python-modules/entrypoints { }; 2289 2289 2290 + enturclient = callPackage ../development/python-modules/enturclient { }; 2291 + 2290 2292 enum34 = callPackage ../development/python-modules/enum34 { }; 2291 2293 2292 2294 enum-compat = callPackage ../development/python-modules/enum-compat { };