diff --git a/pkgs/development/python-modules/schiene/default.nix b/pkgs/development/python-modules/schiene/default.nix new file mode 100644 index 000000000000..8f479500a138 --- /dev/null +++ b/pkgs/development/python-modules/schiene/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a53b50146fec..a035f1618d78 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6620,6 +6620,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 { };