Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cde89e3ecf8f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: abfd29cace6f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 24, 2020

  1. Copy the full SHA
    abfd29c View commit details
Showing with 8 additions and 5 deletions.
  1. +8 −5 pkgs/development/python-modules/asyncssh/default.nix
13 changes: 8 additions & 5 deletions pkgs/development/python-modules/asyncssh/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, cryptography
, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl
, openssl, openssh }:
, openssl, openssh, pytestCheckHook }:

buildPythonPackage rec {
pname = "asyncssh";
@@ -23,6 +23,11 @@ buildPythonPackage rec {
./fix-sftp-chmod-test-nixos.patch
];

# Disables windows specific test (specifically the GSSAPI wrapper for Windows)
postPatch = ''
rm tests/sspi_stub.py
'';

propagatedBuildInputs = [
bcrypt
cryptography
@@ -36,12 +41,10 @@ buildPythonPackage rec {
checkInputs = [
openssh
openssl
pytestCheckHook
];

# Disables windows specific test (specifically the GSSAPI wrapper for Windows)
postPatch = ''
rm tests/sspi_stub.py
'';
disabledTests = [ "test_expired_root" "test_confirm" ];

meta = with stdenv.lib; {
description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework";