whatthepatch: init at 1.0.2

This commit is contained in:
Joel
2022-07-30 09:42:04 +10:00
parent 8d76b23290
commit abf1d55e7e
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
{ 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 ];
};
}

View File

@@ -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 { };