From 166a5e04057975f9ef12b75ce7f98a492506908b Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 31 Jul 2019 23:31:10 +0200 Subject: [PATCH] pythonPackages.runway-python: init at 0.3.2 --- .../python-modules/runway-python/default.nix | 34 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/development/python-modules/runway-python/default.nix diff --git a/pkgs/development/python-modules/runway-python/default.nix b/pkgs/development/python-modules/runway-python/default.nix new file mode 100644 index 000000000000..07e39e72bc02 --- /dev/null +++ b/pkgs/development/python-modules/runway-python/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, fetchPypi +, flask +, flask-cors +, numpy +, pillow +, gevent +, wget +, six +, colorcet +}: + +buildPythonPackage rec { + pname = "runway-python"; + version = "0.3.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "ef15c0df60cfe7ea26b070bbe2ba522d67d247b157c20f3f191fe545c17d0b85"; + }; + + propagatedBuildInputs = [ flask flask-cors numpy pillow gevent wget six colorcet ]; + + # tests are not packaged in the released tarball + doCheck = false; + + meta = { + description = "Helper library for creating Runway models"; + homepage = https://github.com/runwayml/model-sdk; + license = with lib.licenses; [ mit ]; + maintainers = with lib.maintainers; [ prusnak ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7c6126865306..9cda381632a9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6114,6 +6114,8 @@ in { webrtcvad = callPackage ../development/python-modules/webrtcvad { }; wget = callPackage ../development/python-modules/wget { }; + + runway-python = callPackage ../development/python-modules/runway-python { }; }); in fix' (extends overrides packages)