Files
nixpkgs/pkgs/development/python-modules/cffconvert/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

58 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
click,
requests,
ruamel-yaml,
pykwalify,
jsonschema,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "cffconvert";
version = "2.0.0-unstable-2024-02-12";
pyproject = true;
src = fetchFromGitHub {
owner = "citation-file-format";
repo = "cffconvert";
rev = "5295f87c0e261da61a7b919fc754e3a77edd98a7";
hash = "sha256-/2qhWVNylrqPSf1KmuZQahzq+YH860cohVSfJsDm1BE=";
};
build-system = [ setuptools ];
dependencies = [
click
requests
ruamel-yaml
pykwalify
jsonschema
];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
disabledTestPaths = [
# requires network access
"tests/cli/test_rawify_url.py"
];
pythonImportsCheck = [ "cffconvert" ];
meta = {
changelog = "https://github.com/citation-file-format/cffconvert/blob/${src.rev}/CHANGELOG.md";
description = "Command line program to validate and convert CITATION.cff files";
homepage = "https://github.com/citation-file-format/cffconvert";
license = lib.licenses.asl20;
mainProgram = "cffconvert";
maintainers = [ ];
};
}