diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/ibmquantumexperience/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/ibmquantumexperience/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/ibmquantumexperience/default.nix b/nixpkgs/pkgs/development/python-modules/ibmquantumexperience/default.nix new file mode 100644 index 000000000000..dcf39dd24f02 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/ibmquantumexperience/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildPythonPackage +, fetchPypi +, requests +, requests_ntlm +}: + +buildPythonPackage rec { + pname = "IBMQuantumExperience"; + version = "2.0.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "0szn743sbm3cs80982cf4994c1xcg6iz5xkhdbpm1kfv5qn1phja"; + }; + + 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 + ]; + }; +} |