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