nixpkgs/pkgs/development/python-modules/jinja2-ansible-filters/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

32 lines
670 B
Nix

{ lib, buildPythonPackage, fetchPypi
, jinja2
, pyyaml
}:
buildPythonPackage rec {
pname = "jinja2-ansible-filters";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-B8EM9E1wc/TwEQLKEtmi3DG0HUfkxh7ZLvam0mabNWs=";
};
propagatedBuildInputs = [
jinja2
pyyaml
];
# no tests include in sdist, and source not available
doCheck = false;
pythonImportsCheck = [ "jinja2_ansible_filters" ];
meta = with lib; {
description = "Jinja2 Ansible Filters";
homepage = "https://pypi.org/project/jinja2-ansible-filters/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jonringer ];
};
}