depot/third_party/nixpkgs/pkgs/development/python-modules/ibis/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
593 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, python
, isPy27
}:
buildPythonPackage rec {
pname = "ibis";
version = "1.6.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "dmulholl";
repo = pname;
rev = version;
sha256 = "0xqhk397gzanvj2znwcgy4n5l1lc9r310smxkhjbm1xwvawpixx0";
};
checkPhase = ''
${python.interpreter} test_ibis.py
'';
meta = with lib; {
description = "A lightweight template engine";
homepage = "https://github.com/dmulholland/ibis";
license = licenses.publicDomain;
maintainers = [ maintainers.costrouc ];
};
}