summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ibis/default.nix
blob: 1a4910054c2476cb69c6f5f6337b81c268f35ffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  python,
}:

buildPythonPackage rec {
  pname = "ibis";
  version = "3.3.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "dmulholl";
    repo = "ibis";
    rev = version;
    hash = "sha256-9ELOAQhD6KXyTN2U0lGmNxxSzx9o2QIt+CNa6i8o5xs=";
  };

  checkPhase = ''
    ${python.interpreter} test_ibis.py
  '';

  pythonImportsCheck = [ "ibis" ];

  meta = {
    description = "Lightweight template engine";
    homepage = "https://github.com/dmulholland/ibis";
    license = lib.licenses.publicDomain;
    maintainers = [ ];
  };
}