Files
nixpkgs/pkgs/development/python-modules/hatch-docstring-description/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
976 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
hatch-vcs,
hatchling,
lib,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "hatch-docstring-description";
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "flying-sheep";
repo = "hatch-docstring-description";
tag = "v${version}";
hash = "sha256-ouor0FV3qdXYJx5EWFUWSKp8Cc/EuD1WXrtLvbYG+XI=";
};
build-system = [
hatchling
hatch-vcs
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# See https://github.com/flying-sheep/hatch-docstring-description/issues/107
"test_e2e[.]"
"test_e2e[src]"
];
pythonImportsCheck = [ "hatch_docstring_description" ];
meta = {
description = "Derive PyPI package description from Python package docstring";
homepage = "https://github.com/flying-sheep/hatch-docstring-description";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [
samuela
];
};
}