blob: 59353d9806edd1440f2ea3527af3da2b998eed1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "pre2k";
version = "3.0-unstable-2024-03-14";
pyproject = true;
src = fetchFromGitHub {
owner = "garrettfoster13";
repo = "pre2k";
rev = "3baa7b73aedd45f52e417210081da3dd010c1b22";
hash = "sha256-0lgH7Z9LuiZwODdFvKWcqS1TV02aVjzD9RgOhX0lU6s=";
};
pythonRelaxDeps = [
"impacket"
"pyasn1"
"rich"
"typer"
];
nativeBuildInputs = with python3.pkgs; [
poetry-core
pythonRelaxDepsHook
];
propagatedBuildInputs = with python3.pkgs; [
impacket
ldap3
pyasn1
rich
typer
];
pythonImportsCheck = [
"pre2k"
];
meta = with lib; {
description = "Tool to query for the existence of pre-windows 2000 computer objects";
homepage = "https://github.com/garrettfoster13/pre2k";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "pre2k";
};
}
|