diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-20 13:55:46 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-20 13:55:46 +0100 |
commit | 7e771d4d3353e99459eec6db3fccf471499ab95e (patch) | |
tree | eaa242b64dfbae53f6b656193289c322713c7da9 /pkgs/development/python-modules/pyalmond | |
parent | 8b166bcee0de0a1ba00b88adb57958d0a6a9c91b (diff) | |
download | nixpkgs-7e771d4d3353e99459eec6db3fccf471499ab95e.tar nixpkgs-7e771d4d3353e99459eec6db3fccf471499ab95e.tar.gz nixpkgs-7e771d4d3353e99459eec6db3fccf471499ab95e.tar.bz2 nixpkgs-7e771d4d3353e99459eec6db3fccf471499ab95e.tar.lz nixpkgs-7e771d4d3353e99459eec6db3fccf471499ab95e.tar.xz nixpkgs-7e771d4d3353e99459eec6db3fccf471499ab95e.tar.zst nixpkgs-7e771d4d3353e99459eec6db3fccf471499ab95e.zip |
python3Packages.pyalmond: init at 0.0.3
Diffstat (limited to 'pkgs/development/python-modules/pyalmond')
-rw-r--r-- | pkgs/development/python-modules/pyalmond/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyalmond/default.nix b/pkgs/development/python-modules/pyalmond/default.nix new file mode 100644 index 00000000000..59a9339c264 --- /dev/null +++ b/pkgs/development/python-modules/pyalmond/default.nix @@ -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 ]; + }; +} |