{ lib , stdenvNoCC , fetchFromGitHub , unstableGitUpdater }: stdenvNoCC.mkDerivation rec { pname = "nu_scripts"; version = "0-unstable-2024-06-01"; src = fetchFromGitHub { owner = "nushell"; repo = pname; rev = "5271d68b7a6770eeade257b298089d14c68ab62b"; hash = "sha256-AWra4CO0mfRlyneHel2RPNZ7NSHOmSH6dL+Vy2Pduuk="; }; 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 ]; }; }