nixpkgs/pkgs/development/python-modules/kajiki/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

33 lines
650 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, babel
, pytz
, nine
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "kajiki";
version = "0.9.1";
src = fetchFromGitHub {
owner = "jackrosenthal";
repo = pname;
rev = "v${version}";
sha256 = "sha256-bdQBVFHRB408/7X9y+3+fpllhymFRsdv/MEPTVjJh2E=";
};
propagatedBuildInputs = [ babel pytz nine ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Kajiki provides fast well-formed XML templates";
homepage = "https://github.com/nandoflorestan/kajiki";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}