2019-07-17 18:35:29 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python
|
2021-10-31 12:28:52 +00:00
|
|
|
, pythonOlder
|
2019-07-17 18:35:29 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ibis";
|
2021-10-31 12:28:52 +00:00
|
|
|
version = "3.2.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
2019-07-17 18:35:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dmulholl";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-EPz9zHnxR75WoRaiHKJNiCRWFwU1TBpC4uHz62jUOqM=";
|
2019-07-17 18:35:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} test_ibis.py
|
|
|
|
'';
|
|
|
|
|
2021-10-31 12:28:52 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"ibis"
|
|
|
|
];
|
|
|
|
|
2019-07-17 18:35:29 +00:00
|
|
|
meta = with lib; {
|
2021-10-31 12:28:52 +00:00
|
|
|
description = "Lightweight template engine";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/dmulholland/ibis";
|
2019-07-17 18:35:29 +00:00
|
|
|
license = licenses.publicDomain;
|
2023-06-30 15:53:25 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2019-07-17 18:35:29 +00:00
|
|
|
};
|
|
|
|
}
|