1 { stdenvNoCC, lib, fetchFromGitHub, makeWrapper, wget }:
3 stdenvNoCC.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
10 rev = finalAttrs.version;
11 hash = "sha256-e9oSTk+UlkrkRSipqjjMqwtxEvEZffVBmlSTmsIT7cU=";
17 nativeBuildInputs = [ makeWrapper ];
20 # https://github.com/89luca89/distrobox/issues/408
21 ./relative-default-icon.patch
32 # https://github.com/89luca89/distrobox/issues/407
34 wrapProgram "$out/bin/distrobox-generate-entry" \
35 --prefix PATH ":" ${lib.makeBinPath [ wget ]}
37 mkdir -p $out/share/distrobox
38 echo 'container_additional_volumes="/nix:/nix"' > $out/share/distrobox/distrobox.conf
42 description = "Wrapper around podman or docker to create and start containers";
44 Use any linux distribution inside your terminal. Enable both backward and
45 forward compatibility with software and freedom to use whatever distribution
46 you’re more comfortable with
48 homepage = "https://distrobox.it/";
49 license = licenses.gpl3Only;
50 platforms = platforms.linux;
51 maintainers = with maintainers; [ atila ];