diff options
author | Robert Scott <code@humanleg.org.uk> | 2020-09-27 15:02:47 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2020-09-27 15:35:53 +0100 |
commit | d9cb2736b4c5692e05a1e30613aecea42db4f6c5 (patch) | |
tree | 75ed0ec1d511791a3a0f8d79b737967e9f96c237 /pkgs/development | |
parent | 31a4e2e28bf29fc5ab1f70d28b5dbc2205a638a0 (diff) |
pythonPackages.chameleon: fix tests by switching to github source
tests are no longer included in the pypi tarball
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/chameleon/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/chameleon/default.nix b/pkgs/development/python-modules/chameleon/default.nix index d522764c79910..0af3d18824afa 100644 --- a/pkgs/development/python-modules/chameleon/default.nix +++ b/pkgs/development/python-modules/chameleon/default.nix @@ -1,17 +1,22 @@ { stdenv , buildPythonPackage -, fetchPypi +, fetchFromGitHub }: buildPythonPackage rec { pname = "Chameleon"; version = "3.8.1"; - src = fetchPypi { - inherit pname version; - sha256 = "adf9609a2fa4ad20deb390605495f9a5d617b737bfbd86e51a49bbac2acaf316"; + # 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"; |