nixpkgs/pkgs/development/python-modules/pypugjs/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

52 lines
925 B
Nix

{ lib
, buildPythonPackage
, charset-normalizer
, django
, fetchFromGitHub
, jinja2
, mako
, nose
, pyramid
, pyramid-mako
, pytestCheckHook
, six
, tornado
}:
buildPythonPackage rec {
pname = "pypugjs";
version = "5.9.12";
format = "setuptools";
src = fetchFromGitHub {
owner = "kakulukia";
repo = "pypugjs";
rev = "v${version}";
hash = "sha256-6tIhKCa8wg01gNFygCS6GdUHfbWBu7wOZeMkCExRR34=";
};
propagatedBuildInputs = [ six charset-normalizer ];
nativeCheckInputs = [
django
jinja2
mako
nose
tornado
pyramid
pyramid-mako
pytestCheckHook
];
pytestCheckFlags = [
"pypugjs/testsuite"
];
meta = with lib; {
description = "PugJS syntax template adapter for Django, Jinja2, Mako and Tornado templates";
homepage = "https://github.com/kakulukia/pypugjs";
license = licenses.mit;
maintainers = with maintainers; [ lopsided98 ];
};
}