nu_scripts: init at unstable-2023-03-16

authored by Kiran Ostrolenk and committed by Yt 92dd06ae fb3a9cec

+36
+34
pkgs/shells/nushell/nu_scripts/default.nix
··· 1 + { lib 2 + , stdenvNoCC 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenvNoCC.mkDerivation rec { 7 + pname = "nu_scripts"; 8 + version = "unstable-2023-03-16"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "nushell"; 12 + repo = pname; 13 + rev = "00b0039653be5dd2e6567ce8feea82064d27ae11"; 14 + sha256 = "0m17cj5wzp94f01kwgs1dh76zwsl2irr7b06i9sb5skqxmmdnjnz"; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + mkdir -p $out/share/nu_scripts 21 + mv ./* $out/share/nu_scripts 22 + 23 + runHook postInstall 24 + ''; 25 + 26 + meta = { 27 + description = "A place to share Nushell scripts with each other"; 28 + homepage = "https://github.com/nushell/nu_scripts"; 29 + license = lib.licenses.free; 30 + 31 + platforms = lib.platforms.unix; 32 + maintainers = [ lib.maintainers.CardboardTurkey ]; 33 + }; 34 + }
+2
pkgs/top-level/all-packages.nix
··· 26800 26800 inherit (darwin.apple_sdk_11_0.frameworks) AppKit Security; 26801 26801 }; 26802 26802 26803 + nu_scripts = callPackage ../shells/nushell/nu_scripts { }; 26804 + 26803 26805 nettools = if stdenv.isLinux 26804 26806 then callPackage ../os-specific/linux/net-tools { } 26805 26807 else unixtools.nettools;