mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 01:33:10 +00:00
python3Packages.gradient: 1.8.13 -> 1.9.1
This commit is contained in:
parent
947a771b04
commit
03ca874315
@ -9,6 +9,7 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, gradient_statsd
|
, gradient_statsd
|
||||||
, gradient-utils
|
, gradient-utils
|
||||||
|
, gql
|
||||||
, halo
|
, halo
|
||||||
, marshmallow
|
, marshmallow
|
||||||
, progressbar2
|
, progressbar2
|
||||||
@ -22,17 +23,19 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "gradient";
|
pname = "gradient";
|
||||||
version = "1.8.13";
|
version = "1.9.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0fa4a0553c28839e364d3aac27ec7292d26c1df27b8c54701d57eb7eda0b14f2";
|
hash = "sha256-zimOh4bc9EQGpqMky/etwnAF04onJ2m/KAl29IaAeAY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace 'attrs<=' 'attrs>=' \
|
--replace 'attrs<=' 'attrs>=' \
|
||||||
--replace 'colorama==' 'colorama>=' \
|
--replace 'colorama==' 'colorama>=' \
|
||||||
|
--replace 'gql[requests]==3.0.0a6' 'gql' \
|
||||||
--replace 'PyYAML==' 'PyYAML>=' \
|
--replace 'PyYAML==' 'PyYAML>=' \
|
||||||
--replace 'marshmallow<' 'marshmallow>=' \
|
--replace 'marshmallow<' 'marshmallow>=' \
|
||||||
--replace 'websocket-client==' 'websocket-client>='
|
--replace 'websocket-client==' 'websocket-client>='
|
||||||
@ -45,6 +48,7 @@ buildPythonPackage rec {
|
|||||||
click-didyoumean
|
click-didyoumean
|
||||||
click-help-colors
|
click-help-colors
|
||||||
colorama
|
colorama
|
||||||
|
gql
|
||||||
gradient_statsd
|
gradient_statsd
|
||||||
gradient-utils
|
gradient-utils
|
||||||
halo
|
halo
|
||||||
@ -58,17 +62,20 @@ buildPythonPackage rec {
|
|||||||
websocket-client
|
websocket-client
|
||||||
];
|
];
|
||||||
|
|
||||||
# tries to use /homeless-shelter to mimic container usage, etc
|
# Tries to use /homeless-shelter to mimic container usage, etc
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
# marshmallow.exceptions.StringNotCollectionError: "only" should be a collection of strings.
|
||||||
|
# Support for marshmallow > 3
|
||||||
|
# pythonImportsCheck = [
|
||||||
|
# "gradient"
|
||||||
|
# ];
|
||||||
|
|
||||||
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 ];
|
||||||
# There is no support for click > 8
|
|
||||||
# https://github.com/Paperspace/gradient-cli/issues/368
|
|
||||||
broken = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user