credslayer: no longer broken

This commit is contained in:
Fabian Affolter 2022-11-04 08:55:58 +01:00 committed by GitHub
parent ac60345207
commit 00c31fb1cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,12 +7,13 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "credslayer"; pname = "credslayer";
version = "0.1.3"; version = "0.1.3";
format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ShellCode33"; owner = "ShellCode33";
repo = "CredSLayer"; repo = "CredSLayer";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-gryV9MHULY6ZHy6YDFQDIkZsfIX8La0tHT0vrrQJNDQ="; hash = "sha256-gryV9MHULY6ZHy6YDFQDIkZsfIX8La0tHT0vrrQJNDQ=";
}; };
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
@ -24,7 +25,9 @@ python3.pkgs.buildPythonApplication rec {
pytestCheckHook pytestCheckHook
]; ];
pytestFlagsArray = [ "tests/tests.py" ]; pytestFlagsArray = [
"tests/tests.py"
];
disabledTests = [ disabledTests = [
# Requires a telnet setup # Requires a telnet setup
@ -36,7 +39,9 @@ python3.pkgs.buildPythonApplication rec {
"test_ntlmssp" "test_ntlmssp"
]; ];
pythonImportsCheck = [ "credslayer" ]; pythonImportsCheck = [
"credslayer"
];
postInstall = '' postInstall = ''
wrapProgram $out/bin/credslayer \ wrapProgram $out/bin/credslayer \
@ -48,8 +53,5 @@ python3.pkgs.buildPythonApplication rec {
homepage = "https://github.com/ShellCode33/CredSLayer"; homepage = "https://github.com/ShellCode33/CredSLayer";
license = with licenses; [ gpl3Only ]; license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
# Upstream issue https://github.com/ShellCode33/CredSLayer/issues/16
# This package works only with pyshark < 0.5
broken = true;
}; };
} }