File tree Expand file tree Collapse file tree 1 file changed +1
-38
lines changed Expand file tree Collapse file tree 1 file changed +1
-38
lines changed Original file line number Diff line number Diff line change 3131
3232 # darwin
3333 appnope ,
34- darwin ,
3534 pyobjc-core ,
3635 pyobjc-framework-Cocoa ,
37- # pyobjc-framework-Quartz, # when nixpkgs got it
36+ pyobjc-framework-Quartz ,
3837} :
3938let
4039 plover-stroke = buildPythonPackage {
4443 pyproject = true ;
4544 build-system = [ setuptools ] ;
4645 } ;
47- pyobjc-framework-Quartz = buildPythonPackage {
48- pname = "pyobjc-framework-Quartz" ;
49- version = "11.0" ;
50- src = inputs . pyobjc ;
51- pyproject = true ;
52- build-system = [ setuptools ] ;
53- sourceRoot = "source/pyobjc-framework-Quartz" ;
54-
55- buildInputs = [
56- darwin . libffi
57- ] ;
58-
59- nativeBuildInputs = [
60- darwin . DarwinTools # sw_vers
61- ] ;
62-
63- dependencies = [
64- pyobjc-core
65- pyobjc-framework-Cocoa
66- ] ;
67-
68- postPatch = ''
69- substituteInPlace pyobjc_setup.py \
70- --replace-fail "-buildversion" "-buildVersion" \
71- --replace-fail "-productversion" "-productVersion" \
72- --replace-fail "/usr/bin/sw_vers" "sw_vers" \
73- --replace-fail "/usr/bin/xcrun" "xcrun"
74- '' ;
75-
76- env . NIX_CFLAGS_COMPILE = toString [
77- "-I${ darwin . libffi . dev } /include"
78- "-Wno-error=unused-command-line-argument"
79- ] ;
80-
81- pythonImportsCheck = [ "Quartz" ] ;
82- } ;
8346 rtf-tokenize = buildPythonPackage {
8447 pname = "rtf_tokenize" ;
8548 version = "master" ;
You can’t perform that action at this time.
0 commit comments