jinja2-git: init at 1.1.0 (#134889)
* jinja2_git: init at 1.1.0 * style(jinja2-git): reorder fields Co-authored-by: Sandro <sandro.jaeckel@gmail.com> * style(jinja2-git): rename the expression Co-authored-by: Sandro <sandro.jaeckel@gmail.com> * jinja2-git: use an unstable version * jinja2-git: rename directory Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
0a77895134
commit
f580d01244
2 changed files with 35 additions and 0 deletions
33
pkgs/development/python-modules/jinja2-git/default.nix
Normal file
33
pkgs/development/python-modules/jinja2-git/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, jinja2
|
||||||
|
, poetry-core
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "jinja2-git";
|
||||||
|
version = "unstable-2021-07-20";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "wemake-services";
|
||||||
|
repo = "jinja2-git";
|
||||||
|
# this is master, we can't patch because of poetry.lock :(
|
||||||
|
# luckily, there appear to have been zero API changes since then, only
|
||||||
|
# dependency upgrades
|
||||||
|
rev = "c6d19b207eb6ac07182dc8fea35251d286c82512";
|
||||||
|
sha256 = "0yw0318w57ksn8azmdyk3zmyzfhw0k281fddnxyf4115bx3aph0g";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ poetry-core ];
|
||||||
|
propagatedBuildInputs = [ jinja2 ];
|
||||||
|
pythonImportsCheck = [ "jinja2_git" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/wemake-services/jinja2-git";
|
||||||
|
description = "Jinja2 extension to handle git-specific things";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ cpcloud ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -3734,6 +3734,8 @@ in {
|
||||||
|
|
||||||
jinja2 = callPackage ../development/python-modules/jinja2 { };
|
jinja2 = callPackage ../development/python-modules/jinja2 { };
|
||||||
|
|
||||||
|
jinja2-git = callPackage ../development/python-modules/jinja2-git { };
|
||||||
|
|
||||||
jinja2_pluralize = callPackage ../development/python-modules/jinja2_pluralize { };
|
jinja2_pluralize = callPackage ../development/python-modules/jinja2_pluralize { };
|
||||||
|
|
||||||
jinja2_time = callPackage ../development/python-modules/jinja2_time { };
|
jinja2_time = callPackage ../development/python-modules/jinja2_time { };
|
||||||
|
|
Loading…
Reference in a new issue