blob: 7f5e31d380eb1f036e145ad55c6f18310c00eba8 (
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
|
{
lib,
stdenv,
fetchFromGitHub,
cmake,
doctest,
libsForQt5,
qcoro_task_exception_handling,
makeDesktopItem,
copyDesktopItems,
}:
with libsForQt5;
stdenv.mkDerivation rec {
name = "shvspy";
src = fetchFromGitHub {
owner = "silicon-heaven";
repo = "shvspy";
rev = "a922e963bf7884164fe2b124a7a4366f7fc802a3";
sha256 = "ExA+sFlkxFKXk69DKoGzKm80ypiNFwN281MwZkMgaVY=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
doctest
wrapQtAppsHook
copyDesktopItems
];
buildInputs = [
qtbase
qtserialport
qtwebsockets
doctest
qcoro_task_exception_handling
];
desktopItems = [
(makeDesktopItem {
name = "shvspy";
exec = "shvspy";
desktopName = "SHVSpy";
categories = ["Network" "RemoteAccess"];
})
];
meta = with lib; {
description = "Console version of Stardict program";
homepage = "https://dushistov.github.io/sdcv/";
license = licenses.gpl2;
};
}
|