{ lib , stdenvNoCC , fetchFromGitHub , unstableGitUpdater }: stdenvNoCC.mkDerivation rec { pname = "nu_scripts"; version = "unstable-2023-11-22"; src = fetchFromGitHub { owner = "nushell"; repo = pname; rev = "91b6a2b2280123ed5789f5c0870b9de22c722fb3"; hash = "sha256-nRplK0w55I1rk15tfkCMxFBqTR9ihhnE/tHRs9mKLdY="; }; 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 ]; }; }