Loading pkgs/development/python-modules/beautysh/default.nix +19 −29 Original line number Diff line number Diff line Loading @@ -2,58 +2,48 @@ lib, buildPythonPackage, colorama, editorconfig, fetchFromGitHub, fetchpatch, poetry-core, pytest7CheckHook, setuptools, hatchling, hypothesis, pytestCheckHook, pyyaml, types-colorama, types-setuptools, }: buildPythonPackage rec { pname = "beautysh"; version = "6.2.1"; format = "pyproject"; version = "6.4.1"; pyproject = true; src = fetchFromGitHub { owner = "lovesegfault"; repo = "beautysh"; rev = "v${version}"; hash = "sha256-rPeGRcyNK45Y7OvtzaIH93IIzexBf/jM1SzYP0phQ1o="; tag = "v${version}"; hash = "sha256-B+1qwivb9MZ+W0u7hccDt3aTjDOcbEQ89Alc8mWd2Sg="; }; patches = [ # https://github.com/lovesegfault/beautysh/pull/247 (fetchpatch { name = "poetry-to-poetry-core.patch"; url = "https://github.com/lovesegfault/beautysh/commit/5f4fcac083fa68568a50f3c2bcee3ead0f3ca7c5.patch"; hash = "sha256-H/kIJKww5ouWu8rmRkaMOXcsq2daZWDdwxBqbc99x0s="; }) ]; postPatch = '' substituteInPlace pyproject.toml \ --replace 'types-setuptools = "^57.4.0"' 'types-setuptools = "*"' ''; build-system = [ hatchling ]; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ dependencies = [ colorama setuptools editorconfig types-colorama types-setuptools ]; nativeCheckInputs = [ pytest7CheckHook ]; nativeCheckInputs = [ hypothesis pytestCheckHook pyyaml ]; pythonImportsCheck = [ "beautysh" ]; meta = with lib; { description = "Tool for beautifying Bash scripts"; homepage = "https://github.com/lovesegfault/beautysh"; license = with licenses; [ asl20 ]; changelog = "https://github.com/lovesegfault/beautysh/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; mainProgram = "beautysh"; }; Loading pkgs/development/python-modules/mdformat-beautysh/default.nix +5 −7 Original line number Diff line number Diff line Loading @@ -8,26 +8,23 @@ mdit-py-plugins, poetry-core, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "mdformat-beautysh"; version = "0.1.1"; version = "1.0.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "hukkin"; repo = "mdformat-beautysh"; tag = version; hash = "sha256-mH9PN6QsPmnIzh/0vxa+5mYLzANUHRruXC0ql4h8myw="; hash = "sha256-Wzwy2FSknohmgrZ/ACliBDD2lOaQKKHyacAL57Ci3SU="; }; nativeBuildInputs = [ poetry-core ]; build-system = [ poetry-core ]; propagatedBuildInputs = [ dependencies = [ beautysh mdformat mdformat-gfm Loading @@ -41,6 +38,7 @@ buildPythonPackage rec { meta = with lib; { description = "Mdformat plugin to beautify Bash scripts"; homepage = "https://github.com/hukkin/mdformat-beautysh"; changelog = "https://github.com/hukkin/mdformat-beautysh/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ aldoborrero ]; }; Loading Loading
pkgs/development/python-modules/beautysh/default.nix +19 −29 Original line number Diff line number Diff line Loading @@ -2,58 +2,48 @@ lib, buildPythonPackage, colorama, editorconfig, fetchFromGitHub, fetchpatch, poetry-core, pytest7CheckHook, setuptools, hatchling, hypothesis, pytestCheckHook, pyyaml, types-colorama, types-setuptools, }: buildPythonPackage rec { pname = "beautysh"; version = "6.2.1"; format = "pyproject"; version = "6.4.1"; pyproject = true; src = fetchFromGitHub { owner = "lovesegfault"; repo = "beautysh"; rev = "v${version}"; hash = "sha256-rPeGRcyNK45Y7OvtzaIH93IIzexBf/jM1SzYP0phQ1o="; tag = "v${version}"; hash = "sha256-B+1qwivb9MZ+W0u7hccDt3aTjDOcbEQ89Alc8mWd2Sg="; }; patches = [ # https://github.com/lovesegfault/beautysh/pull/247 (fetchpatch { name = "poetry-to-poetry-core.patch"; url = "https://github.com/lovesegfault/beautysh/commit/5f4fcac083fa68568a50f3c2bcee3ead0f3ca7c5.patch"; hash = "sha256-H/kIJKww5ouWu8rmRkaMOXcsq2daZWDdwxBqbc99x0s="; }) ]; postPatch = '' substituteInPlace pyproject.toml \ --replace 'types-setuptools = "^57.4.0"' 'types-setuptools = "*"' ''; build-system = [ hatchling ]; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ dependencies = [ colorama setuptools editorconfig types-colorama types-setuptools ]; nativeCheckInputs = [ pytest7CheckHook ]; nativeCheckInputs = [ hypothesis pytestCheckHook pyyaml ]; pythonImportsCheck = [ "beautysh" ]; meta = with lib; { description = "Tool for beautifying Bash scripts"; homepage = "https://github.com/lovesegfault/beautysh"; license = with licenses; [ asl20 ]; changelog = "https://github.com/lovesegfault/beautysh/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; mainProgram = "beautysh"; }; Loading
pkgs/development/python-modules/mdformat-beautysh/default.nix +5 −7 Original line number Diff line number Diff line Loading @@ -8,26 +8,23 @@ mdit-py-plugins, poetry-core, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "mdformat-beautysh"; version = "0.1.1"; version = "1.0.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "hukkin"; repo = "mdformat-beautysh"; tag = version; hash = "sha256-mH9PN6QsPmnIzh/0vxa+5mYLzANUHRruXC0ql4h8myw="; hash = "sha256-Wzwy2FSknohmgrZ/ACliBDD2lOaQKKHyacAL57Ci3SU="; }; nativeBuildInputs = [ poetry-core ]; build-system = [ poetry-core ]; propagatedBuildInputs = [ dependencies = [ beautysh mdformat mdformat-gfm Loading @@ -41,6 +38,7 @@ buildPythonPackage rec { meta = with lib; { description = "Mdformat plugin to beautify Bash scripts"; homepage = "https://github.com/hukkin/mdformat-beautysh"; changelog = "https://github.com/hukkin/mdformat-beautysh/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ aldoborrero ]; }; Loading