mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 12:23:55 +00:00
python310Packages.whatthepatch: add changelog to meta
- disable on unsupported Python releases
This commit is contained in:
parent
14c53f9db3
commit
d2f0ad5df4
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user