mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
python3Packages.qiskit: 0.26.2 -> 0.32.0
This commit is contained in:
parent
b91e3c0d99
commit
c615e20603
@ -8,14 +8,28 @@
|
||||
, qiskit-ibmq-provider
|
||||
, qiskit-ignis
|
||||
, qiskit-terra
|
||||
# Optional inputs
|
||||
, withOptionalPackages ? true
|
||||
, qiskit-finance
|
||||
, qiskit-machine-learning
|
||||
, qiskit-nature
|
||||
, qiskit-optimization
|
||||
# Check Inputs
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
let
|
||||
optionalQiskitPackages = [
|
||||
qiskit-finance
|
||||
qiskit-machine-learning
|
||||
qiskit-nature
|
||||
qiskit-optimization
|
||||
];
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "qiskit";
|
||||
# NOTE: This version denotes a specific set of subpackages. See https://qiskit.org/documentation/release_notes.html#version-history
|
||||
version = "0.26.2";
|
||||
version = "0.32.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@ -23,7 +37,7 @@ buildPythonPackage rec {
|
||||
owner = "qiskit";
|
||||
repo = "qiskit";
|
||||
rev = version;
|
||||
hash = "sha256-QYWKKS7e/uCt5puWV4jA9Emp7M4Cyv2RUCxilbChWhw=";
|
||||
sha256 = "sha256-fKR072hOD0a9TtWulqyKUT3Riwq+NHTtciR+NN5JC1Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -32,7 +46,7 @@ buildPythonPackage rec {
|
||||
qiskit-ibmq-provider
|
||||
qiskit-ignis
|
||||
qiskit-terra
|
||||
];
|
||||
] ++ lib.optionals withOptionalPackages optionalQiskitPackages;
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user