diff --git a/pkgs/development/python-modules/aiosmb/default.nix b/pkgs/development/python-modules/aiosmb/default.nix index 06ae856296f0..20f38aef3634 100644 --- a/pkgs/development/python-modules/aiosmb/default.nix +++ b/pkgs/development/python-modules/aiosmb/default.nix @@ -2,7 +2,7 @@ , asysocks , buildPythonPackage , colorama -, fetchFromGitHub +, fetchPypi , minikerberos , prompt-toolkit , pycryptodomex @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "aiosmb"; - version = "0.2.50"; + version = "0.3.8"; + format = "setuptools"; + disabled = pythonOlder "3.7"; - src = fetchFromGitHub { - owner = "skelsec"; - repo = pname; - rev = version; - sha256 = "016pylxqmzm1hn1mvx6jhxvgckdqpf993sd1bki07pblmm4ikl6q"; + src = fetchPypi { + inherit pname version; + sha256 = "sha256-CvqQEJPwrZHQuEId7GbIC9LpyyN6jaQFmEQTpddHU5g="; }; propagatedBuildInputs = [ @@ -40,7 +40,9 @@ buildPythonPackage rec { # Project doesn't have tests doCheck = false; - pythonImportsCheck = [ "aiosmb" ]; + pythonImportsCheck = [ + "aiosmb" + ]; meta = with lib; { description = "Python SMB library";