blob: c8b57f5523529e1d26228de29babea3d43dbdd57 (
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
|
{
lib,
stdenv,
fetchFromGitHub,
cmake,
doctest,
qt6,
makeDesktopItem,
copyDesktopItems,
}:
with qt6;
stdenv.mkDerivation rec {
name = "shvspy";
src = fetchFromGitHub {
owner = "silicon-heaven";
repo = "shvspy";
rev = "c8a3b52e7300f1f05a54569121da8a2e9bb015aa";
hash = "sha256-+aknZ/Uo0VuMm45PHqSrvdyfD73hofS8HKVSfkIyM5I=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
doctest
wrapQtAppsHook
copyDesktopItems
];
buildInputs = [
qtbase
qtserialport
qtwebsockets
qtsvg
doctest
];
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;
};
}
|