nixpkgs/pkgs/development/python-modules/coverage/default.nix

26 lines
488 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, mock
}:
buildPythonPackage rec {
pname = "coverage";
2021-03-24 09:28:10 +00:00
version = "5.5";
src = fetchPypi {
inherit pname version;
2021-03-24 09:28:10 +00:00
sha256 = "ebe78fe9a0e874362175b02371bdfbee64d8edc42a044253ddf4ee7d3c15212c";
};
# No tests in archive
doCheck = false;
checkInputs = [ mock ];
meta = {
description = "Code coverage measurement for python";
homepage = "http://nedbatchelder.com/code/coverage/";
license = lib.licenses.bsd3;
};
}