python3Packages.treex: 0.6.9 -> 0.6.10
This commit is contained in:
parent
f224039d13
commit
eee8362a75
1 changed files with 7 additions and 5 deletions
|
@ -18,21 +18,23 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "treex";
|
||||
version = "0.6.9";
|
||||
version = "0.6.10";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cgarciae";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1yvlldmhji12h249j14ba44hnb9x1fhrj7rh1cx2vn0vxj5wpg7x";
|
||||
hash = "sha256-ZHfgmRNbFh8DFZkmilY0pmRNQhJFqT689I7Lu8FuFm4=";
|
||||
};
|
||||
|
||||
# At the time of writing (2022-03-29), rich is currently at version 11.0.0.
|
||||
# The treeo dependency is compatible with a patch, but not marked as such in
|
||||
# treex. See https://github.com/cgarciae/treex/issues/68.
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'rich = "^10.7.0"' 'rich = ">=10.7.0"' \
|
||||
--replace 'PyYAML = "^5.4.1"' 'PyYAML = ">=5.4.1"' \
|
||||
--replace 'optax = "^0.0.9"' 'optax = ">=0.0.9"'
|
||||
--replace 'rich = "^11.2.0"' 'rich = "*"' \
|
||||
--replace 'treeo = "^0.0.10"' 'treeo = "*"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
Loading…
Reference in a new issue