about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/cirq-web/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/cirq-web/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/cirq-web/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/cirq-web/default.nix b/nixpkgs/pkgs/development/python-modules/cirq-web/default.nix
new file mode 100644
index 000000000000..aa61157fe0d7
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/cirq-web/default.nix
@@ -0,0 +1,22 @@
+{ buildPythonPackage
+, cirq-core
+, pytestCheckHook
+}:
+
+buildPythonPackage rec {
+  pname = "cirq-web";
+  inherit (cirq-core) version src meta;
+
+  sourceRoot = "source/${pname}";
+
+  propagatedBuildInputs = [
+    cirq-core
+  ];
+
+  checkInputs = [
+    pytestCheckHook
+  ];
+
+  # cirq's importlib hook doesn't work here
+  #pythonImportsCheck = [ "cirq_web" ];
+}