nixpkgs/pkgs/development/python-modules/ghdiff/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

23 lines
562 B
Nix

{ lib, buildPythonPackage, fetchPypi
, zope_testrunner, six, chardet}:
buildPythonPackage rec {
pname = "ghdiff";
version = "0.4";
src = fetchPypi {
inherit pname version;
sha256 = "17mdhi2sq9017nq8rkjhhc87djpi5z99xiil0xz17dyplr7nmkqk";
};
nativeCheckInputs = [ zope_testrunner ];
propagatedBuildInputs = [ six chardet ];
meta = with lib; {
homepage = "https://github.com/kilink/ghdiff";
license = licenses.mit;
description = "Generate Github-style HTML for unified diffs.";
maintainers = [ maintainers.mic92 ];
};
}