nixpkgs/pkgs/development/python-modules/ibis/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
669 B
Nix
Raw Normal View History

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;
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";
homepage = "https://github.com/dmulholland/ibis";
2019-07-17 18:35:29 +00:00
license = licenses.publicDomain;
maintainers = with maintainers; [ ];
2019-07-17 18:35:29 +00:00
};
}