Merge pull request #221719 from mweinelt/adblock-version
python310Packages.adblock: Substitute bogus version
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}";
|
||||
@@ -85,6 +90,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for Brave's adblocking library";
|
||||
homepage = "https://github.com/ArniDagur/python-adblock/";
|
||||
changelog = "https://github.com/ArniDagur/python-adblock/blob/${version}/CHANGELOG.md";
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user