1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/coverage/default.nix
2020-08-16 19:30:56 +02:00

26 lines
490 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, mock
}:
buildPythonPackage rec {
pname = "coverage";
version = "5.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "a34cb28e0747ea15e82d13e14de606747e9e484fb28d63c999483f5d5188e89b";
};
# 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;
};
}