mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
39 lines
953 B
Nix
39 lines
953 B
Nix
{ stdenvNoCC, lib, fetchFromGitHub }:
|
||
|
||
stdenvNoCC.mkDerivation rec {
|
||
pname = "distrobox";
|
||
version = "1.2.14";
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "89luca89";
|
||
repo = pname;
|
||
rev = version;
|
||
sha256 = "sha256-gHKyuIL4K/SLBJw8xNuPdNifDcHI91AFTiHaiv38gus=";
|
||
};
|
||
|
||
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
|
||
you’re more comfortable with
|
||
'';
|
||
homepage = "https://distrobox.privatedns.org/";
|
||
license = licenses.gpl3Only;
|
||
platforms = platforms.all;
|
||
maintainers = with maintainers; [ atila ];
|
||
};
|
||
}
|