Something went wrong. Try again.
lol
Something went wrong. Try again.
901 B · 47 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, hatchling, libclang, sphinx, clang, pytestCheckHook, strictyaml,}:
buildPythonPackage rec { pname = "hawkmoth"; version = "0.22.0"; pyproject = true;
src = fetchFromGitHub { owner = "jnikula"; repo = "hawkmoth"; tag = "v${version}"; hash = "sha256-iFyTayPC4TWOfTZrfJJILJyi5BWrsVLwnSFnSeMpB2c="; };
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/${src.tag}/CHANGELOG.rst"; license = lib.licenses.bsd2; maintainers = [ lib.maintainers.cynerd ]; };}