Merge pull request #160251 from AtilaSaraiva/distrobox

distrobox: init at 1.2.13
This commit is contained in:
Anderson Torres 2022-03-05 01:27:55 -03:00 committed by GitHub
commit 856b1f7bdc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ stdenvNoCC, lib, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "distrobox";
version = "1.2.13";
src = fetchFromGitHub {
owner = "89luca89";
repo = pname;
rev = version;
sha256 = "047mrhsfi88mgwylnnyxg6xa7hjjrajn2pf7vfmb6161myqybvfy";
};
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/bin
./install -p $out/bin
runHook postInstall
'';
meta = with lib; {
description = "Wrapper around podman or docker to create and start containers";
longDescription = ''
Use any linux distribution inside your terminal. Enable both backward and
forward compatibility with software and freedom to use whatever distribution
youre more comfortable with
'';
homepage = "https://distrobox.privatedns.org/";
license = licenses.gpl3Only;
platforms = platforms.all;
maintainers = with maintainers; [ atila ];
};
}

View file

@ -1755,6 +1755,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
distrobox = callPackage ../applications/virtualization/distrobox { };
djmount = callPackage ../tools/filesystems/djmount { };
dgsh = callPackage ../shells/dgsh { };