mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
25 lines
487 B
Nix
25 lines
487 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "coverage";
|
|
version = "4.5.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9de60893fb447d1e797f6bf08fdf0dbcda0c1e34c1b06c92bd3a363c0ea8c609";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
} |