2021-01-10 23:54:33 -08:00
|
|
|
{ lib, stdenv
|
2018-10-16 10:21:27 -07:00
|
|
|
, buildPythonPackage
|
2020-09-27 07:02:47 -07:00
|
|
|
, fetchFromGitHub
|
2018-10-16 10:21:27 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Chameleon";
|
2020-08-16 10:30:55 -07:00
|
|
|
version = "3.8.1";
|
2018-10-16 10:21:27 -07:00
|
|
|
|
2020-09-27 07:02:47 -07:00
|
|
|
# tests not included in pypi tarball
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "malthe";
|
|
|
|
repo = "chameleon";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0nf8x4w2vh1a31wdb86nnvlic9xmr23j3in1f6fq4z6mv2jkwa87";
|
2018-10-16 10:21:27 -07:00
|
|
|
};
|
|
|
|
|
2020-09-27 07:02:47 -07:00
|
|
|
pythonImportsCheck = [ "chameleon" ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://chameleon.readthedocs.io/";
|
2018-10-16 10:21:27 -07:00
|
|
|
description = "Fast HTML/XML Template Compiler";
|
|
|
|
license = licenses.bsd0;
|
2019-07-03 02:27:39 -07:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2018-10-16 10:21:27 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|