tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
dsremote: init at 0-unstable-2025-07-07
mksafavi
6 months ago
82e1d65d
b74a30db
+40
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ds
dsremote
package.nix
+40
pkgs/by-name/ds/dsremote/package.nix
···
1
1
+
{
2
2
+
lib,
3
3
+
stdenv,
4
4
+
fetchFromGitLab,
5
5
+
libsForQt5,
6
6
+
}:
7
7
+
stdenv.mkDerivation {
8
8
+
pname = "dsremote";
9
9
+
version = "0-unstable-2025-07-07";
10
10
+
11
11
+
src = fetchFromGitLab {
12
12
+
owner = "Teuniz";
13
13
+
repo = "DSRemote";
14
14
+
rev = "b290debcfecd4fecf2069fb958bd43fe9e5ce5e1";
15
15
+
hash = "sha256-7a13T8MwIFDhrXe7xqB84D6MwfTYs1gJj6VWs4JbzEM=";
16
16
+
};
17
17
+
18
18
+
nativeBuildInputs = [
19
19
+
libsForQt5.qmake
20
20
+
libsForQt5.qt5.wrapQtAppsHook
21
21
+
libsForQt5.qt5.qtbase
22
22
+
];
23
23
+
24
24
+
hardeningDisable = [ "fortify" ];
25
25
+
26
26
+
postPatch = ''
27
27
+
substituteInPlace dsremote.pro \
28
28
+
--replace-fail "/usr/" "$out/" \
29
29
+
--replace-fail "/etc/" "$out/etc/"
30
30
+
'';
31
31
+
32
32
+
meta = {
33
33
+
description = "Rigol DS1000Z remote control and waveform viewer";
34
34
+
homepage = "https://www.teuniz.net/DSRemote";
35
35
+
license = lib.licenses.gpl3Plus;
36
36
+
platforms = lib.platforms.linux;
37
37
+
maintainers = with lib.maintainers; [ mksafavi ];
38
38
+
mainProgram = "dsremote";
39
39
+
};
40
40
+
}