Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
916 B · 39 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940{ lib, buildPythonPackage, fetchFromGitHub, setuptools, importlib-metadata, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "chameleon"; version = "4.6.0"; pyproject = true;
src = fetchFromGitHub { owner = "malthe"; repo = "chameleon"; tag = version; hash = "sha256-zCEM5yl8Y11FbexD7veS9bFJgm30L6fsTde59m2t1ec="; };
build-system = [ setuptools ];
dependencies = lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "chameleon" ];
meta = with lib; { changelog = "https://github.com/malthe/chameleon/blob/${src.tag}/CHANGES.rst"; description = "Fast HTML/XML Template Compiler"; downloadPage = "https://github.com/malthe/chameleon"; homepage = "https://chameleon.readthedocs.io"; license = licenses.bsd0; maintainers = with maintainers; [ ]; };}