Merge pull request #108241 from fabaff/schiene

python3Packages.schiene: init at 0.23
This commit is contained in:
Martin Weinelt 2021-01-02 19:02:35 +01:00 committed by GitHub
commit 4919ccf2eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
, beautifulsoup4
}:
buildPythonPackage rec {
pname = "schiene";
version = "0.23";
src = fetchPypi {
inherit pname version;
sha256 = "014aaxmk7yxyml1xgfk3zqallyb5zi04m0v7jgqjkbjqq4n4j3ck";
};
propagatedBuildInputs = [
requests
beautifulsoup4
];
# tests are not present
doCheck = false;
pythonImportsCheck = [ "schiene" ];
meta = with lib; {
description = "Python library for interacting with Bahn.de";
homepage = "https://github.com/kennell/schiene";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -161,7 +161,7 @@
"denon" = ps: with ps; [ ];
"denonavr" = ps: with ps; [ denonavr getmac ];
"derivative" = ps: with ps; [ ];
"deutsche_bahn" = ps: with ps; [ ]; # missing inputs: schiene
"deutsche_bahn" = ps: with ps; [ schiene ];
"device_automation" = ps: with ps; [ ];
"device_sun_light_trigger" = ps: with ps; [ aiohttp-cors pillow ];
"device_tracker" = ps: with ps; [ ];

View file

@ -6636,6 +6636,8 @@ in {
schema = callPackage ../development/python-modules/schema { };
schiene = callPackage ../development/python-modules/schiene { };
scikit-bio = callPackage ../development/python-modules/scikit-bio { };
scikit-build = callPackage ../development/python-modules/scikit-build { };