Loading pkgs/tools/misc/script-directory/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { lib , stdenvNoCC , fetchFromGitHub , installShellFiles , patsh }: stdenvNoCC.mkDerivation rec { pname = "script-directory"; version = "1.1.0"; src = fetchFromGitHub { owner = "ianthehenry"; repo = "sd"; rev = "v${version}"; hash = "sha256-X5RWCJQUqDnG2umcCk5KS6HQinTJVapBHp6szEmbc4U="; }; nativeBuildInputs = [ installShellFiles patsh ]; installPhase = '' runHook preInstall patsh -f sd install -Dt "$out/bin" sd installShellCompletion --zsh _sd runHook postInstall ''; meta = { description = "A cozy nest for your scripts"; homepage = "https://github.com/ianthehenry/sd"; changelog = "https://github.com/ianthehenry/sd/tree/${src.rev}#changelog"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ janik ]; mainProgram = "sd"; }; } pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12101,6 +12101,8 @@ with pkgs; scriptaculous = callPackage ../development/libraries/scriptaculous { }; script-directory = callPackage ../tools/misc/script-directory { }; scrot = callPackage ../tools/graphics/scrot { }; scrypt = callPackage ../tools/security/scrypt { }; Loading
pkgs/tools/misc/script-directory/default.nix 0 → 100644 +42 −0 Original line number Diff line number Diff line { lib , stdenvNoCC , fetchFromGitHub , installShellFiles , patsh }: stdenvNoCC.mkDerivation rec { pname = "script-directory"; version = "1.1.0"; src = fetchFromGitHub { owner = "ianthehenry"; repo = "sd"; rev = "v${version}"; hash = "sha256-X5RWCJQUqDnG2umcCk5KS6HQinTJVapBHp6szEmbc4U="; }; nativeBuildInputs = [ installShellFiles patsh ]; installPhase = '' runHook preInstall patsh -f sd install -Dt "$out/bin" sd installShellCompletion --zsh _sd runHook postInstall ''; meta = { description = "A cozy nest for your scripts"; homepage = "https://github.com/ianthehenry/sd"; changelog = "https://github.com/ianthehenry/sd/tree/${src.rev}#changelog"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ janik ]; mainProgram = "sd"; }; }
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12101,6 +12101,8 @@ with pkgs; scriptaculous = callPackage ../development/libraries/scriptaculous { }; script-directory = callPackage ../tools/misc/script-directory { }; scrot = callPackage ../tools/graphics/scrot { }; scrypt = callPackage ../tools/security/scrypt { };