From 9f2cc6f478aa7ad57450fee9fd1bc84535b3b6bd Mon Sep 17 00:00:00 2001 From: georgewhewell Date: Thu, 19 Nov 2020 18:38:33 +0000 Subject: [PATCH] pythonPackages.pyro-api: init at 0.1.1 --- .../python-modules/pyro-api/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/pyro-api/default.nix diff --git a/pkgs/development/python-modules/pyro-api/default.nix b/pkgs/development/python-modules/pyro-api/default.nix new file mode 100644 index 000000000000..78804941532a --- /dev/null +++ b/pkgs/development/python-modules/pyro-api/default.nix @@ -0,0 +1,23 @@ +{ buildPythonPackage, fetchPypi, lib }: + +buildPythonPackage rec { + version = "0.1.1"; + pname = "pyro-api"; + + src = fetchPypi { + inherit version pname; + sha256 = "0rhd7p61pf2vvflbdixp7sygblvvl9qbqavxj27910lr79vl4fdz"; + }; + + pythonImportsCheck = [ "pyroapi" ]; + + # tests require pyro-ppl which depends on this package + doCheck = false; + + meta = { + description = "Generic API for dispatch to Pyro backends."; + homepage = "http://pyro.ai"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ georgewhewell ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ba7eadea2b79..099fd106d2a3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5460,6 +5460,8 @@ in { pyroma = callPackage ../development/python-modules/pyroma { }; + pyro-api = callPackage ../development/python-modules/pyro-api { }; + pyro-ppl = callPackage ../development/python-modules/pyro-ppl { }; pyroute2 = callPackage ../development/python-modules/pyroute2 { };