···12 # Note that there is a version 0.4.0, but it was released in error. At the
13 # time of writing (2022-03-29), v0.0.11 is the latest as reported on GitHub
14 # and PyPI.
15- version = "0.0.11";
16 format = "pyproject";
1718 src = fetchFromGitHub {
19 owner = "cgarciae";
20 repo = pname;
21- rev = version;
22- hash = "sha256-zs3F8i+G5OX/A9wOO60xVuvnm2QqrL+dHIrC0qwH37o=";
23 };
2425 # See https://github.com/cgarciae/treex/issues/68.
···12 # Note that there is a version 0.4.0, but it was released in error. At the
13 # time of writing (2022-03-29), v0.0.11 is the latest as reported on GitHub
14 # and PyPI.
15+ version = "0.4.0";
16 format = "pyproject";
1718 src = fetchFromGitHub {
19 owner = "cgarciae";
20 repo = pname;
21+ rev = "refs/tags/${version}";
22+ hash = "sha256-0py7sKjq6WqdsZwTq61jqaIbULTfwtpz29TTpt8M2Zw=";
23 };
2425 # See https://github.com/cgarciae/treex/issues/68.