Merge pull request #200139 from urandom2/dockstarter
Fixes https://github.com/NixOS/nixpkgs/issues/180060
This commit is contained in:
commit
b4fcfe4144
43
pkgs/tools/virtualization/dockstarter/default.nix
Normal file
43
pkgs/tools/virtualization/dockstarter/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ bash
|
||||
, coreutils
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
, lib
|
||||
, makeWrapper
|
||||
, ncurses
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dockstarter";
|
||||
version = "unstable-2022-10-26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ghostwriters";
|
||||
repo = pname;
|
||||
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 = "DockSTARTer helps you get started with running apps in Docker.";
|
||||
homepage = "https://dockstarter.com";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ urandom ];
|
||||
mainProgram = "ds";
|
||||
};
|
||||
}
|
@ -28044,6 +28044,8 @@ with pkgs;
|
||||
|
||||
docker-credential-helpers = callPackage ../tools/admin/docker-credential-helpers { };
|
||||
|
||||
dockstarter = callPackage ../tools/virtualization/dockstarter {};
|
||||
|
||||
doodle = callPackage ../applications/search/doodle { };
|
||||
|
||||
dr14_tmeter = callPackage ../applications/audio/dr14_tmeter { };
|
||||
|
Loading…
Reference in New Issue
Block a user