diff --git a/pkgs/development/python-modules/moreorless/default.nix b/pkgs/development/python-modules/moreorless/default.nix index e0faed09af0a..d2ab01a2c18f 100644 --- a/pkgs/development/python-modules/moreorless/default.nix +++ b/pkgs/development/python-modules/moreorless/default.nix @@ -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 ]; }; }