nixpkgs/pkgs/applications/misc/ablog/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

37 lines
644 B
Nix

{ lib
, python3
}:
with python3.pkgs;
buildPythonApplication rec {
pname = "ablog";
version = "0.10.29";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-q2zoXCmnzzjXSBGFKzondOQRz7CjZp0wCiXxbgpXHIA=";
};
propagatedBuildInputs = [
feedgen
sphinx
invoke
watchdog
python-dateutil
];
nativeCheckInputs = [
pytestCheckHook
];
nativeBuildInputs = [ setuptools-scm ];
meta = with lib; {
description = "ABlog for blogging with Sphinx";
homepage = "https://ablog.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ rgrinberg ];
};
}