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";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "QCoDeS";
|
||||
owner = "microsoft";
|
||||
repo = "Qcodes";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-AggAVq/yfJUZRwoQb29QoIbVIAdV3solKCjivqucLZk=";
|
||||
@ -147,6 +147,11 @@ buildPythonPackage rec {
|
||||
"qcodes"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail 'default-version = "0.0"' 'default-version = "${version}"'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
export HOME="$TMPDIR"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user