Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 65 lines 1.2 kB view raw
1{ stdenv 2, isPy3k 3, buildPythonPackage 4, fetchPypi 5, numpy 6, scipy 7, sympy 8, matplotlib 9, networkx 10, ply 11, pillow 12, cffi 13, requests 14, requests_ntlm 15, IBMQuantumExperience 16, jsonschema 17, psutil 18, cmake 19, llvmPackages 20}: 21 22buildPythonPackage rec { 23 pname = "qiskit"; 24 version = "0.14.0"; 25 26 disabled = !isPy3k; 27 28 src = fetchPypi { 29 inherit pname version; 30 sha256 = "d086a21d0eee61bb12e1f2cd6148a7292005fd10584ca33d6c404dd5c53ba95f"; 31 }; 32 33 buildInputs = [ cmake ] 34 ++ stdenv.lib.optional stdenv.isDarwin llvmPackages.openmp; 35 36 propagatedBuildInputs = [ 37 numpy 38 matplotlib 39 networkx 40 ply 41 scipy 42 sympy 43 pillow 44 cffi 45 requests 46 requests_ntlm 47 IBMQuantumExperience 48 jsonschema 49 psutil 50 ]; 51 52 # Pypi's tarball doesn't contain tests 53 doCheck = false; 54 55 meta = { 56 description = "Quantum Software Development Kit for writing quantum computing experiments, programs, and applications"; 57 homepage = https://github.com/QISKit/qiskit-terra; 58 license = stdenv.lib.licenses.asl20; 59 maintainers = with stdenv.lib.maintainers; [ 60 pandaman 61 ]; 62 # Needs to be updated and have its new dependencies added 63 broken = true; 64 }; 65}