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