mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
29 lines
535 B
Nix
29 lines
535 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, mock
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "coverage";
|
|
version = "6.4.4";
|
|
# uses f strings
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-4WxFtyast4Dh5viLKG08ELORSrA0OPMhF8SqUtfzDVg=";
|
|
};
|
|
|
|
# No tests in archive
|
|
doCheck = false;
|
|
checkInputs = [ mock ];
|
|
|
|
meta = {
|
|
description = "Code coverage measurement for python";
|
|
homepage = "https://coverage.readthedocs.io/";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|