nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 39 lines 868 B view raw
1{ 2 lib, 3 stdenvNoCC, 4 fetchFromGitHub, 5 unstableGitUpdater, 6}: 7 8stdenvNoCC.mkDerivation { 9 pname = "nu_scripts"; 10 version = "0-unstable-2026-01-23"; 11 12 src = fetchFromGitHub { 13 owner = "nushell"; 14 repo = "nu_scripts"; 15 rev = "e65d76cd14979937ee378d56fc21f4e72f21cecc"; 16 hash = "sha256-LPwe0DS7rNFY6MUcfCCqMYJjPkhHQyBmy4M+KjrNz34="; 17 }; 18 19 installPhase = '' 20 runHook preInstall 21 22 mkdir -p $out/share/nu_scripts 23 mv ./* $out/share/nu_scripts 24 rm -r $out/share/nu_scripts/themes/screenshots 25 26 runHook postInstall 27 ''; 28 29 passthru.updateScript = unstableGitUpdater { }; 30 31 meta = { 32 description = "Place to share Nushell scripts with each other"; 33 homepage = "https://github.com/nushell/nu_scripts"; 34 license = lib.licenses.mit; 35 36 platforms = lib.platforms.unix; 37 maintainers = [ lib.maintainers.CardboardTurkey ]; 38 }; 39}