1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 fonttools, 6 pyclipper, 7 defcon, 8 fontpens, 9 setuptools, 10 setuptools-scm, 11 pytestCheckHook, 12}: 13 14buildPythonPackage rec { 15 pname = "booleanoperations"; 16 version = "0.9.0"; 17 pyproject = true; 18 19 src = fetchPypi { 20 pname = "booleanOperations"; 21 inherit version; 22 hash = "sha256-jPqCHDKtN0+hINay4LRE6+rFfJHmYxUoZF+hmsKigbg="; 23 extension = "zip"; 24 }; 25 26 build-system = [ 27 setuptools 28 setuptools-scm 29 ]; 30 31 dependencies = [ 32 fonttools 33 pyclipper 34 ]; 35 36 pythonImportsCheck = [ "booleanOperations" ]; 37 38 nativeCheckInputs = [ 39 defcon 40 fontpens 41 pytestCheckHook 42 ]; 43 44 disabledTests = [ 45 # started failing with fonttools update from 4.55.3 -> 4.56.0 46 "test_QTail_reversed_difference" 47 "test_QTail_reversed_intersection" 48 "test_QTail_reversed_union" 49 "test_QTail_reversed_xor" 50 "test_Q_difference" 51 "test_Q_intersection" 52 "test_Q_union" 53 "test_Q_xor" 54 ]; 55 56 meta = { 57 description = "Boolean operations on paths"; 58 homepage = "https://github.com/typemytype/booleanOperations"; 59 license = lib.licenses.mit; 60 maintainers = [ lib.maintainers.sternenseemann ]; 61 }; 62}