nixpkgs/pkgs/development/python-modules/lcov_cobertura/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

28 lines
558 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "lcov_cobertura";
version = "2.0.2";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-xs40e/PuZ/jV0CDNZiYmo1lM8r5yfMY0qg0R+j9/E3Q=";
};
doCheck = true;
pythonImportsCheck = [
"lcov_cobertura"
];
meta = {
description = "Converts code coverage from lcov format to Cobertura's XML format";
homepage = "https://eriwen.github.io/lcov-to-cobertura-xml/";
license = lib.licenses.asl20;
};
}