Skip to content

Commit

Permalink
feat(pkgs): bundle cura with appimage
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnossiom committed Dec 23, 2024
1 parent 7298707 commit f0a3b6c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
3 changes: 1 addition & 2 deletions home-manager/profiles/desktop.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ in
blender
bottles
calibre
# TODO: wait for fix
# cura
lpkgs.cura
element-desktop
evince
file-roller
Expand Down
13 changes: 13 additions & 0 deletions pkgs/cura.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ appimageTools
, fetchurl
}:

appimageTools.wrapType2 rec {
pname = "cura";
version = "5.9.0";

src = fetchurl {
url = "https://github.com/Ultimaker/Cura/releases/download/${version}/UltiMaker-Cura-${version}-linux-X64.AppImage";
hash = "sha256-STtVeM4Zs+PVSRO3cI0LxnjRDhOxSlttZF+2RIXnAp4=";
};
}
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ let
in
{
asak = pkgs.callPackage ./asak.nix { };
cura = pkgs.callPackage ./cura.nix { };
find-unicode = pkgs.callPackage ./find-unicode.nix { };
# lazyjj = pkgs.callPackage ./lazyjj.nix { };
names = pkgs.callPackage ./names.nix { };
Expand Down

0 comments on commit f0a3b6c

Please sign in to comment.