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/development/python-modules/wget/default.nix b/pkgs/development/python-modules/wget/default.nix new file mode 100644 index 000000000000..502c7f64b863 --- /dev/null +++ b/pkgs/development/python-modules/wget/default.nix @@ -0,0 +1,22 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "wget"; + version = "3.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "35e630eca2aa50ce998b9b1a127bb26b30dfee573702782aa982f875e3f16061"; + extension = "zip"; + }; + + meta = { + description = "Pure python download utility"; + homepage = http://bitbucket.org/techtonik/python-wget/; + license = with lib.licenses; [ unlicense ]; + maintainers = with lib.maintainers; [ prusnak ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e8b95115d683..a734228fa542 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6114,6 +6114,10 @@ in { stringcase = callPackage ../development/python-modules/stringcase { }; 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)