1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5
6 # build-system
7 flit-core,
8
9 # tests
10 pytestCheckHook,
11}:
12
13buildPythonPackage rec {
14 pname = "orderly-set";
15 version = "5.5.0";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "seperman";
20 repo = "orderly-set";
21 tag = version;
22 hash = "sha256-xrxH/LB+cyZlVf+sVwOtAf9+DojYPDnudHpqlVuARLg=";
23 };
24
25 build-system = [
26 flit-core
27 ];
28
29 pythonImportsCheck = [
30 "orderly_set"
31 ];
32 nativeCheckInputs = [
33 pytestCheckHook
34 ];
35 disabledTests = [
36 # Statically analyzes types, can be disabled so that mypy won't be needed.
37 "test_typing_mypy"
38 ];
39
40 meta = {
41 description = "Multiple implementations of Ordered Set";
42 homepage = "https://github.com/seperman/orderly-set";
43 changelog = "https://github.com/seperman/orderly-set/blob/${src.tag}/CHANGELOG.md";
44 license = lib.licenses.mit;
45 maintainers = with lib.maintainers; [ doronbehar ];
46 };
47}