Merge pull request #329885 from ryand56/update-cinny

cinny, cinny-desktop: 3.2.0 -> 4.0.3
This commit is contained in:
Masum Reza
2024-07-26 10:31:57 +05:30
committed by GitHub
3 changed files with 14 additions and 4816 deletions
File diff suppressed because it is too large Load Diff
@@ -21,19 +21,18 @@
rustPlatform.buildRustPackage rec {
pname = "cinny-desktop";
# We have to be using the same version as cinny-web or this isn't going to work.
version = "3.2.0";
version = "4.0.3";
src = fetchFromGitHub {
owner = "cinnyapp";
repo = "cinny-desktop";
rev = "v${version}";
hash = "sha256-uHGqvulH7/9JpUjkpcbCh1pPvX4/ndVIKcBXzWmDo+s=";
hash = "sha256-05T/2e5+st+vGQuO8lRw6KWz3+Qiqd14dCPvayyz5mo=";
};
sourceRoot = "${src.name}/src-tauri";
# modififying $cargoDepsCopy requires the lock to be vendored
cargoLock.lockFile = ./Cargo.lock;
cargoHash = "sha256-bM+V37PJAob/DA2jy2g69zUY99ZyZBzgO6djadbdiJw=";
postPatch = let
cinny' =
@@ -94,12 +93,12 @@ rustPlatform.buildRustPackage rec {
})
];
meta = with lib; {
meta = {
description = "Yet another matrix client for desktop";
homepage = "https://github.com/cinnyapp/cinny-desktop";
maintainers = with maintainers; [ qyriad ];
license = licenses.agpl3Only;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with lib.maintainers; [ qyriad ];
license = lib.licenses.agpl3Only;
platforms = lib.platforms.linux ++ lib.platforms.darwin;
mainProgram = "cinny";
};
}
@@ -18,16 +18,16 @@ let
in
buildNpmPackage rec {
pname = "cinny";
version = "3.2.0";
version = "4.0.3";
src = fetchFromGitHub {
owner = "cinnyapp";
repo = "cinny";
rev = "v${version}";
hash = "sha256-wAa7y2mXPkXAfirRSFqwZYIJK0CKDzZG8ULzXzr4zZ4=";
hash = "sha256-5Tf1CgB/YAyGVpopHERQ8xNGwklB+f2l+yfgCKsR3I8=";
};
npmDepsHash = "sha256-dVdylvclUIHvF5syVumdxkXR4bG1FA4LOYg3GmnNzXE=";
npmDepsHash = "sha256-wtHFqnz5BtMUikdFZyTiLrw+e69WErowYBhu8cnEjkI=";
# Fix error: no member named 'aligned_alloc' in the global namespace
env.NIX_CFLAGS_COMPILE = lib.optionalString (
@@ -57,11 +57,11 @@ buildNpmPackage rec {
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Yet another Matrix client for the web";
homepage = "https://cinny.in/";
maintainers = with maintainers; [ abbe ];
license = licenses.agpl3Only;
platforms = platforms.all;
maintainers = with lib.maintainers; [ abbe ];
license = lib.licenses.agpl3Only;
platforms = lib.platforms.all;
};
}