blob: c8a1b5da5b197c64de6441b116959205d8985f3c (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
lib,
buildNpmPackage,
fetchFromGitHub,
giflib,
python3,
pkg-config,
pixman,
cairo,
pango,
stdenv,
}:
buildNpmPackage rec {
pname = "cinny-unwrapped";
version = "4.6.0";
src = fetchFromGitHub {
owner = "cinnyapp";
repo = "cinny";
rev = "v${version}";
hash = "sha256-MyVKRWhLXxz4h2/2OtpmYrLYiZeNOMEetHwl4NklkOA=";
};
npmDepsHash = "sha256-WNK1ke5NEbt2Gb92hEItnwu65rI/5VsbZDfTSp6aKvg=";
nativeBuildInputs = [
python3
pkg-config
];
buildInputs = [
pixman
cairo
pango
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ giflib ];
installPhase = ''
runHook preInstall
cp -r dist $out
runHook postInstall
'';
meta = {
description = "Yet another Matrix client for the web";
homepage = "https://cinny.in/";
maintainers = with lib.maintainers; [ abbe ];
license = lib.licenses.agpl3Only;
platforms = lib.platforms.all;
};
}
|