3
0
Fork 0
forked from mirrors/nixpkgs

python39Packages.aiomusiccast: fix version number

This commit is contained in:
Sandro Jäckel 2022-02-08 18:01:20 +01:00 committed by Jonathan Ringer
parent 3d8dd6bbd9
commit dacbe2de52

View file

@ -11,7 +11,6 @@ buildPythonPackage rec {
version = "0.14.3";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
@ -21,6 +20,11 @@ buildPythonPackage rec {
hash = "sha256-ELdNxeU9dajWr4VeOyuvNrSi7B+ImVJM/BlZsw3tcKE=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"0.0.0"' '"${version}"'
'';
nativeBuildInputs = [
poetry-core
];