python3Packages.smbprotocol: init at 1.5.1
This commit is contained in:
parent
565cc2a0db
commit
52b3e47413
2 changed files with 45 additions and 0 deletions
43
pkgs/development/python-modules/smbprotocol/default.nix
Normal file
43
pkgs/development/python-modules/smbprotocol/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, pyspnego
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "smbprotocol";
|
||||
version = "1.5.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jborean93";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1ym0fvljbwgl1h7f63m3psbsvqm64fipsrrmbqb97hrhfdzxqxpa";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cryptography
|
||||
pyspnego
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "smbprotocol" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python SMBv2 and v3 Client";
|
||||
homepage = "https://github.com/jborean93/smbprotocol";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -7713,6 +7713,8 @@ in {
|
|||
|
||||
smartypants = callPackage ../development/python-modules/smartypants { };
|
||||
|
||||
smbprotocol = callPackage ../development/python-modules/smbprotocol { };
|
||||
|
||||
smbus-cffi = callPackage ../development/python-modules/smbus-cffi { };
|
||||
|
||||
smdebug-rulesconfig = callPackage ../development/python-modules/smdebug-rulesconfig { };
|
||||
|
|
Loading…
Reference in a new issue