mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
56 lines
877 B
Nix
56 lines
877 B
Nix
{ lib
|
|
, asyauth
|
|
, asysocks
|
|
, buildPythonPackage
|
|
, colorama
|
|
, fetchPypi
|
|
, minikerberos
|
|
, prompt-toolkit
|
|
, pycryptodomex
|
|
, pythonOlder
|
|
, six
|
|
, tqdm
|
|
, winacl
|
|
, winsspi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiosmb";
|
|
version = "0.4.3";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-jJVXGBK8wWXEGvCzOTicHUh9jH35d1ARIxkLwn/ctjM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
asyauth
|
|
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 ];
|
|
};
|
|
}
|