{ lib , stdenvNoCC , fetchFromGitHub , unstableGitUpdater }: stdenvNoCC.mkDerivation rec { pname = "nu_scripts"; version = "0-unstable-2024-09-11"; src = fetchFromGitHub { owner = "nushell"; repo = pname; rev = "d04eea634a3ac35d481fa26c35271dfe175bf3e2"; hash = "sha256-uHD8j98WubyvtbtOqTdfGmeRJ7zoVDVZ9+CJzmB6vF0="; }; installPhase = '' runHook preInstall mkdir -p $out/share/nu_scripts mv ./* $out/share/nu_scripts runHook postInstall ''; passthru.updateScript = unstableGitUpdater { }; meta = { description = "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 ]; }; }