File tree Expand file tree Collapse file tree 2 files changed +13
-24
lines changed Expand file tree Collapse file tree 2 files changed +13
-24
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
33 stdenv ,
4- darwin ,
54 fetchFromGitHub ,
65 rustPlatform ,
76 cargo-tauri_1 ,
1413 dbus ,
1514 glib ,
1615 glib-networking ,
17- libayatana-appindicator ,
1816 webkitgtk_4_0 ,
1917} :
2018
2119rustPlatform . buildRustPackage rec {
2220 pname = "cinny-desktop" ;
2321 # We have to be using the same version as cinny-web or this isn't going to work.
24- version = "4.2.3" ;
22+ # TODO: this is temporarily not true for Cinny Desktop v4.3.1
23+ version = "4.3.1" ;
2524
2625 src = fetchFromGitHub {
2726 owner = "cinnyapp" ;
2827 repo = "cinny-desktop" ;
2928 tag = "v${ version } " ;
30- hash = "sha256-yNGzgkZXz/VroGGnZFqo5n2v3cE6/tvpQv5U4p27row =" ;
29+ hash = "sha256-lVBKzajxsQ33zC6NhRLMbWK81GxCbIQPtSR61yJHUL4 =" ;
3130 } ;
3231
3332 sourceRoot = "${ src . name } /src-tauri" ;
3433
3534 useFetchCargoVendor = true ;
36- cargoHash = "sha256-79MO2JaOBKVfiE7OLFR3kobnE2yH5g44mRt2TKIEfxA =" ;
35+ cargoHash = "sha256-a2IyJ5a11cxgHpb2WRDxVF+aoL8kNnjBNwaQpgT3goo =" ;
3736
3837 postPatch =
3938 let
4039 cinny' =
41- assert lib . assertMsg (
42- cinny . version == version
43- ) "cinny.version (${ cinny . version } ) != cinny-desktop.version (${ version } )" ;
40+ # TODO: temporarily disabled for Cinny Desktop v4.3.1 (cinny-unwrapped is still at 4.3.0)
41+ # assert lib.assertMsg (
42+ # cinny.version == version
43+ # ) "cinny.version (${cinny.version}) != cinny-desktop.version (${version})";
4444 cinny . override {
4545 conf = {
4646 hashRouter . enabled = true ;
@@ -82,16 +82,12 @@ rustPlatform.buildRustPackage rec {
8282 buildInputs =
8383 [
8484 openssl
85- dbus
86- glib
8785 ]
8886 ++ lib . optionals stdenv . hostPlatform . isLinux [
87+ dbus
88+ glib
8989 glib-networking
9090 webkitgtk_4_0
91- ]
92- ++ lib . optionals stdenv . hostPlatform . isDarwin [
93- darwin . DarwinTools
94- darwin . apple_sdk . frameworks . WebKit
9591 ] ;
9692
9793 meta = {
Original file line number Diff line number Diff line change 99 cairo ,
1010 pango ,
1111 stdenv ,
12- olm ,
13- nodejs_20 ,
1412} :
1513
1614buildNpmPackage rec {
1715 pname = "cinny-unwrapped" ;
18- version = "4.2.3 " ;
16+ version = "4.3.0 " ;
1917
2018 src = fetchFromGitHub {
2119 owner = "cinnyapp" ;
2220 repo = "cinny" ;
2321 rev = "v${ version } " ;
24- hash = "sha256-BoUQURCfEu5kocMm8T25cVl8hgZGxcxrMzQZOl2fAbY =" ;
22+ hash = "sha256-cRsjzIq8uFipyYYmxK4JzmG3Ba/0NaScyiebGqoZJFE =" ;
2523 } ;
2624
27- # canvas, a transitive dependency of cinny, fails to build with Node 22
28- # https://github.com/Automattic/node-canvas/issues/2448
29- nodejs = nodejs_20 ;
30-
31- npmDepsHash = "sha256-fDoia6evCmXZgeIKL0coRo3yunX1dfud31ROgmop2Sc=" ;
25+ npmDepsHash = "sha256-ZmeXZN9sW17y4aIeIthvs4YiFF77xabeVXGwr6O49lQ=" ;
3226
3327 nativeBuildInputs = [
3428 python3
@@ -55,6 +49,5 @@ buildNpmPackage rec {
5549 maintainers = with lib . maintainers ; [ abbe ] ;
5650 license = lib . licenses . agpl3Only ;
5751 platforms = lib . platforms . all ;
58- inherit ( olm . meta ) knownVulnerabilities ;
5952 } ;
6053}
You can’t perform that action at this time.
0 commit comments