mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-05-05 21:32:24 +00:00
Merge pull request #271323 from SuperSandro2000/ledfx-deps
ledfx: add python-{mbedtls,osc} dependency
This commit is contained in:
commit
a66c1d8c1e
@ -16,7 +16,7 @@ python3.pkgs.buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'rpi-ws281x>=4.3.0; platform_system == \"Linux\"'," "" \
|
||||
--replace '"sentry-sdk==1.14.0",' "" \
|
||||
--replace '"sentry-sdk==1.14.0",' "sentry-sdk" \
|
||||
--replace "~=" ">="
|
||||
'';
|
||||
|
||||
@ -40,6 +40,8 @@ python3.pkgs.buildPythonPackage rec {
|
||||
psutil
|
||||
pyserial
|
||||
pystray
|
||||
python-mbedtls
|
||||
python-osc
|
||||
python-rtmidi
|
||||
# rpi-ws281x # not packaged
|
||||
requests
|
||||
|
50
pkgs/development/python-modules/python-mbedtls/default.nix
Normal file
50
pkgs/development/python-modules/python-mbedtls/default.nix
Normal file
@ -0,0 +1,50 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, certifi
|
||||
, cython
|
||||
, mbedtls_2
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-mbedtls";
|
||||
version = "2.8.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Synss";
|
||||
repo = "python-mbedtls";
|
||||
rev = version;
|
||||
hash = "sha256-gMFludfAprQ/1JR77Ee6/xVvGLJ9pY1LrouLpSKVrzk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
mbedtls_2
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mbedtls" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cryptographic library with an mbed TLS back end";
|
||||
homepage = "https://github.com/Synss/python-mbedtls";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -9370,6 +9370,8 @@ self: super: with self; {
|
||||
|
||||
python-lsp-black = callPackage ../development/python-modules/python-lsp-black { };
|
||||
|
||||
python-mbedtls = callPackage ../development/python-modules/python-mbedtls { };
|
||||
|
||||
python-memcached = callPackage ../development/python-modules/python-memcached { };
|
||||
|
||||
python-otbr-api = callPackage ../development/python-modules/python-otbr-api { };
|
||||
|
Loading…
Reference in New Issue
Block a user