mirage-im: 0.6.4 -> 0.7.2
This commit is contained in:
parent
7c204b7c2d
commit
a01b2ba75f
1 changed files with 60 additions and 29 deletions
|
@ -1,43 +1,74 @@
|
||||||
{ lib, stdenv, mkDerivation, fetchFromGitHub
|
{ lib
|
||||||
, qmake, pkg-config, olm, wrapQtAppsHook
|
, stdenv
|
||||||
, qtbase, qtquickcontrols2, qtkeychain, qtmultimedia, qtgraphicaleffects
|
, mkDerivation
|
||||||
, python3Packages, pyotherside, libXScrnSaver
|
, fetchFromGitHub
|
||||||
|
, libXScrnSaver
|
||||||
|
, olm
|
||||||
|
, pkg-config
|
||||||
|
, pyotherside
|
||||||
|
, python3Packages
|
||||||
|
, qmake
|
||||||
|
, qtbase
|
||||||
|
, qtgraphicaleffects
|
||||||
|
, qtkeychain
|
||||||
|
, qtmultimedia
|
||||||
|
, qtquickcontrols2
|
||||||
|
, wrapQtAppsHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
pypkgs = with python3Packages; [
|
|
||||||
aiofiles filetype matrix-nio appdirs cairosvg
|
|
||||||
pymediainfo setuptools html-sanitizer mistune blist
|
|
||||||
pyotherside
|
|
||||||
];
|
|
||||||
in
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "mirage";
|
pname = "mirage";
|
||||||
version = "0.6.4";
|
version = "0.7.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mirukana";
|
owner = "mirukana";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "15x0x2rf4fzsd0zr84fq3j3ddzkgc5il8s54jpxk8wl4ah03g4nv";
|
sha256 = "sha256-dJS4lAXHHNUEAG75gQaS9+aQTTTj8KHqHjISioynFdY=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config qmake wrapQtAppsHook python3Packages.wrapPython ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
buildInputs = [
|
python3Packages.wrapPython
|
||||||
qtbase qtmultimedia
|
qmake
|
||||||
qtquickcontrols2
|
wrapQtAppsHook
|
||||||
qtkeychain qtgraphicaleffects
|
|
||||||
olm pyotherside
|
|
||||||
libXScrnSaver
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = pypkgs;
|
buildInputs = [
|
||||||
|
libXScrnSaver
|
||||||
|
olm
|
||||||
|
pyotherside
|
||||||
|
qtbase
|
||||||
|
qtgraphicaleffects
|
||||||
|
qtkeychain
|
||||||
|
qtmultimedia
|
||||||
|
qtquickcontrols2
|
||||||
|
] ++ pythonPath;
|
||||||
|
|
||||||
pythonPath = pypkgs;
|
pythonPath = with python3Packages; [
|
||||||
|
aiofiles
|
||||||
|
appdirs
|
||||||
|
blist
|
||||||
|
cairosvg
|
||||||
|
filetype
|
||||||
|
html-sanitizer
|
||||||
|
hsluv
|
||||||
|
matrix-nio
|
||||||
|
mistune
|
||||||
|
plyer
|
||||||
|
pymediainfo
|
||||||
|
pyotherside
|
||||||
|
redbaron
|
||||||
|
simpleaudio
|
||||||
|
setuptools
|
||||||
|
watchgod
|
||||||
|
];
|
||||||
|
|
||||||
qmakeFlags = [ "PREFIX=${placeholder "out"}" "CONFIG+=qtquickcompiler" ];
|
qmakeFlags = [
|
||||||
|
"PREFIX=${placeholder "out"}"
|
||||||
|
"CONFIG+=qtquickcompiler"
|
||||||
|
];
|
||||||
|
|
||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -48,11 +79,11 @@ mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A fancy, customizable, keyboard-operable Qt/QML+Python Matrix chat client for encrypted and decentralized communication";
|
|
||||||
homepage = "https://github.com/mirukana/mirage";
|
homepage = "https://github.com/mirukana/mirage";
|
||||||
license = licenses.lgpl3;
|
description = "A fancy, customizable, keyboard-operable Qt/QML+Python Matrix chat client for encrypted and decentralized communication";
|
||||||
maintainers = with maintainers; [ colemickens ];
|
license = licenses.lgpl3Plus;
|
||||||
broken = stdenv.isDarwin;
|
maintainers = with maintainers; [ colemickens AndersonTorres ];
|
||||||
inherit (qtbase.meta) platforms;
|
inherit (qtbase.meta) platforms;
|
||||||
|
broken = stdenv.isDarwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue