ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / dsinternals / default.nix
blob53d5e5acc9ff409c657f94e6e97b505b5aa09222
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pycryptodomex
5 , pyopenssl
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "dsinternals";
12   version = "1.2.4";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "p0dalirius";
19     repo = "pydsinternals";
20     rev = version;
21     hash = "sha256-C1ar9c4F4WI5ICX7PJe8FzVwK8bxZds+kMBpttEp9Ko=";
22   };
24   propagatedBuildInputs = [
25     pyopenssl
26     pycryptodomex
27   ];
29   checkInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "dsinternals"
35   ];
37   pytestFlagsArray = [
38     "tests/*.py"
39   ];
41   meta = with lib; {
42     description = "Module to interact with Windows Active Directory";
43     homepage = "https://github.com/p0dalirius/pydsinternals";
44     license = licenses.gpl2Only;
45     maintainers = with maintainers; [ fab ];
46   };