1{ 2 lib, 3 buildPythonPackage, 4 pytestCheckHook, 5 pythonOlder, 6 setuptools, 7 six, 8 poetry-core, 9 fetchFromGitLab, 10}: 11 12buildPythonPackage { 13 pname = "hcs-utils"; 14 version = "2.1.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.9"; 18 19 src = fetchFromGitLab { 20 owner = "hcs"; 21 repo = "hcs_utils"; 22 rev = "77668de42895dedb6b4baddf4207f331776de897"; # No tags for 2.1 23 hash = "sha256-T0a2lYi3umRZQInEsxnLf5p6+IxkUmGJhgW8l2ESDd0="; 24 }; 25 26 build-system = [ 27 setuptools 28 poetry-core 29 ]; 30 31 dependencies = [ 32 six 33 ]; 34 35 disabledTests = [ 36 "test_expand" # It depends on FHS 37 "test_blocking" # flaky, depends on comparing running time w/ magic value 38 ]; 39 40 nativeCheckInputs = [ pytestCheckHook ]; 41 42 meta = { 43 description = "Library collecting some useful snippets"; 44 homepage = "https://gitlab.com/hcs/hcs_utils"; 45 license = lib.licenses.isc; 46 maintainers = with lib.maintainers; [ lovek323 ]; 47 }; 48}