Merge pull request #288404 from eclairevoyant/qcodes

python311Packages.qcodes: fix src, wheel version
This commit is contained in:
a-n-n-a-l-e-e 2024-02-13 16:19:47 -08:00 committed by GitHub
commit c10f9e8f24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,7 @@ buildPythonPackage rec {
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "QCoDeS"; owner = "microsoft";
repo = "Qcodes"; repo = "Qcodes";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-AggAVq/yfJUZRwoQb29QoIbVIAdV3solKCjivqucLZk="; hash = "sha256-AggAVq/yfJUZRwoQb29QoIbVIAdV3solKCjivqucLZk=";
@ -147,6 +147,11 @@ buildPythonPackage rec {
"qcodes" "qcodes"
]; ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'default-version = "0.0"' 'default-version = "${version}"'
'';
postInstall = '' postInstall = ''
export HOME="$TMPDIR" export HOME="$TMPDIR"
''; '';