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