3
0
Fork 0
forked from mirrors/nixpkgs

ntfy: disable Darwin-native ntfy backend dependencies

This commit is contained in:
Luke Granger-Brown 2022-09-24 17:58:51 +01:00
parent 0491e30670
commit f2c3880ed4

View file

@ -64,6 +64,12 @@ in python.pkgs.buildPythonApplication rec {
})
];
postPatch = ''
# We disable the Darwin specific things because it relies on pyobjc, which we don't have.
substituteInPlace setup.py \
--replace "':sys_platform == \"darwin\"'" "'darwin'"
'';
checkPhase = ''
HOME=$(mktemp -d) ${python.interpreter} setup.py test
'';