first commit

This commit is contained in:
shinya 2026-01-06 16:08:16 +01:00
commit d8e123845e

35
flake.nix Normal file
View File

@ -0,0 +1,35 @@
{
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";
};
}
);
}