depot/third_party/nixpkgs/pkgs/development/python-modules/aiosmb/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

51 lines
872 B
Nix

{ lib
, asysocks
, buildPythonPackage
, colorama
, fetchFromGitHub
, minikerberos
, prompt-toolkit
, pycryptodomex
, pythonOlder
, six
, tqdm
, winacl
, winsspi
}:
buildPythonPackage rec {
pname = "aiosmb";
version = "0.2.50";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "skelsec";
repo = pname;
rev = version;
sha256 = "016pylxqmzm1hn1mvx6jhxvgckdqpf993sd1bki07pblmm4ikl6q";
};
propagatedBuildInputs = [
asysocks
colorama
minikerberos
prompt-toolkit
pycryptodomex
six
tqdm
winacl
winsspi
];
# 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 ];
};
}