mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
Merge pull request #98947 from risicle/ris-chameleon-fix
pythonPackages.chameleon: fix tests by switching to github source
This commit is contained in:
commit
46a9046f37
@ -1,17 +1,22 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Chameleon";
|
pname = "Chameleon";
|
||||||
version = "3.8.1";
|
version = "3.8.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
# tests not included in pypi tarball
|
||||||
inherit pname version;
|
src = fetchFromGitHub {
|
||||||
sha256 = "adf9609a2fa4ad20deb390605495f9a5d617b737bfbd86e51a49bbac2acaf316";
|
owner = "malthe";
|
||||||
|
repo = "chameleon";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0nf8x4w2vh1a31wdb86nnvlic9xmr23j3in1f6fq4z6mv2jkwa87";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "chameleon" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://chameleon.readthedocs.io/";
|
homepage = "https://chameleon.readthedocs.io/";
|
||||||
description = "Fast HTML/XML Template Compiler";
|
description = "Fast HTML/XML Template Compiler";
|
||||||
|
Loading…
Reference in New Issue
Block a user