package.nix (979B)
1 { 2 lib, 3 stdenv, 4 fetchfromgh, 5 _7zz, 6 }: 7 8 stdenv.mkDerivation (finalAttrs: { 9 pname = "podman-desktop"; 10 version = "1.15.0"; 11 12 __structuredAttrs = true; 13 14 src = fetchfromgh { 15 owner = "containers"; 16 repo = "podman-desktop"; 17 tag = "v${finalAttrs.version}"; 18 hash = "sha256-TS2232oa7lnDh4E3F3Z3y2IGX2Q/SRV/tWIlvgpBkEU="; 19 name = "podman-desktop-${finalAttrs.version}-x64.dmg"; 20 }; 21 22 sourceRoot = "."; 23 24 nativeBuildInputs = [ _7zz ]; 25 unpackCmd = "7zz x $curSrc"; 26 27 installPhase = '' 28 runHook preInstall 29 mkdir -p $out/Applications 30 cp -R *.app $out/Applications 31 runHook postInstall 32 ''; 33 34 meta = { 35 description = "A graphical tool for developing on containers and Kubernetes"; 36 homepage = "https://podman-desktop.io/"; 37 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 38 license = lib.licenses.asl20; 39 platforms = [ "x86_64-darwin" ]; 40 maintainers = [ lib.maintainers.sikmir ]; 41 skip.ci = true; 42 }; 43 })
