mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
Merge pull request #65696 from prusnak/runwayml
pythonPackages.runway-python: init at 0.3.2
This commit is contained in:
commit
b9d100b539
34
pkgs/development/python-modules/runway-python/default.nix
Normal file
34
pkgs/development/python-modules/runway-python/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
22
pkgs/development/python-modules/wget/default.nix
Normal file
22
pkgs/development/python-modules/wget/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user