whatthepatch: init at 1.0.2
This commit is contained in:
30
pkgs/development/python-modules/whatthepatch/default.nix
Normal file
30
pkgs/development/python-modules/whatthepatch/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user