2018-05-12 08:48:15 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, requests_ntlm
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "IBMQuantumExperience";
|
2018-10-08 02:16:13 +02:00
|
|
|
version = "2.0.3";
|
2018-05-12 08:48:15 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-10-08 02:16:13 +02:00
|
|
|
sha256 = "c5dbcc140344c7bdf545ad59db87f31a90ca35107c40d6cae1489bb997a47ba9";
|
2018-05-12 08:48:15 +02: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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|