1{ lib
2, buildPythonPackage
3, fetchPypi
4, flask
5, flask-cors
6, numpy
7, pillow
8, gevent
9, wget
10, six
11, colorcet
12}:
13
14buildPythonPackage rec {
15 pname = "runway-python";
16 version = "0.4.0";
17
18 src = fetchPypi {
19 inherit pname version;
20 sha256 = "cd23550211aa8542d9c06516e25c32de3963fff50d0793d94def271a4e2b4514";
21 };
22
23 propagatedBuildInputs = [ flask flask-cors numpy pillow gevent wget six colorcet ];
24
25 # tests are not packaged in the released tarball
26 doCheck = false;
27
28 meta = {
29 description = "Helper library for creating Runway models";
30 homepage = https://github.com/runwayml/model-sdk;
31 license = with lib.licenses; [ mit ];
32 maintainers = with lib.maintainers; [ prusnak ];
33 };
34}