Unverified Commit abf1d55e authored by Joel's avatar Joel
Browse files

whatthepatch: init at 1.0.2

parent 8d76b232
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "whatthepatch";
  version = "1.0.2";

  src = fetchFromGitHub {
    owner = "cscorley";
    repo = pname;
    rev = version;
    hash = "sha256-0l/Ebq7Js9sKFJ/RzkQ1aWEDCxt+COVd2qVnLSWwFx0=";
  };

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "whatthepatch" ];

  meta = with lib; {
    description = "Python library for both parsing and applying patch files";
    homepage = "https://github.com/cscorley/whatthepatch";
    license = licenses.mit;
    maintainers = with maintainers; [ jyooru ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -11353,6 +11353,8 @@ in {

  wget = callPackage ../development/python-modules/wget { };

  whatthepatch = callPackage ../development/python-modules/whatthepatch { };

  wheel = callPackage ../development/python-modules/wheel { };

  wheel-filename = callPackage ../development/python-modules/wheel-filename { };