nixpkgs/pkgs/applications/virtualization/distrobox/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
952 B
Nix
Raw Normal View History

2022-02-16 02:02:35 +00:00
{ stdenvNoCC, lib, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "distrobox";
2022-06-11 19:21:19 +00:00
version = "1.3.1";
2022-02-16 02:02:35 +00:00
src = fetchFromGitHub {
owner = "89luca89";
repo = pname;
rev = version;
2022-06-11 19:21:19 +00:00
sha256 = "sha256-7qPEtWDshe3bHUvbf35k31EnL2sQEXeDmMUGBPkiB9U=";
2022-02-16 02:02:35 +00:00
};
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 ];
};
}