mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
26 lines
476 B
Nix
26 lines
476 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "coverage";
|
|
version = "5.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0ll0hr8g3szbxa4al6khhzi6l92a3vwyldj0085whl44s55gq2zr";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|