Merge pull request #274841 from r-ryantm/auto-update/miniaudio
[NixPkgs.git] / pkgs / shells / nushell / nu_scripts / default.nix
blobec160970407a9bf25fe87be03e3433503a713abf
1 { lib
2 , stdenvNoCC
3 , fetchFromGitHub
4 , unstableGitUpdater
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "nu_scripts";
9   version = "unstable-2023-11-22";
11   src = fetchFromGitHub {
12     owner = "nushell";
13     repo = pname;
14     rev = "91b6a2b2280123ed5789f5c0870b9de22c722fb3";
15     hash = "sha256-nRplK0w55I1rk15tfkCMxFBqTR9ihhnE/tHRs9mKLdY=";
16   };
18   installPhase = ''
19     runHook preInstall
21     mkdir -p $out/share/nu_scripts
22     mv ./* $out/share/nu_scripts
24     runHook postInstall
25   '';
27   passthru.updateScript = unstableGitUpdater { };
29   meta = {
30     description = "A place to share Nushell scripts with each other";
31     homepage = "https://github.com/nushell/nu_scripts";
32     license = lib.licenses.free;
34     platforms = lib.platforms.unix;
35     maintainers = [ lib.maintainers.CardboardTurkey ];
36   };