mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
48 lines
911 B
Nix
48 lines
911 B
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "ablog";
|
|
version = "0.11.4.post1";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Zyvx7lVUQtjoGsSpFmH8pFrgTGgsFd4GMsL3fXKtUpU=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
setuptools
|
|
setuptools-scm
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
docutils
|
|
feedgen
|
|
invoke
|
|
packaging
|
|
python-dateutil
|
|
sphinx
|
|
watchdog
|
|
];
|
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pytestFlagsArray = [
|
|
"-W" "ignore::sphinx.deprecation.RemovedInSphinx90Warning"
|
|
"--rootdir" "src/ablog"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "ABlog for blogging with Sphinx";
|
|
homepage = "https://ablog.readthedocs.io/en/latest/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ rgrinberg ];
|
|
};
|
|
}
|