python3Packages.moreorless: 0.4.0 -> 0.5.0 (#407235)
This commit is contained in:
@@ -5,27 +5,24 @@
|
||||
fetchFromGitHub,
|
||||
parameterized,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "moreorless";
|
||||
version = "0.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
version = "0.5.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thatch";
|
||||
repo = "moreorless";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-N11iqsxMGgzwW2QYeOoHQaR/aDEuoUnnd/2Mc5culN0=";
|
||||
hash = "sha256-VCvvPxDWriaeKeRaj/YbPLPfNL7fipGwCydr6K0HMjc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
propagatedBuildInputs = [ click ];
|
||||
dependencies = [ click ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
parameterized
|
||||
@@ -36,14 +33,16 @@ buildPythonPackage rec {
|
||||
|
||||
pytestFlagsArray = [
|
||||
"moreorless/tests/click.py"
|
||||
"moreorless/tests/combined.py"
|
||||
"moreorless/tests/general.py"
|
||||
"moreorless/tests/patch.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
changelog = "https://github.com/thatch/moreorless/releases/tag/${src.tag}";
|
||||
description = "Wrapper to make difflib.unified_diff more fun to use";
|
||||
homepage = "https://github.com/thatch/moreorless/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user