python3Packages.hawkmoth: init at version 0.21.0

Changed files
+49
pkgs
development
python-modules
hawkmoth
top-level
+47
pkgs/development/python-modules/hawkmoth/default.nix
···
+
{
+
lib,
+
buildPythonPackage,
+
fetchFromGitHub,
+
hatchling,
+
libclang,
+
sphinx,
+
clang,
+
pytestCheckHook,
+
strictyaml,
+
}:
+
+
buildPythonPackage rec {
+
pname = "hawkmoth";
+
version = "0.21.0";
+
pyproject = true;
+
+
src = fetchFromGitHub {
+
owner = "jnikula";
+
repo = "hawkmoth";
+
tag = "v${version}";
+
hash = "sha256-ePi7whsibStYwG75Eso7A0GkSbn8JesacaDU5IRF9iE=";
+
};
+
+
build-system = [ hatchling ];
+
+
dependencies = [
+
libclang
+
sphinx
+
];
+
propagatedBuildInputs = [ clang ];
+
+
nativeCheckInputs = [
+
clang
+
pytestCheckHook
+
strictyaml
+
];
+
pythonImportsCheck = [ "hawkmoth" ];
+
+
meta = {
+
description = "Sphinx Autodoc for C";
+
homepage = "https://jnikula.github.io/hawkmoth/";
+
changelog = "https://github.com/jnikula/hawkmoth/blob/v${version}/CHANGELOG.rst";
+
license = lib.licenses.bsd2;
+
maintainers = [ lib.maintainers.cynerd ];
+
};
+
}
+2
pkgs/top-level/python-packages.nix
···
hawkauthlib = callPackage ../development/python-modules/hawkauthlib { };
+
hawkmoth = callPackage ../development/python-modules/hawkmoth { };
+
haystack-ai = callPackage ../development/python-modules/haystack-ai { };
hcloud = callPackage ../development/python-modules/hcloud { };