{ lib , stdenvNoCC , fetchFromGitHub , unstableGitUpdater }: stdenvNoCC.mkDerivation rec { pname = "nu_scripts"; version = "unstable-2023-10-07"; src = fetchFromGitHub { owner = "nushell"; repo = pname; rev = "85da8c2fb5967a7f575d8f63ebeb8d49d36fc139"; hash = "sha256-tT/BTnIXEgcMoyfujzWMFlOM7EclWT9LL/dt5jj7Y2M="; }; 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 ]; }; }