diff options
author | Manuel Mendez <mmendez534@gmail.com> | 2019-05-30 17:23:56 -0400 |
---|---|---|
committer | Manuel Mendez <mmendez534@gmail.com> | 2019-06-04 12:31:21 -0400 |
commit | 70a6962d064c4ad48fe44abe57735de5ab57f1e6 (patch) | |
tree | e9d83f1abd74f7751f7466a29981aa614097c196 /pkgs/development/python-modules/packet-python/default.nix | |
parent | 75a82b54a112c12135222d6302891e0a99685c00 (diff) |
pythonPackages.packet-python: 1.37.1 -> 1.38.2
Diffstat (limited to 'pkgs/development/python-modules/packet-python/default.nix')
-rw-r--r-- | pkgs/development/python-modules/packet-python/default.nix | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/packet-python/default.nix b/pkgs/development/python-modules/packet-python/default.nix index 5811d510dff9..e233dfeb086a 100644 --- a/pkgs/development/python-modules/packet-python/default.nix +++ b/pkgs/development/python-modules/packet-python/default.nix @@ -3,29 +3,25 @@ , fetchPypi , requests , python -, fetchpatch + +# For tests/setup.py +, pytestrunner }: buildPythonPackage rec { pname = "packet-python"; - version = "1.37.1"; + version = "1.38.2"; src = fetchPypi { inherit pname version; - sha256 = "316941d2473c0f42ac17ac89e9aa63a023bb96f35cf8eafe9e091ea424892778"; + sha256 = "1lh97la51fa3nxjl4ngsanrxw6qq5jwwn0dxj2f0946m043200xl"; }; + nativeBuildInputs = [ pytestrunner ]; propagatedBuildInputs = [ requests ]; checkPhase = '' ${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 doCheck = false; @@ -35,4 +31,4 @@ buildPythonPackage rec { license = lib.licenses.lgpl3; maintainers = with lib.maintainers; [ dipinhora ]; }; -}
\ No newline at end of file +} |