Files
nixpkgs/pkgs/by-name/do/dockstarter/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
906 B
Nix

{
bash,
coreutils,
fetchFromGitHub,
git,
lib,
makeWrapper,
ncurses,
stdenv,
}:
stdenv.mkDerivation {
pname = "dockstarter";
version = "unstable-2022-10-26";
src = fetchFromGitHub {
owner = "ghostwriters";
repo = "dockstarter";
rev = "a1b6b6e29aa135c2a61ea67ca05e9e034856ca08";
hash = "sha256-G26DFme6YaizdE5oHBo/IqV+1quu07Bp+IykXtO/GgA=";
};
dontBuild = false;
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
install -Dm755 main.sh $out/bin/ds
wrapProgram $out/bin/ds --prefix PATH : ${
lib.makeBinPath [
bash
coreutils
git
ncurses
]
}
'';
meta = with lib; {
description = "Make it quick and easy to get up and running with Docker";
homepage = "https://dockstarter.com";
license = licenses.mit;
maintainers = with maintainers; [ urandom ];
mainProgram = "ds";
};
}