Loading pkgs/development/python-modules/yasi/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { lib , python3 , fetchFromGitHub }: python3.pkgs.buildPythonApplication rec { pname = "yasi"; version = "2.1.2"; format = "setuptools"; src = fetchFromGitHub { owner = "nkmathew"; repo = "yasi-sexp-indenter"; rev = "v${version}"; hash = "sha256-xKhVTmh/vrtBkatxtk8R4yqbGroH0I+xTKNYUpuikt4="; }; propagatedBuildInputs = with python3.pkgs; [ colorama ]; postPatch = '' substituteInPlace setup.py \ --replace "test.test_yasi" "tests.test_yasi" ''; pythonImportsCheck = [ "yasi" ]; meta = with lib; { description = "A dialect-aware s-expression indenter written in Python and newLISP"; homepage = "https://github.com/nkmathew/yasi-sexp-indenter"; changelog = "https://github.com/nkmathew/yasi-sexp-indenter/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ kranzes ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12842,6 +12842,8 @@ self: super: with self; { yarl = callPackage ../development/python-modules/yarl { }; yasi = toPythonModule (callPackage ../development/python-modules/yasi { }); yaspin = callPackage ../development/python-modules/yaspin { }; yaswfp = callPackage ../development/python-modules/yaswfp { }; Loading Loading
pkgs/development/python-modules/yasi/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { lib , python3 , fetchFromGitHub }: python3.pkgs.buildPythonApplication rec { pname = "yasi"; version = "2.1.2"; format = "setuptools"; src = fetchFromGitHub { owner = "nkmathew"; repo = "yasi-sexp-indenter"; rev = "v${version}"; hash = "sha256-xKhVTmh/vrtBkatxtk8R4yqbGroH0I+xTKNYUpuikt4="; }; propagatedBuildInputs = with python3.pkgs; [ colorama ]; postPatch = '' substituteInPlace setup.py \ --replace "test.test_yasi" "tests.test_yasi" ''; pythonImportsCheck = [ "yasi" ]; meta = with lib; { description = "A dialect-aware s-expression indenter written in Python and newLISP"; homepage = "https://github.com/nkmathew/yasi-sexp-indenter"; changelog = "https://github.com/nkmathew/yasi-sexp-indenter/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ kranzes ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12842,6 +12842,8 @@ self: super: with self; { yarl = callPackage ../development/python-modules/yarl { }; yasi = toPythonModule (callPackage ../development/python-modules/yasi { }); yaspin = callPackage ../development/python-modules/yaspin { }; yaswfp = callPackage ../development/python-modules/yaswfp { }; Loading