3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #117467 from fabaff/bump-pypykatz

This commit is contained in:
Sandro 2021-03-24 19:35:35 +01:00 committed by GitHub
commit 8139750f2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 7 deletions

View file

@ -0,0 +1,44 @@
{ lib
, asysocks
, buildPythonPackage
, fetchPypi
, minikerberos
, prompt_toolkit
, pythonOlder
, six
, tqdm
, winacl
, winsspi
}:
buildPythonPackage rec {
pname = "aiosmb";
version = "0.2.37";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "0daf1fk7406vpywc0yxv0wzf4nw986js9lc2agfyfxz0q7s29lf0";
};
propagatedBuildInputs = [
minikerberos
winsspi
six
asysocks
tqdm
prompt_toolkit
winacl
];
# Project doesn't have tests
doCheck = false;
pythonImportsCheck = [ "aiosmb" ];
meta = with lib; {
description = "Python SMB library";
homepage = "https://github.com/skelsec/aiosmb";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1,7 +1,8 @@
{ lib
, aiosmb
, aiowinreg
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, minidump
, minikerberos
, msldap
@ -10,16 +11,15 @@
buildPythonPackage rec {
pname = "pypykatz";
version = "0.4.3";
version = "0.4.7";
src = fetchFromGitHub {
owner = "skelsec";
repo = pname;
rev = version;
sha256 = "sha256-ows6zJyygdAwgKNKKCURWX+kl42f3CN23/xZrLjkfrw=";
src = fetchPypi {
inherit pname version;
sha256 = "0il5sj47wyf9gn76alm8v1l63rqw2vsd27v6f7q1dpn0wq209syi";
};
propagatedBuildInputs = [
aiosmb
aiowinreg
minikerberos
msldap

View file

@ -322,6 +322,8 @@ in {
aioshelly = callPackage ../development/python-modules/aioshelly { };
aiosmb = callPackage ../development/python-modules/aiosmb { };
aiosmtpd = callPackage ../development/python-modules/aiosmtpd { };
aiosqlite = callPackage ../development/python-modules/aiosqlite { };