12 buildPythonPackage rec {
13 pname = "openant-unstable";
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-wDtHlkVyD7mMDXZ4LGMgatr9sSlQKVbgkYsKvHGr9Pc=";
31 install -dm755 "$out/etc/udev/rules.d"
32 install -m644 resources/42-ant-usb-sticks.rules "$out/etc/udev/rules.d/99-ant-usb-sticks.rules"
35 propagatedBuildInputs = [ pyusb ];
37 passthru.optional-dependencies = {
50 pythonImportsCheck = [
55 homepage = "https://github.com/Tigge/openant";
56 description = "ANT and ANT-FS Python Library";
57 mainProgram = "openant";
58 license = licenses.mit;