python312Packages.asyncssh: use pyproject = true
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, bcrypt
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
@@ -15,13 +14,14 @@
|
||||
, pytestCheckHook
|
||||
, python-pkcs11
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncssh";
|
||||
version = "2.14.2";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@@ -30,14 +30,19 @@ buildPythonPackage rec {
|
||||
hash = "sha256-6Va/iYjQega6MwX2YE4mH0ygFMSiMvCHPxx2kvvjz8I=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
cryptography
|
||||
libsodium
|
||||
nettle
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
buildInputs = [
|
||||
libsodium
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
bcrypt = [
|
||||
bcrypt
|
||||
];
|
||||
@@ -64,7 +69,7 @@ buildPythonPackage rec {
|
||||
openssh
|
||||
openssl
|
||||
pytestCheckHook
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
] ++ lib.flatten (builtins.attrValues optional-dependencies);
|
||||
|
||||
patches = [
|
||||
# Reverts https://github.com/ronf/asyncssh/commit/4b3dec994b3aa821dba4db507030b569c3a32730
|
||||
|
||||
Reference in New Issue
Block a user