Unverified Commit 741d9c27 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

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.
parent acb45373
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@ buildPythonPackage rec {
    })
  ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace "0.0.0" "${version}"
  '';

  cargoDeps = rustPlatform.fetchCargoTarball {
    inherit src;
    name = "${pname}-${version}";