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 00000000000..07e39e72bc0 --- /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 7c612686530..9cda381632a 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)