Skip to content

Commit 1688978

Browse files
authored
python3Packages.moreorless: 0.4.0 -> 0.5.0 (#407235)
2 parents df62ea3 + 68001ad commit 1688978

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

pkgs/development/python-modules/moreorless/default.nix

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,24 @@
55
fetchFromGitHub,
66
parameterized,
77
pytestCheckHook,
8-
pythonOlder,
98
setuptools-scm,
109
}:
1110

1211
buildPythonPackage rec {
1312
pname = "moreorless";
14-
version = "0.4.0";
15-
format = "setuptools";
16-
17-
disabled = pythonOlder "3.8";
13+
version = "0.5.0";
14+
pyproject = true;
1815

1916
src = fetchFromGitHub {
2017
owner = "thatch";
2118
repo = "moreorless";
2219
tag = "v${version}";
23-
hash = "sha256-N11iqsxMGgzwW2QYeOoHQaR/aDEuoUnnd/2Mc5culN0=";
20+
hash = "sha256-VCvvPxDWriaeKeRaj/YbPLPfNL7fipGwCydr6K0HMjc=";
2421
};
2522

26-
nativeBuildInputs = [ setuptools-scm ];
23+
build-system = [ setuptools-scm ];
2724

28-
propagatedBuildInputs = [ click ];
25+
dependencies = [ click ];
2926

3027
nativeCheckInputs = [
3128
parameterized
@@ -36,14 +33,16 @@ buildPythonPackage rec {
3633

3734
pytestFlagsArray = [
3835
"moreorless/tests/click.py"
36+
"moreorless/tests/combined.py"
3937
"moreorless/tests/general.py"
4038
"moreorless/tests/patch.py"
4139
];
4240

43-
meta = with lib; {
41+
meta = {
42+
changelog = "https://github.com/thatch/moreorless/releases/tag/${src.tag}";
4443
description = "Wrapper to make difflib.unified_diff more fun to use";
4544
homepage = "https://github.com/thatch/moreorless/";
46-
license = licenses.mit;
47-
maintainers = with maintainers; [ fab ];
45+
license = lib.licenses.mit;
46+
maintainers = with lib.maintainers; [ fab ];
4847
};
4948
}

0 commit comments

Comments
 (0)