1{ lib
2, buildPythonPackage
3, fetchPypi
4, flask
5, flask-compress
6, flask-cors
7, flask-sockets
8, imageio
9, numpy
10, scipy
11, pillow
12, gevent
13, wget
14, six
15, colorcet
16, unidecode
17, urllib3
18}:
19
20buildPythonPackage rec {
21 pname = "runway-python";
22 version = "0.6.0";
23
24 src = fetchPypi {
25 inherit pname version;
26 sha256 = "695d78f8edeb6a7ca98d8351adb36948d56cceeffe8a84896c9fbfd349fc4cb8";
27 };
28
29 propagatedBuildInputs = [
30 colorcet
31 flask
32 flask-compress
33 flask-cors
34 flask-sockets
35 gevent
36 imageio
37 numpy
38 pillow
39 scipy
40 six
41 unidecode
42 urllib3
43 wget
44 ];
45
46 # tests are not packaged in the released tarball
47 doCheck = false;
48
49 pythonImportsCheck = [
50 "runway"
51 ];
52
53 meta = {
54 description = "Helper library for creating Runway models";
55 homepage = "https://github.com/runwayml/model-sdk";
56 license = with lib.licenses; [ mit ];
57 maintainers = with lib.maintainers; [ prusnak ];
58 };
59}