mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 06:55:10 +00:00
47 lines
964 B
Nix
47 lines
964 B
Nix
{ stdenv
|
|
, lib
|
|
, dpkg
|
|
, fetchurl
|
|
, autoPatchelfHook
|
|
, glib-networking
|
|
, openssl
|
|
, webkitgtk
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "cinny-desktop";
|
|
version = "2.2.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/cinnyapp/cinny-desktop/releases/download/v${version}/Cinny_desktop-x86_64.deb";
|
|
sha256 = "sha256-Bh7qBlHh2bQ6y2HnI4TtxMU6N3t04tr1Juoul2KMrqs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoPatchelfHook
|
|
dpkg
|
|
];
|
|
|
|
buildInputs = [
|
|
glib-networking
|
|
openssl
|
|
webkitgtk
|
|
wrapGAppsHook
|
|
];
|
|
|
|
unpackCmd = "dpkg-deb -x $curSrc source";
|
|
|
|
installPhase = "mv usr $out";
|
|
|
|
meta = with lib; {
|
|
description = "Yet another matrix client for desktop";
|
|
homepage = "https://github.com/cinnyapp/cinny-desktop";
|
|
maintainers = [ maintainers.aveltras ];
|
|
license = licenses.agpl3Only;
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "cinny";
|
|
};
|
|
}
|