python3Packages.gradient: fix build
This commit is contained in:
parent
1a4f4b8849
commit
5f5ab8004e
@ -1,8 +1,23 @@
|
|||||||
{ lib, fetchPypi, buildPythonPackage
|
{ lib
|
||||||
, attrs, boto3, requests, gradient_statsd, terminaltables
|
, attrs
|
||||||
, click-completion , click-didyoumean, click-help-colors
|
, boto3
|
||||||
, colorama, requests_toolbelt, gradient-utils, halo, progressbar2
|
, buildPythonPackage
|
||||||
, marshmallow, pyyaml, websocket_client
|
, click-completion
|
||||||
|
, click-didyoumean
|
||||||
|
, click-help-colors
|
||||||
|
, colorama
|
||||||
|
, fetchPypi
|
||||||
|
, gradient_statsd
|
||||||
|
, gradient-utils
|
||||||
|
, halo
|
||||||
|
, marshmallow
|
||||||
|
, progressbar2
|
||||||
|
, pyopenssl
|
||||||
|
, pyyaml
|
||||||
|
, requests
|
||||||
|
, requests_toolbelt
|
||||||
|
, terminaltables
|
||||||
|
, websocket_client
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -21,11 +36,26 @@ buildPythonPackage rec {
|
|||||||
--replace 'PyYAML==' 'PyYAML>=' \
|
--replace 'PyYAML==' 'PyYAML>=' \
|
||||||
--replace 'marshmallow<' 'marshmallow>=' \
|
--replace 'marshmallow<' 'marshmallow>=' \
|
||||||
--replace 'websocket-client==' 'websocket-client>='
|
--replace 'websocket-client==' 'websocket-client>='
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ attrs boto3 requests gradient_statsd terminaltables
|
propagatedBuildInputs = [
|
||||||
click-completion click-didyoumean click-help-colors requests_toolbelt
|
attrs
|
||||||
colorama gradient-utils halo marshmallow progressbar2 pyyaml websocket_client
|
boto3
|
||||||
|
click-completion
|
||||||
|
click-didyoumean
|
||||||
|
click-help-colors
|
||||||
|
colorama
|
||||||
|
gradient_statsd
|
||||||
|
gradient-utils
|
||||||
|
halo
|
||||||
|
marshmallow
|
||||||
|
progressbar2
|
||||||
|
pyopenssl
|
||||||
|
pyyaml
|
||||||
|
requests
|
||||||
|
requests_toolbelt
|
||||||
|
terminaltables
|
||||||
|
websocket_client
|
||||||
];
|
];
|
||||||
|
|
||||||
# tries to use /homeless-shelter to mimic container usage, etc
|
# tries to use /homeless-shelter to mimic container usage, etc
|
||||||
@ -33,9 +63,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The command line interface for Gradient";
|
description = "The command line interface for Gradient";
|
||||||
homepage = "https://github.com/Paperspace/gradient-cli";
|
homepage = "https://github.com/Paperspace/gradient-cli";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ thoughtpolice ];
|
maintainers = with maintainers; [ thoughtpolice ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user