a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
28 lines
541 B
Nix
28 lines
541 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, mock
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "coverage";
|
|
version = "7.0.1";
|
|
# uses f strings
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-pKV0oZ7rZ1daUyildgu7tzf6poVhZYap+dpCgflAEJw=";
|
|
};
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
nativeCheckInputs = [ mock ];
|
|
|
|
meta = {
|
|
description = "Code coverage measurement for python";
|
|
homepage = "https://coverage.readthedocs.io/";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|