Something went wrong. Try again.
lol
Something went wrong. Try again.
943 B · 41 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, flit-core, pytestCheckHook,}:
buildPythonPackage rec { pname = "asyncinotify"; version = "4.4.0"; pyproject = true;
src = fetchFromGitHub { owner = "absperf"; repo = "asyncinotify"; tag = "v${version}"; hash = "sha256-u83k/Wu6WA6lZxLpdPpp6Hi6gmJIgXAXh7q8OJvW2vk="; };
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "asyncinotify" ];
enabledTestPaths = [ "test.py" ];
meta = { badPlatforms = [ # Unsupported and crashing on import in dlsym with symbol not found "aarch64-darwin" "x86_64-darwin" ]; description = "Module for inotify"; homepage = "https://github.com/absperf/asyncinotify/"; changelog = "https://github.com/absperf/asyncinotify/releases/tag/${src.tag}"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ cynerd ]; };}