depot/third_party/nixpkgs/pkgs/applications/misc/ablog/default.nix

38 lines
662 B
Nix
Raw Normal View History

{ lib
, python3
, fetchPypi
}:
with python3.pkgs;
buildPythonApplication rec {
pname = "ablog";
version = "0.10.33.post1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+vrVQ4sItCXrSCzNXyKk6/6oDBOyfyD7iNWzmcbE/BQ=";
};
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 ];
};
}