mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-20 07:31:19 +00:00
python3Packages.aiomusiccast: fix version in aiomusiccast/__init__.py
This commit is contained in:
@@ -19,8 +19,8 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"0.0.0"' '"${version}"'
|
||||
substituteInPlace aiomusiccast/__init__.py \
|
||||
--replace-fail '__version__ = "0.0.0"' '__version__ = "${version}"'
|
||||
'';
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
Reference in New Issue
Block a user