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

This commit is contained in:
Frederik Rietdijk 2018-02-03 14:30:17 +01:00
parent 29e8365d2f
commit 7afd65aed4
1 changed files with 10 additions and 2 deletions

View File

@ -3,14 +3,15 @@
, fetchPypi , fetchPypi
, requests , requests
, python , python
, fetchpatch
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "packet-python"; pname = "packet-python";
version = "1.33"; version = "1.37.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0bmvfmvjm8jx0y8sv0jf5mhv0h3v8idx0sc5myxs7ig200584dd3"; sha256 = "316941d2473c0f42ac17ac89e9aa63a023bb96f35cf8eafe9e091ea424892778";
}; };
propagatedBuildInputs = [ requests ]; propagatedBuildInputs = [ requests ];
@ -18,6 +19,13 @@ buildPythonPackage rec {
${python.interpreter} -m unittest discover -s test ${python.interpreter} -m unittest discover -s test
''; '';
patches = [
(fetchpatch {
url = https://github.com/packethost/packet-python/commit/361ad0c60d0bfce2a992eefd17e917f9dcf36400.patch;
sha256 = "1cmzyq0302y4cqmim6arnvn8n620qysq458g2w5aq4zj1vz1q9g1";
})
];
# Not all test files are included in archive # Not all test files are included in archive
doCheck = false; doCheck = false;