python3Packages.schiene: init at 0.23
commitb9a135ecc594136bba2f8a5789e59e1f57089766
authorFabian Affolter <mail@fabian-affolter.ch>
dateSat 2 Jan 2021, 18:13 (6 years ago)
parenta8040c7
pkgs/development/python-modules/schiene/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, requests
5+, beautifulsoup4
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "schiene";
10+ version = "0.23";
11+
12+ src = fetchPypi {
13+ inherit pname version;
14+ sha256 = "014aaxmk7yxyml1xgfk3zqallyb5zi04m0v7jgqjkbjqq4n4j3ck";
15+ };
16+
17+ propagatedBuildInputs = [
18+ requests
19+ beautifulsoup4
20+ ];
21+
22+ # tests are not present
23+ doCheck = false;
24+
25+ pythonImportsCheck = [ "schiene" ];
26+
27+ meta = with lib; {
28+ description = "Python library for interacting with Bahn.de";
29+ homepage = "https://github.com/kennell/schiene";
30+ license = with licenses; [ mit ];
31+ maintainers = with maintainers; [ fab ];
32+ };
33+}
pkgs/top-level/python-packages.nix+2
@@ -6620,6 +6620,8 @@ in {
66206620
66216621 schema = callPackage ../development/python-modules/schema { };
66226622
6623+ schiene = callPackage ../development/python-modules/schiene { };
6624+
66236625 scikit-bio = callPackage ../development/python-modules/scikit-bio { };
66246626
66256627 scikit-build = callPackage ../development/python-modules/scikit-build { };