liboprf: 0.8.0 -> 0.9.2; python313Packages.ble-serial: init at 3.0.0 (#439603)

authored by Weijia Wang and committed by GitHub ffdcdd03 c9823917

+77 -2
+1
pkgs/by-name/bl/ble-serial/package.nix
··· 1 + { python3Packages }: with python3Packages; toPythonApplication ble-serial
+7
pkgs/by-name/li/libopaque/package.nix
··· 28 28 liboprf 29 29 ]; 30 30 31 + # expand_message_xmd has been renamed to oprf_expand_message_xmd in liboprf 32 + # TODO: remove in the next release 33 + postPatch = '' 34 + substituteInPlace opaque.c \ 35 + --replace-fail 'expand_message_xmd' 'oprf_expand_message_xmd' 36 + ''; 37 + 31 38 postInstall = '' 32 39 mkdir -p ${placeholder "out"}/lib/pkgconfig 33 40 cp ../libopaque.pc ${placeholder "out"}/lib/pkgconfig/
+2 -2
pkgs/by-name/li/liboprf/package.nix
··· 9 9 10 10 stdenv.mkDerivation (finalAttrs: { 11 11 pname = "liboprf"; 12 - version = "0.8.0"; 12 + version = "0.9.2"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "stef"; 16 16 repo = "liboprf"; 17 17 tag = "v${finalAttrs.version}"; 18 - hash = "sha256-xDE9UkHDAaA7zC6IxxEIUG7ziS1yYNLJbmVJZLJyL7U="; 18 + hash = "sha256-Toja0rR0321i7L1dsB9YxrwNJwKUzuSfK5LLR3tex7U="; 19 19 }; 20 20 21 21 sourceRoot = "${finalAttrs.src.name}/src";
+57
pkgs/development/python-modules/ble-serial/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + hatchling, 6 + bleak, 7 + coloredlogs, 8 + pyserial, 9 + bless, 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "ble-serial"; 14 + version = "3.0.0"; 15 + pyproject = true; 16 + 17 + src = fetchFromGitHub { 18 + owner = "Jakeler"; 19 + repo = "ble-serial"; 20 + tag = "v${version}"; 21 + hash = "sha256-lbqu6VeE8XEIUvUILqKsTA+0/lxTr8GTbUBkSae/ruE="; 22 + fetchSubmodules = true; 23 + }; 24 + 25 + build-system = [ 26 + hatchling 27 + ]; 28 + 29 + dependencies = [ 30 + bleak 31 + coloredlogs 32 + pyserial 33 + ]; 34 + 35 + optional-dependencies = { 36 + server = [ 37 + bless 38 + ]; 39 + }; 40 + 41 + # Requires real hardware to test 42 + # https://github.com/Jakeler/ble-serial/blob/3f1a619208a0eb372a0993aadc086c4842946f21/tests/test.py 43 + doCheck = false; 44 + 45 + pythonImportsCheck = [ 46 + "ble_serial.bluetooth.ble_client" 47 + "ble_serial.scan" 48 + ]; 49 + 50 + meta = { 51 + description = "\"RFCOMM for BLE\" a Serial UART over Bluetooth low energy (4+) bridge"; 52 + homepage = "https://github.com/Jakeler/ble-serial"; 53 + license = lib.licenses.mit; 54 + maintainers = with lib.maintainers; [ eljamm ]; 55 + platforms = lib.platforms.unix; 56 + }; 57 + }
+8
pkgs/development/python-modules/pyoprf/default.nix
··· 4 4 buildPythonPackage, 5 5 liboprf, 6 6 setuptools, 7 + ble-serial, 8 + pyserial, 9 + pyserial-asyncio, 7 10 pysodium, 11 + pyudev, 8 12 securestring, 9 13 pytestCheckHook, 10 14 }: ··· 32 36 build-system = [ setuptools ]; 33 37 34 38 dependencies = [ 39 + ble-serial 40 + pyserial 41 + pyserial-asyncio 35 42 pysodium 43 + pyudev 36 44 securestring 37 45 ]; 38 46
+2
pkgs/top-level/python-packages.nix
··· 1971 1971 1972 1972 blake3 = callPackage ../development/python-modules/blake3 { }; 1973 1973 1974 + ble-serial = callPackage ../development/python-modules/ble-serial { }; 1975 + 1974 1976 bleach = callPackage ../development/python-modules/bleach { }; 1975 1977 1976 1978 bleach-allowlist = callPackage ../development/python-modules/bleach-allowlist { };