nixpkgs/pkgs/development/python-modules/coverage/default.nix
Frederik Rietdijk 67651d80bc Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
2017-09-06 13:54:10 +02:00

27 lines
528 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, mock
}:
buildPythonPackage rec {
pname = "coverage";
version = "4.4.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "7a9c44400ee0f3b4546066e0710e1250fd75831adc02ab99dda176ad8726f424";
};
# 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;
};
}