python310Packages.adblock: Substitute bogus version

The upstream sets 0.0.0 as the version in pyprojecy.toml with no
indication, how the version gets set dynamically.
This commit is contained in:
Martin Weinelt
2023-03-17 22:29:00 +01:00
parent acb453737a
commit 741d9c2766
@@ -39,6 +39,11 @@ buildPythonPackage rec {
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace "0.0.0" "${version}"
'';
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";