1{ buildPythonPackage, fetchPypi, lib }: 2 3buildPythonPackage rec { 4 version = "0.1.2"; 5 pname = "pyro-api"; 6 7 src = fetchPypi { 8 inherit version pname; 9 sha256 = "a1b900d9580aa1c2fab3b123ab7ff33413744da7c5f440bd4aadc4d40d14d920"; 10 }; 11 12 pythonImportsCheck = [ "pyroapi" ]; 13 14 # tests require pyro-ppl which depends on this package 15 doCheck = false; 16 17 meta = { 18 description = "Generic API for dispatch to Pyro backends."; 19 homepage = "http://pyro.ai"; 20 license = lib.licenses.mit; 21 maintainers = with lib.maintainers; [ georgewhewell ]; 22 }; 23}