at 18.09-beta 1.1 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, cmake 17, llvmPackages 18}: 19 20buildPythonPackage rec { 21 pname = "qiskit"; 22 version = "0.5.7"; 23 24 disabled = !isPy3k; 25 26 src = fetchPypi { 27 inherit pname version; 28 sha256 = "a5a2c6c074f8479dc83d1d599dfebf2363402a182835b8fa5742804055148b17"; 29 }; 30 31 buildInputs = [ cmake ] 32 ++ stdenv.lib.optional stdenv.isDarwin llvmPackages.openmp; 33 34 propagatedBuildInputs = [ 35 numpy 36 matplotlib 37 networkx 38 ply 39 scipy 40 sympy 41 pillow 42 cffi 43 requests 44 requests_ntlm 45 IBMQuantumExperience 46 ]; 47 48 # Pypi's tarball doesn't contain tests 49 doCheck = false; 50 51 meta = { 52 description = "Quantum Software Development Kit for writing quantum computing experiments, programs, and applications"; 53 homepage = https://github.com/QISKit/qiskit-terra; 54 license = stdenv.lib.licenses.asl20; 55 maintainers = with stdenv.lib.maintainers; [ 56 pandaman 57 ]; 58 }; 59}