1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, python
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "ibis";
10 version = "3.2.0";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.8";
14
15 src = fetchFromGitHub {
16 owner = "dmulholl";
17 repo = pname;
18 rev = version;
19 hash = "sha256-EPz9zHnxR75WoRaiHKJNiCRWFwU1TBpC4uHz62jUOqM=";
20 };
21
22 checkPhase = ''
23 ${python.interpreter} test_ibis.py
24 '';
25
26 pythonImportsCheck = [
27 "ibis"
28 ];
29
30 meta = with lib; {
31 description = "Lightweight template engine";
32 homepage = "https://github.com/dmulholland/ibis";
33 license = licenses.publicDomain;
34 maintainers = with maintainers; [ ];
35 };
36}