2022-02-16 03:02:35 +01:00
|
|
|
|
{ stdenvNoCC, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
|
pname = "distrobox";
|
2022-04-28 13:40:12 +02:00
|
|
|
|
version = "1.2.15";
|
2022-02-16 03:02:35 +01:00
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "89luca89";
|
|
|
|
|
repo = pname;
|
|
|
|
|
rev = version;
|
2022-04-28 13:40:12 +02:00
|
|
|
|
sha256 = "sha256-9rivXnHyEE1MoGY+CwUeDStLGPVq+4FvwPjV7Nblk60=";
|
2022-02-16 03:02:35 +01: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
|
|
|
|
|
you’re more comfortable with
|
|
|
|
|
'';
|
|
|
|
|
homepage = "https://distrobox.privatedns.org/";
|
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
|
platforms = platforms.all;
|
|
|
|
|
maintainers = with maintainers; [ atila ];
|
|
|
|
|
};
|
|
|
|
|
}
|