Unverified Commit e0537265 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #230517 from r-ryantm/auto-update/python310Packages.whatthepatch

python310Packages.whatthepatch: 1.0.4 -> 1.0.5
parents 57cfb30e d2f0ad5d
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -3,18 +3,21 @@
, fetchFromGitHub
, pytestCheckHook
, setuptools
, pythonOlder
}:

buildPythonPackage rec {
  pname = "whatthepatch";
  version = "1.0.4";
  version = "1.0.5";
  format = "pyproject";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "cscorley";
    repo = pname;
    rev = "refs/tags/${version}";
    hash = "sha256-pejph0WyhryS2injlFElFozIDl6zJeiENh6fqh6982s=";
    hash = "sha256-1+OIs77Vyx56pgf7VSmi4UsPgkv8qZXFm8L2jK2CTMk=";
  };

  nativeBuildInputs = [
@@ -25,11 +28,14 @@ buildPythonPackage rec {
    pytestCheckHook
  ];

  pythonImportsCheck = [ "whatthepatch" ];
  pythonImportsCheck = [
    "whatthepatch"
  ];

  meta = with lib; {
    description = "Python library for both parsing and applying patch files";
    homepage = "https://github.com/cscorley/whatthepatch";
    changelog = "https://github.com/cscorley/whatthepatch/blob/${version}/HISTORY.md";
    license = licenses.mit;
    maintainers = with maintainers; [ joelkoen ];
  };