Merge pull request #194248 from oxzi/pypcap-1.3.0

pythonPackage.pypcap: 1.2.3 -> 1.3.0

authored by

Guillaume Girol and committed by
GitHub
9eb63516 3afe44bb

+4 -14
+4 -14
pkgs/development/python-modules/pypcap/default.nix
··· 2 2 , buildPythonPackage 3 3 , dpkt 4 4 , fetchFromGitHub 5 - , fetchpatch 6 5 , libpcap 7 6 , pytestCheckHook 8 7 }: 9 8 10 9 buildPythonPackage rec { 11 10 pname = "pypcap"; 12 - version = "1.2.3"; 13 - 11 + version = "1.3.0"; 14 12 15 13 src = fetchFromGitHub { 16 14 owner = "pynetwork"; 17 15 repo = pname; 18 - rev = "v${version}"; 19 - sha256 = "1zscfk10jpqwxgc8d84y8bffiwr92qrg2b24afhjwiyr352l67cf"; 16 + # No release was tagged and PyPI doesn't contain tests. 17 + rev = "968859f0ffb5b7c990506dffe82457b7de23a026"; 18 + sha256 = "sha256-NfyEC3qEBm6TjebcDIsoz8tJWaJ625ZFPfx7AMyynWE="; 20 19 }; 21 - 22 - patches = [ 23 - # Support for Python 3.9, https://github.com/pynetwork/pypcap/pull/102 24 - (fetchpatch { 25 - name = "support-python-3.9.patch"; 26 - url = "https://github.com/pynetwork/pypcap/pull/102/commits/e22f5d25f0d581d19ef337493434e72cd3a6ae71.patch"; 27 - sha256 = "0n1syh1vcplgsf6njincpqphd2w030s3b2jyg86d7kbqv1w5wk0l"; 28 - }) 29 - ]; 30 20 31 21 postPatch = '' 32 22 # Add the path to libpcap in the nix-store