16 lines
629 B
Nix
16 lines
629 B
Nix
{ appimageTools, fetchurl }:
|
|
let
|
|
pname = "creality-print";
|
|
version = "5.1.7";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/CrealityOfficial/CrealityPrint/releases/download/v5.1.7/Creality_Print-v5.1.7.10514-x86_64-Release.AppImage";
|
|
# nix-prefetch-url --type sha256 --name Creality_Print-v4.3.7.6627-x86_64-Release.AppImage https://file2-cdn.creality.com/file/05a4538e0c7222ce547eb8d58ef0251e/Creality_Print-v4.3.7.6627-x86_64-Release.AppImage
|
|
# nix-hash --type sha256 --to-sri
|
|
sha256 = "sha256-IrVBlNbYs/Lmb9y8Yb/Xfpz+Rsx56nmK+4GkuMHh9zc=";
|
|
};
|
|
in
|
|
appimageTools.wrapType2 {
|
|
inherit pname version src;
|
|
}
|