Merge pull request #161069 from fabaff/bump-certipy
certipy: unstable-2021-11-08 -> 2.0
This commit is contained in:
commit
2fa8877f1e
47
pkgs/development/python-modules/dsinternals/default.nix
Normal file
47
pkgs/development/python-modules/dsinternals/default.nix
Normal file
@ -0,0 +1,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
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -5,22 +5,23 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "certipy";
|
pname = "certipy";
|
||||||
version = "unstable-2021-11-08";
|
version = "2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ly4k";
|
owner = "ly4k";
|
||||||
repo = "Certipy";
|
repo = "Certipy";
|
||||||
rev = "c2f5581505c54f3bf9fe4e6f07c17fa9ef501cab";
|
rev = version;
|
||||||
sha256 = "0m2n30prqd9d02kmryk8vry4cabcad1892qr8a02qfg6r98x8q3q";
|
hash = "sha256-xN0DrLrxWNCEy3HodA1pOJHYhDyA1sMRVIfefbXq45E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
asn1crypto
|
asn1crypto
|
||||||
pycryptodome
|
dnspython
|
||||||
|
dsinternals
|
||||||
impacket
|
impacket
|
||||||
ldap3
|
ldap3
|
||||||
pyasn1
|
pyasn1
|
||||||
dnspython
|
pycryptodome
|
||||||
];
|
];
|
||||||
|
|
||||||
# Project has no tests
|
# Project has no tests
|
||||||
|
@ -2470,6 +2470,8 @@ in {
|
|||||||
|
|
||||||
ds4drv = callPackage ../development/python-modules/ds4drv { };
|
ds4drv = callPackage ../development/python-modules/ds4drv { };
|
||||||
|
|
||||||
|
dsinternals = callPackage ../development/python-modules/dsinternals { };
|
||||||
|
|
||||||
dsmr-parser = callPackage ../development/python-modules/dsmr-parser { };
|
dsmr-parser = callPackage ../development/python-modules/dsmr-parser { };
|
||||||
|
|
||||||
dtlssocket = callPackage ../development/python-modules/dtlssocket { };
|
dtlssocket = callPackage ../development/python-modules/dtlssocket { };
|
||||||
|
Loading…
Reference in New Issue
Block a user