567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
36 lines
647 B
Nix
36 lines
647 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
python,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ibis";
|
|
version = "3.3.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
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 = [ ];
|
|
};
|
|
}
|