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