Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 50 lines 945 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 aiohttp, 7 pytestCheckHook, 8 requests-mock, 9}: 10 11buildPythonPackage rec { 12 pname = "london-tube-status"; 13 version = "0.7"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "robmarkcole"; 18 repo = "London-tube-status"; 19 tag = version; 20 hash = "sha256-0uDCrF3abx94X47LQxgALirSF/spJPVD91G2WqXaDVs="; 21 }; 22 23 build-system = [ 24 setuptools 25 ]; 26 27 dependencies = [ 28 aiohttp 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 requests-mock 34 ]; 35 36 # Tests are currently broken 37 # https://github.com/robmarkcole/London-tube-status/issues/7 38 doCheck = false; 39 40 pythonImportsCheck = [ 41 "london_tube_status" 42 ]; 43 44 meta = { 45 description = "Parse London tube data from TFL into a dictionary"; 46 homepage = "https://github.com/robmarkcole/London-tube-status"; 47 license = lib.licenses.asl20; 48 maintainers = [ lib.maintainers.jamiemagee ]; 49 }; 50}