1{
2 lib,
3 beautifulsoup4,
4 buildPythonPackage,
5 fetchPypi,
6 pythonOlder,
7 requests,
8}:
9
10buildPythonPackage rec {
11 pname = "schiene";
12 version = "0.26";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-sCaVrHqQZwAZDXIjh4Rg9ZT/EQSbrOPdSyT8oofCsmA=";
20 };
21
22 propagatedBuildInputs = [
23 requests
24 beautifulsoup4
25 ];
26
27 # Module has no tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "schiene" ];
31
32 meta = with lib; {
33 description = "Python library for interacting with Bahn.de";
34 homepage = "https://github.com/kennell/schiene";
35 license = with licenses; [ mit ];
36 maintainers = with maintainers; [ fab ];
37 };
38}