From 784e957c74c699ce860cd28496ad2888032d2c41 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Wed, 17 Jul 2019 14:35:29 -0400 Subject: [PATCH] python3Packages.ibis: init at 1.6.0 --- .../python-modules/ibis/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/ibis/default.nix diff --git a/pkgs/development/python-modules/ibis/default.nix b/pkgs/development/python-modules/ibis/default.nix new file mode 100644 index 000000000000..6b405366c7eb --- /dev/null +++ b/pkgs/development/python-modules/ibis/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, python +, isPy27 +}: + +buildPythonPackage rec { + pname = "ibis"; + version = "1.6.0"; + disabled = isPy27; + + src = fetchFromGitHub { + owner = "dmulholl"; + repo = pname; + rev = version; + sha256 = "0xqhk397gzanvj2znwcgy4n5l1lc9r310smxkhjbm1xwvawpixx0"; + }; + + checkPhase = '' + ${python.interpreter} test_ibis.py + ''; + + meta = with lib; { + description = "A lightweight template engine"; + homepage = https://github.com/dmulholland/ibis; + license = licenses.publicDomain; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5a56c94ccdfb..4a8655c8fccc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5919,6 +5919,8 @@ in { IBMQuantumExperience = callPackage ../development/python-modules/ibmquantumexperience { }; + ibis = callPackage ../development/python-modules/ibis { }; + qiskit = callPackage ../development/python-modules/qiskit { }; qasm2image = callPackage ../development/python-modules/qasm2image { };