Merge pull request #157266 from fabaff/bump-asysocks

authored by Sandro and committed by GitHub 502d7ab8 fb3834f3

+15 -3
+15 -3
pkgs/development/python-modules/asysocks/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 }: 5 6 buildPythonPackage rec { 7 pname = "asysocks"; 8 - version = "0.1.2"; 9 10 src = fetchPypi { 11 inherit pname version; 12 - sha256 = "1hi9hzih265qlh7x32r5pbaqm9wkhm52yrdiksnd4gl5nrdgwcwv"; 13 }; 14 15 # Upstream hasn't release the tests yet 16 doCheck = false; 17 - pythonImportsCheck = [ "asysocks" ]; 18 19 meta = with lib; { 20 description = "Python Socks4/5 client and server library";
··· 1 { lib 2 + , asn1crypto 3 , buildPythonPackage 4 , fetchPypi 5 + , pythonOlder 6 }: 7 8 buildPythonPackage rec { 9 pname = "asysocks"; 10 + version = "0.1.6"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + sha256 = "sha256-uXrJBc1Moeeo58KV+csiztXf0/F+iI5xy/BaHWek05M="; 18 }; 19 20 + propagatedBuildInputs = [ 21 + asn1crypto 22 + ]; 23 + 24 # Upstream hasn't release the tests yet 25 doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "asysocks" 29 + ]; 30 31 meta = with lib; { 32 description = "Python Socks4/5 client and server library";