Loading pkgs/development/python-modules/moreorless/default.nix +10 −11 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 ]; }; } Loading
pkgs/development/python-modules/moreorless/default.nix +10 −11 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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 ]; }; }