3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/qiskit/default.nix

66 lines
1.2 KiB
Nix
Raw Normal View History

2018-05-12 07:49:14 +01:00
{ stdenv
, isPy3k
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, sympy
, matplotlib
, networkx
, ply
, pillow
, cffi
, requests
, requests_ntlm
, IBMQuantumExperience
2018-07-03 06:40:09 +01:00
, jsonschema
, psutil
2018-05-12 07:49:14 +01:00
, cmake
, llvmPackages
}:
buildPythonPackage rec {
pname = "qiskit";
2019-10-24 07:47:46 +01:00
version = "0.13.0";
2018-05-12 07:49:14 +01:00
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:46 +01:00
sha256 = "e9c0f23dddb0af27e2bfb920f6ea8600516fa68ec9ae97639faf858ba5d28020";
2018-05-12 07:49:14 +01:00
};
buildInputs = [ cmake ]
++ stdenv.lib.optional stdenv.isDarwin llvmPackages.openmp;
propagatedBuildInputs = [
numpy
matplotlib
networkx
ply
scipy
sympy
pillow
cffi
requests
requests_ntlm
IBMQuantumExperience
2018-07-03 06:40:09 +01:00
jsonschema
psutil
2018-05-12 07:49:14 +01:00
];
# Pypi's tarball doesn't contain tests
doCheck = false;
meta = {
description = "Quantum Software Development Kit for writing quantum computing experiments, programs, and applications";
2018-07-03 06:40:09 +01:00
homepage = https://github.com/QISKit/qiskit-terra;
2018-05-12 07:49:14 +01:00
license = stdenv.lib.licenses.asl20;
maintainers = with stdenv.lib.maintainers; [
pandaman
];
2019-09-14 16:50:00 +01:00
# Needs to be updated and have its new dependencies added
broken = true;
2018-05-12 07:49:14 +01:00
};
}