{ lib , stdenvNoCC , fetchFromGitHub , unstableGitUpdater }: stdenvNoCC.mkDerivation rec { pname = "nu_scripts"; version = "unstable-2024-01-26"; src = fetchFromGitHub { owner = "nushell"; repo = pname; rev = "302fd84fed8616d4b3259c3265c5b01554fe8d91"; hash = "sha256-XMHqjxkJo60nwjXNlS0SKWLV/Ffxz8+oImG8lG8GjkE="; }; installPhase = '' runHook preInstall mkdir -p $out/share/nu_scripts mv ./* $out/share/nu_scripts runHook postInstall ''; passthru.updateScript = unstableGitUpdater { }; meta = { description = "A place to share Nushell scripts with each other"; homepage = "https://github.com/nushell/nu_scripts"; license = lib.licenses.free; platforms = lib.platforms.unix; maintainers = [ lib.maintainers.CardboardTurkey ]; }; }