mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
33afbf39f6
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.
23 lines
562 B
Nix
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 ];
|
|
};
|
|
}
|