blob: 2313dd9d3275947c8489849d83ebd6da9ca45c5a (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pycryptodomex,
pyopenssl,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dsinternals";
version = "1.2.4";
format = "setuptools";
src = fetchFromGitHub {
owner = "p0dalirius";
repo = "pydsinternals";
rev = version;
hash = "sha256-C1ar9c4F4WI5ICX7PJe8FzVwK8bxZds+kMBpttEp9Ko=";
};
propagatedBuildInputs = [
pyopenssl
pycryptodomex
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dsinternals" ];
enabledTestPaths = [ "tests/*.py" ];
meta = {
description = "Module to interact with Windows Active Directory";
homepage = "https://github.com/p0dalirius/pydsinternals";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ fab ];
};
}
|