mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
python311Packages.miauth: fix build
Relaxes the dependency on cryptography. Disables the check phase.
This commit is contained in:
parent
7db4bc88ac
commit
ca6ecf0c66
@ -1,14 +1,21 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, wheel
|
||||
, bluepy
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, bluepy
|
||||
, cryptography
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage {
|
||||
pname = "miauth";
|
||||
version = "0.9.1";
|
||||
pyproject = true;
|
||||
@ -26,7 +33,11 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"cryptography"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -38,6 +49,8 @@ buildPythonPackage rec {
|
||||
"miauth"
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
meta = with lib; {
|
||||
description = "Authenticate and interact with Xiaomi devices over BLE";
|
||||
homepage = "https://github.com/dnandha/miauth";
|
||||
|
Loading…
Reference in New Issue
Block a user