1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "pyalmond"; 10 version = "0.0.3"; 11 disabled = pythonOlder "3.7"; 12 13 src = fetchFromGitHub { 14 owner = "stanford-oval"; 15 repo = pname; 16 rev = "v${version}"; 17 sha256 = "0d1w83lr7k2wxcs846iz4mjyqn1ximnw6155kgl515v10fqyrhgk"; 18 }; 19 20 propagatedBuildInputs = [ aiohttp ]; 21 22 # Tests require a running Almond instance 23 doCheck = false; 24 pythonImportsCheck = [ "pyalmond" ]; 25 26 meta = with lib; { 27 description = "Python client for the Almond API"; 28 homepage = "https://github.com/stanford-oval/pyalmond"; 29 license = with licenses; [ bsd3 ]; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}