Unverified Commit d2f0ad5d authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python310Packages.whatthepatch: add changelog to meta

- disable on unsupported Python releases
parent 14c53f9d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, fetchFromGitHub
, pytestCheckHook
, setuptools
, pythonOlder
}:

buildPythonPackage rec {
@@ -10,6 +11,8 @@ buildPythonPackage rec {
  version = "1.0.5";
  format = "pyproject";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "cscorley";
    repo = pname;
@@ -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 ];
  };