{ description = "Cinny Desktop AppImage (v4.10.2)"; inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let pkgs = import nixpkgs { inherit system; }; version = "4.10.2"; cinny-appimage = pkgs.appimageTools.wrapType2 { pname = "cinny-desktop"; inherit version; src = pkgs.fetchurl { url = "https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/Cinny_desktop-x86_64.AppImage"; sha256 = "sha256-dHBYTT943vbk9ozYh+9h4Pl1QSfoXAEbUXUMOptVo88="; }; }; in { packages.default = cinny-appimage; apps.default = { type = "app"; program = "${cinny-appimage}/bin/cinny-desktop"; }; } ); }