nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 850 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 jinja2, 6 poetry-core, 7}: 8 9buildPythonPackage rec { 10 pname = "jinja2-git"; 11 version = "1.4.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "wemake-services"; 16 repo = "jinja2-git"; 17 tag = version; 18 hash = "sha256-ZcKRLHcZ/rpiUyYK4ifDJaZriN+YyRF1RKCjIKum98U="; 19 }; 20 21 build-system = [ poetry-core ]; 22 23 dependencies = [ jinja2 ]; 24 25 # the tests need to be run on the git repository 26 doCheck = false; 27 28 pythonImportsCheck = [ "jinja2_git" ]; 29 30 meta = { 31 homepage = "https://github.com/wemake-services/jinja2-git"; 32 description = "Jinja2 extension to handle git-specific things"; 33 changelog = "https://github.com/wemake-services/jinja2-git/blob/${src.rev}/CHANGELOG.md"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ cpcloud ]; 36 }; 37}