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:
@@ -39,6 +39,11 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "0.0.0" "${version}"
|
||||
'';
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
|
||||
Reference in New Issue
Block a user