Merge pull request #262611 from ashkitten/update-cinny

cinny: 2.2.6 -> 3.0.0

authored by

Weijia Wang and committed by
GitHub
3a5f01cf d276de49

+28 -5
+28 -5
pkgs/applications/networking/instant-messengers/cinny/default.nix
··· 1 - { lib, buildNpmPackage, fetchFromGitHub, writeText, jq, conf ? { } }: 2 3 let 4 configOverrides = writeText "cinny-config-overrides.json" (builtins.toJSON conf); 5 in 6 buildNpmPackage rec { 7 pname = "cinny"; 8 - version = "2.2.6"; 9 10 src = fetchFromGitHub { 11 owner = "cinnyapp"; 12 repo = "cinny"; 13 rev = "v${version}"; 14 - hash = "sha256-Da/gbq9piKvkIMiamoafcRrqxF7128GXoswk2C43An8="; 15 }; 16 17 - npmDepsHash = "sha256-3wgB/dQmLtwxbRsk+OUcyfx98vpCvhvseEOCrJIFohY="; 18 19 nativeBuildInputs = [ 20 jq 21 ]; 22 23 installPhase = '' ··· 32 meta = with lib; { 33 description = "Yet another Matrix client for the web"; 34 homepage = "https://cinny.in/"; 35 - maintainers = with maintainers; [ abbe ]; 36 license = licenses.agpl3Only; 37 platforms = platforms.all; 38 };
··· 1 + { lib 2 + , buildNpmPackage 3 + , fetchFromGitHub 4 + , writeText 5 + , jq 6 + , python3 7 + , pkg-config 8 + , pixman 9 + , cairo 10 + , pango 11 + , stdenv 12 + , darwin 13 + , conf ? { } 14 + }: 15 16 let 17 configOverrides = writeText "cinny-config-overrides.json" (builtins.toJSON conf); 18 in 19 buildNpmPackage rec { 20 pname = "cinny"; 21 + version = "3.0.0"; 22 23 src = fetchFromGitHub { 24 owner = "cinnyapp"; 25 repo = "cinny"; 26 rev = "v${version}"; 27 + hash = "sha256-BFovEmT4RgdzlSYi1p0324PW7+2rvw3n5+jKWTV2FF4="; 28 }; 29 30 + npmDepsHash = "sha256-E+VBs66chBeiK40DZZ1hWTTISKaBN1RA+Uyr1iHqfus="; 31 32 nativeBuildInputs = [ 33 jq 34 + python3 35 + pkg-config 36 + ]; 37 + 38 + buildInputs = [ 39 + pixman 40 + cairo 41 + pango 42 + ] ++ lib.optionals stdenv.isDarwin [ 43 + darwin.apple_sdk.frameworks.CoreText 44 ]; 45 46 installPhase = '' ··· 55 meta = with lib; { 56 description = "Yet another Matrix client for the web"; 57 homepage = "https://cinny.in/"; 58 + maintainers = with maintainers; [ abbe ashkitten ]; 59 license = licenses.agpl3Only; 60 platforms = platforms.all; 61 };