lol

python.pkgs.packet-python: 1.33 -> 1.37.1

+10 -2
+10 -2
pkgs/development/python-modules/packet-python/default.nix
··· 3 , fetchPypi 4 , requests 5 , python 6 }: 7 8 buildPythonPackage rec { 9 pname = "packet-python"; 10 - version = "1.33"; 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "0bmvfmvjm8jx0y8sv0jf5mhv0h3v8idx0sc5myxs7ig200584dd3"; 14 }; 15 propagatedBuildInputs = [ requests ]; 16 17 checkPhase = '' 18 ${python.interpreter} -m unittest discover -s test 19 ''; 20 21 # Not all test files are included in archive 22 doCheck = false;
··· 3 , fetchPypi 4 , requests 5 , python 6 + , fetchpatch 7 }: 8 9 buildPythonPackage rec { 10 pname = "packet-python"; 11 + version = "1.37.1"; 12 src = fetchPypi { 13 inherit pname version; 14 + sha256 = "316941d2473c0f42ac17ac89e9aa63a023bb96f35cf8eafe9e091ea424892778"; 15 }; 16 propagatedBuildInputs = [ requests ]; 17 18 checkPhase = '' 19 ${python.interpreter} -m unittest discover -s test 20 ''; 21 + 22 + patches = [ 23 + (fetchpatch { 24 + url = https://github.com/packethost/packet-python/commit/361ad0c60d0bfce2a992eefd17e917f9dcf36400.patch; 25 + sha256 = "1cmzyq0302y4cqmim6arnvn8n620qysq458g2w5aq4zj1vz1q9g1"; 26 + }) 27 + ]; 28 29 # Not all test files are included in archive 30 doCheck = false;