2018-05-12 07:48:15 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, requests_ntlm
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "IBMQuantumExperience";
|
2018-07-26 12:09:16 +01:00
|
|
|
version = "1.9.8";
|
2018-05-12 07:48:15 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-26 12:09:16 +01:00
|
|
|
sha256 = "78a7d9770fa2884d79d3c8b18f374644866e4d22ec151cf703053f7530bb7b7c";
|
2018-05-12 07:48:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
requests_ntlm
|
|
|
|
];
|
|
|
|
|
|
|
|
# test requires an API token
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python library for the Quantum Experience API";
|
|
|
|
homepage = https://github.com/QISKit/qiskit-api-py;
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
pandaman
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|