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
48 lines
951 B
Nix
48 lines
951 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
flit-core,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "orderly-set";
|
|
version = "5.5.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "seperman";
|
|
repo = "orderly-set";
|
|
tag = version;
|
|
hash = "sha256-xrxH/LB+cyZlVf+sVwOtAf9+DojYPDnudHpqlVuARLg=";
|
|
};
|
|
|
|
build-system = [
|
|
flit-core
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"orderly_set"
|
|
];
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
disabledTests = [
|
|
# Statically analyzes types, can be disabled so that mypy won't be needed.
|
|
"test_typing_mypy"
|
|
];
|
|
|
|
meta = {
|
|
description = "Multiple implementations of Ordered Set";
|
|
homepage = "https://github.com/seperman/orderly-set";
|
|
changelog = "https://github.com/seperman/orderly-set/blob/${src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ doronbehar ];
|
|
};
|
|
}
|