3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/chameleon/default.nix
Robert Scott d9cb2736b4 pythonPackages.chameleon: fix tests by switching to github source
tests are no longer included in the pypi tarball
2020-09-27 15:35:53 +01:00

28 lines
590 B
Nix

{ stdenv
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "Chameleon";
version = "3.8.1";
# tests not included in pypi tarball
src = fetchFromGitHub {
owner = "malthe";
repo = "chameleon";
rev = version;
sha256 = "0nf8x4w2vh1a31wdb86nnvlic9xmr23j3in1f6fq4z6mv2jkwa87";
};
pythonImportsCheck = [ "chameleon" ];
meta = with stdenv.lib; {
homepage = "https://chameleon.readthedocs.io/";
description = "Fast HTML/XML Template Compiler";
license = licenses.bsd0;
maintainers = with maintainers; [ domenkozar ];
};
}