a3bb8d7922
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
51 lines
872 B
Nix
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 ];
|
|
};
|
|
}
|