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
37 lines
803 B
Nix
37 lines
803 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
approvaltests,
|
|
setuptools,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "approval-utilities";
|
|
inherit (approvaltests) version src;
|
|
pyproject = true;
|
|
|
|
postPatch = approvaltests.postPatch or "" + ''
|
|
mv setup.approval_utilities.py setup.py
|
|
'';
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
# used in approval_utilities/utilities/time_utilities.py
|
|
typing-extensions
|
|
];
|
|
|
|
pythonImportsCheck = [ "approval_utilities" ];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Utilities for your production code that work well with approvaltests";
|
|
homepage = "https://github.com/approvals/ApprovalTests.Python";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|