python2.pkgs.coverage: keep 5.5

This commit is contained in:
Martin Weinelt 2022-01-18 09:08:31 +01:00
parent c1b2d3771a
commit a17e0d7aa4
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib
, buildPythonPackage
, fetchPypi
, mock
}:
buildPythonPackage rec {
pname = "coverage";
version = "5.5";
src = fetchPypi {
inherit pname version;
sha256 = "ebe78fe9a0e874362175b02371bdfbee64d8edc42a044253ddf4ee7d3c15212c";
};
# No tests in archive
doCheck = false;
checkInputs = [ mock ];
meta = {
description = "Code coverage measurement for python";
homepage = "https://coverage.readthedocs.io/";
license = lib.licenses.bsd3;
};
}

View file

@ -26,6 +26,8 @@ with self; with super; {
contextlib2 = callPackage ../development/python2-modules/contextlib2 { };
coverage = callPackage ../development/python2-modules/coverage { };
cryptography = callPackage ../development/python2-modules/cryptography { };
cryptography_vectors = callPackage ../development/python2-modules/cryptography-vectors { };