summary refs log tree commit diff
path: root/pkgs/development/python-modules/ibmquantumexperience
diff options
context:
space:
mode:
authorpandaman64 <kointosudesuyo@infoseek.jp>2018-05-12 15:48:15 +0900
committerpandaman64 <kointosudesuyo@infoseek.jp>2018-06-14 11:43:09 +0900
commit972323648346953dfdc5228272f0b6f75756e979 (patch)
tree799fb7844ccec40c492e089bcf2afafc5327a87e /pkgs/development/python-modules/ibmquantumexperience
parentb3f58d1df12d2173d8f79d90aea332dcbe4d66ab (diff)
downloadnixpkgs-972323648346953dfdc5228272f0b6f75756e979.tar
nixpkgs-972323648346953dfdc5228272f0b6f75756e979.tar.gz
nixpkgs-972323648346953dfdc5228272f0b6f75756e979.tar.bz2
nixpkgs-972323648346953dfdc5228272f0b6f75756e979.tar.lz
nixpkgs-972323648346953dfdc5228272f0b6f75756e979.tar.xz
nixpkgs-972323648346953dfdc5228272f0b6f75756e979.tar.zst
nixpkgs-972323648346953dfdc5228272f0b6f75756e979.zip
IBMQuantumExperience: init at 1.9.1
Diffstat (limited to 'pkgs/development/python-modules/ibmquantumexperience')
-rw-r--r--pkgs/development/python-modules/ibmquantumexperience/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/ibmquantumexperience/default.nix b/pkgs/development/python-modules/ibmquantumexperience/default.nix
new file mode 100644
index 00000000000..22f4ba9301f
--- /dev/null
+++ b/pkgs/development/python-modules/ibmquantumexperience/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, requests
+, requests_ntlm
+}:
+
+buildPythonPackage rec {
+  pname = "IBMQuantumExperience";
+  version = "1.9.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "480cce2ca285368432b7d00b9cd702a4f8a1c9d69914ba6f65e08099e151e407";
+  };
+
+  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
+    ];
+  };
+}