Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, requests 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "bizkaibus"; 10 version = "0.1.4"; 11 disabled = pythonOlder "3.6"; 12 13 src = fetchFromGitHub { 14 owner = "UgaitzEtxebarria"; 15 repo = "BizkaibusRTPI"; 16 rev = version; 17 sha256 = "1v7k9fclndb4x9npzhzj68kbrc3lb3wr6cwal2x46ib207593ckr"; 18 }; 19 20 propagatedBuildInputs = [ 21 requests 22 ]; 23 24 # Project has no tests 25 doCheck = false; 26 27 pythonImportsCheck = [ "bizkaibus" ]; 28 29 meta = with lib; { 30 description = "Python module to get information about Bizkaibus buses"; 31 homepage = "https://github.com/UgaitzEtxebarria/BizkaibusRTPI"; 32 license = with licenses; [ mit ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}