Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 30 lines 591 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, python 5, isPy27 6}: 7 8buildPythonPackage rec { 9 pname = "ibis"; 10 version = "1.6.0"; 11 disabled = isPy27; 12 13 src = fetchFromGitHub { 14 owner = "dmulholl"; 15 repo = pname; 16 rev = version; 17 sha256 = "0xqhk397gzanvj2znwcgy4n5l1lc9r310smxkhjbm1xwvawpixx0"; 18 }; 19 20 checkPhase = '' 21 ${python.interpreter} test_ibis.py 22 ''; 23 24 meta = with lib; { 25 description = "A lightweight template engine"; 26 homepage = https://github.com/dmulholland/ibis; 27 license = licenses.publicDomain; 28 maintainers = [ maintainers.costrouc ]; 29 }; 30}