nixpkgs/pkgs/development/python-modules/aiosmb/default.nix

52 lines
872 B
Nix
Raw Normal View History

2021-03-24 13:20:28 +00:00
{ lib
, asysocks
, buildPythonPackage
, colorama
, fetchFromGitHub
2021-03-24 13:20:28 +00:00
, minikerberos
, prompt-toolkit
, pycryptodomex
2021-03-24 13:20:28 +00:00
, pythonOlder
, six
, tqdm
, winacl
, winsspi
}:
buildPythonPackage rec {
pname = "aiosmb";
version = "0.2.50";
2021-03-24 13:20:28 +00:00
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "skelsec";
repo = pname;
rev = version;
sha256 = "016pylxqmzm1hn1mvx6jhxvgckdqpf993sd1bki07pblmm4ikl6q";
2021-03-24 13:20:28 +00:00
};
propagatedBuildInputs = [
asysocks
colorama
2021-03-24 13:20:28 +00:00
minikerberos
prompt-toolkit
pycryptodomex
2021-03-24 13:20:28 +00:00
six
tqdm
winacl
winsspi
2021-03-24 13:20:28 +00:00
];
# Project doesn't have tests
doCheck = false;
2021-03-24 13:20:28 +00:00
pythonImportsCheck = [ "aiosmb" ];
meta = with lib; {
description = "Python SMB library";
homepage = "https://github.com/skelsec/aiosmb";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}