Merge pull request #288404 from eclairevoyant/qcodes
python311Packages.qcodes: fix src, wheel version
This commit is contained in:
commit
c10f9e8f24
@ -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"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user