From bf2ffa198c55aaea0127ae77031dd14613bade6e Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 17 Jan 2025 09:13:11 +0100 Subject: [PATCH] pylyzer: 0.0.76 -> 0.0.77 Diff: https://github.com/mtshiba/pylyzer/compare/refs/tags/v0.0.76...v0.0.77 Changelog: https://github.com/mtshiba/pylyzer/releases/tag/v0.0.77 --- pkgs/by-name/py/pylyzer/package.nix | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/pkgs/by-name/py/pylyzer/package.nix b/pkgs/by-name/py/pylyzer/package.nix index 474b4438b2bb..7e969644a6db 100644 --- a/pkgs/by-name/py/pylyzer/package.nix +++ b/pkgs/by-name/py/pylyzer/package.nix @@ -7,24 +7,23 @@ python3, makeWrapper, writeScriptBin, - which, - nix-update-script, versionCheckHook, + nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "pylyzer"; - version = "0.0.76"; + version = "0.0.77"; src = fetchFromGitHub { owner = "mtshiba"; repo = "pylyzer"; tag = "v${version}"; - hash = "sha256-1WBZ8i/JIIRRH11MNQma/o9VdMvN0eYopXt7Iwj1hZ8="; + hash = "sha256-MlDW3dNe9fdOzWp38VkjgoiqOYgBF+ezwTQE0+6SXCc="; }; useFetchCargoVendor = true; - cargoHash = "sha256-dzp7HeEfM6UP3VgH56CQvnezZjg13YUszA+EsO2N4Os="; + cargoHash = "sha256-bkYRPwiB2BN4WNZ0HcOBiDbFyidftbHWyIDvJasnePc="; nativeBuildInputs = [ git @@ -45,20 +44,6 @@ rustPlatform.buildRustPackage rec { cp -r $HOME/.erg/ $out/lib/erg ''; - nativeCheckInputs = [ which ]; - - checkFlags = - [ - # this test causes stack overflow - # > thread 'exec_import' has overflowed its stack - "--skip=exec_import" - ] - ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ - # Dict({Str..Obj: Int}) does not implement Iterable(Str..Obj..Obj) and Indexable({"a"}..Obj, Int) - # https://github.com/mtshiba/pylyzer/issues/114 - "--skip=exec_casting" - ]; - postFixup = '' wrapProgram $out/bin/pylyzer --set ERG_PATH $out/lib/erg '';