16 buildPythonPackage rec {
17 pname = "pyrmvtransport";
21 disabled = pythonOlder "3.6";
23 src = fetchFromGitHub {
27 hash = "sha256-nFxGEyO+wyRzPayjjv8WNIJ+XIWbVn0dyyjQKHiyr40=";
30 nativeBuildInputs = [ flit ];
32 propagatedBuildInputs = [
45 # should fail, but times out
46 "test__query_rmv_api_fail"
50 # Can be removed with next release, https://github.com/cgtobi/PyRMVtransport/pull/55
52 name = "update-tests.patch";
53 url = "https://github.com/cgtobi/PyRMVtransport/commit/fe93b3d9d625f9ccf8eb7b0c39e0ff41c72d2e77.patch";
54 hash = "sha256-t+GP5VG1S86vVSsisl85ZHBtOqxIi7QS83DA+HgRet4=";
58 pythonImportsCheck = [ "RMVtransport" ];
61 homepage = "https://github.com/cgtobi/PyRMVtransport";
62 description = "Get transport information from opendata.rmv.de";
63 license = licenses.mit;
64 maintainers = with maintainers; [ hexa ];