mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
35 lines
710 B
Nix
35 lines
710 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, flask
|
|
, flask-cors
|
|
, numpy
|
|
, pillow
|
|
, gevent
|
|
, wget
|
|
, six
|
|
, colorcet
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "runway-python";
|
|
version = "0.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "cd23550211aa8542d9c06516e25c32de3963fff50d0793d94def271a4e2b4514";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|