python3Packages.pyalmond: init at 0.0.3

This commit is contained in:
Fabian Affolter 2021-02-20 13:55:46 +01:00
parent 8b166bcee0
commit 7e771d4d33
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyalmond";
version = "0.0.3";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "stanford-oval";
repo = pname;
rev = "v${version}";
sha256 = "0d1w83lr7k2wxcs846iz4mjyqn1ximnw6155kgl515v10fqyrhgk";
};
propagatedBuildInputs = [ aiohttp ];
# Tests require a running Almond instance
doCheck = false;
pythonImportsCheck = [ "pyalmond" ];
meta = with lib; {
description = "Python client for the Almond API";
homepage = "https://github.com/stanford-oval/pyalmond";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5229,6 +5229,8 @@ in {
pyalgotrade = callPackage ../development/python-modules/pyalgotrade { };
pyalmond = callPackage ../development/python-modules/pyalmond { };
pyamf = callPackage ../development/python-modules/pyamf { };
pyamg = callPackage ../development/python-modules/pyamg { };