Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Initial commit for Adobe_Illustrator_CS6.AppImage
Browse files Browse the repository at this point in the history
  • Loading branch information
DataEraserC committed Sep 28, 2023
1 parent a91f85b commit d4a9842
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
pkgs.callPackage ./pkgs/wechat_dev_tools_fhs_deb { };
Adobe_Photoshop_CS6_appimage =
pkgs.callPackage ./pkgs/Adobe_Photoshop_CS6_appimage { };
Adobe_Illustrator_CS6.AppImage =
pkgs.callPackage ./pkgs/Adobe_Illustrator_CS6.AppImage { };
wechat_dev_tools_appimage =
pkgs.callPackage ./pkgs/wechat_dev_tools_appimage { };
wechat_dev_tools_deb = pkgs.callPackage ./pkgs/wechat_dev_tools_deb { };
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{ fetchurl, lib, stdenv, pkgs, appimage-run, makeDesktopItem }:
stdenv.mkDerivation rec {
pname = "Adobe_Illustrator_CS6";
version = "CS6";

src = fetchurl {
url =
"https://github.com/Program-Learning/nur-packages/releases/download/Adobe_Illustrator_CS6.AppImage/Adobe_Illustrator_CS6.AppImage.7z";
sha256 = "sha256-U19wx0asTuu6o/AvUrp2AM1bywwJAfH5R7H4zdVPj+A=";
};
sourceRoot = ".";

nativeBuildInputs = with pkgs; [
wrapGAppsHook
autoPatchelfHook
makeWrapper
dpkg
];

unpackPhase = "7z x $src";

installPhase = ''
_install() {
mkdir -p $out/Appimage
mv Adobe_Illustrator_CS6.AppImage $out/Appimage/
}
_install
'';

buildInputs = with pkgs; [ p7zip ];

# runtimeLibs = pkgs.lib.makeLibraryPath [
# pkgs.libudev0-shim
# pkgs.glibc
# pkgs.libsecret
# pkgs.nss
# ];

preFixup = ''
makeWrapper ${appimage-run}/bin/appimage-run $out/bin/adobe_illustrator_cs6 \
--argv0 "adobe_illustrator_cs6" \
--add-flags "$out/Appimage/Adobe_Illustrator_CS6.AppImage"
'';

desktopItems = lib.toList (makeDesktopItem {
name = "Adobe_Illustrator_CS6";
genericName = "Adobe_Illustrator_CS6";
exec = "photoshop";
icon = "photoshop";
comment = "Adobe_Illustrator_CS6";
mimeTypes = [ "x-scheme-handler/wechatide" ];
desktopName = "Adobe_Illustrator_CS6";
categories = [ "Development" ];
});
meta = with lib; {
description = "Adobe_Illustrator_CS6";
homepage = "https://t.me/Linux_Appimages/1052";
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ Program-Learning ];
};
}
1 change: 1 addition & 0 deletions pkgs/Adobe_Illustrator_CS6.AppImage/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import ./Adobe_Illustrator_CS6.AppImage.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ stdenv.mkDerivation rec {
'';

desktopItems = lib.toList (makeDesktopItem {
name = "adobe_Photoshop_CS6";
name = "Adobe_Photoshop_CS6";
genericName = "Adobe_Photoshop_CS6";
exec = "photoshop";
icon = "photoshop";
comment = "Adobe_Photoshop_CS6";
mimeTypes = [ "x-scheme-handler/wechatide" ];
desktopName = "Adobe_Photoshop_CS6";
categories = [ "Development" ];
# startupWMClass = "wechat_devtools";
});
meta = with lib; {
description = "Adobe_Photoshop_CS6";
Expand Down

0 comments on commit d4a9842

Please sign in to comment.