mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
31 lines
591 B
Nix
31 lines
591 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 ];
|
|
};
|
|
}
|