python311Packages.dataclasses-json: fix version handling
This commit is contained in:
parent
3e11564e95
commit
8a011970b3
|
@ -24,6 +24,11 @@ buildPythonPackage rec {
|
|||
hash = "sha256-pCvVKHh2elHaukEJNTw8MgJmoTlYjO9aVWFCQXXD13c=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'version = "0.0.0"' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
poetry-dynamic-versioning
|
||||
|
|
Loading…
Reference in a new issue