lol

beautysh, python3.pkgs.beautysh: move into python-modules

+19 -11
+16 -10
pkgs/development/tools/beautysh/default.nix pkgs/development/python-modules/beautysh/default.nix
··· 1 1 { lib 2 + , buildPythonPackage 3 + , colorama 2 4 , fetchFromGitHub 3 5 , fetchpatch 4 - , python3 6 + , poetry-core 7 + , pytestCheckHook 8 + , setuptools 9 + , types-colorama 10 + , types-setuptools 5 11 }: 6 12 7 - python3.pkgs.buildPythonApplication rec { 13 + buildPythonPackage rec { 8 14 pname = "beautysh"; 9 15 version = "6.2.1"; 10 16 format = "pyproject"; ··· 25 31 }) 26 32 ]; 27 33 28 - nativeBuildInputs = with python3.pkgs; [ 34 + postPatch = '' 35 + substituteInPlace pyproject.toml \ 36 + --replace 'types-setuptools = "^57.4.0"' 'types-setuptools = "*"' 37 + ''; 38 + 39 + nativeBuildInputs = [ 29 40 poetry-core 30 41 ]; 31 42 32 - propagatedBuildInputs = with python3.pkgs; [ 43 + propagatedBuildInputs = [ 33 44 colorama 34 45 setuptools 35 46 types-colorama 36 47 types-setuptools 37 48 ]; 38 49 39 - nativeCheckInputs = with python3.pkgs; [ 50 + nativeCheckInputs = [ 40 51 pytestCheckHook 41 52 ]; 42 - 43 - postPatch = '' 44 - substituteInPlace pyproject.toml \ 45 - --replace 'types-setuptools = "^57.4.0"' 'types-setuptools = "*"' 46 - ''; 47 53 48 54 pythonImportsCheck = [ 49 55 "beautysh"
+1 -1
pkgs/top-level/all-packages.nix
··· 4198 4198 inherit (plasma5Packages) breeze-icons; 4199 4199 }; 4200 4200 4201 - beautysh = callPackage ../development/tools/beautysh { }; 4201 + beautysh = with python3.pkgs; toPythonApplication beautysh; 4202 4202 4203 4203 bc = callPackage ../tools/misc/bc { }; 4204 4204
+2
pkgs/top-level/python-packages.nix
··· 1310 1310 1311 1311 beautifultable = callPackage ../development/python-modules/beautifultable { }; 1312 1312 1313 + beautysh = callPackage ../development/python-modules/beautysh { }; 1314 + 1313 1315 bech32 = callPackage ../development/python-modules/bech32 { }; 1314 1316 1315 1317 behave = callPackage ../development/python-modules/behave { };