librewolf: 132.0.1 -> 132.0.1-1 (#355483)
[NixPkgs.git] / pkgs / by-name / nu / nu_scripts / package.nix
blob5b15f4a3db8f9748ec0d92eccd65cde60629a958
1 { lib
2 , stdenvNoCC
3 , fetchFromGitHub
4 , unstableGitUpdater
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "nu_scripts";
9   version = "0-unstable-2024-11-10";
11   src = fetchFromGitHub {
12     owner = "nushell";
13     repo = pname;
14     rev = "1ed7ef9401f3793fb946ef3add82f05f091299ff";
15     hash = "sha256-ee06x4Txa58vHEheyYoLx/KOX3Y6Np3HDgK/BZI5Dfw=";
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 = "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   };