dsremote: init at 0-unstable-2025-07-07

mksafavi 82e1d65d b74a30db

Changed files
+40
pkgs
by-name
ds
dsremote
+40
pkgs/by-name/ds/dsremote/package.nix
···
+
{
+
lib,
+
stdenv,
+
fetchFromGitLab,
+
libsForQt5,
+
}:
+
stdenv.mkDerivation {
+
pname = "dsremote";
+
version = "0-unstable-2025-07-07";
+
+
src = fetchFromGitLab {
+
owner = "Teuniz";
+
repo = "DSRemote";
+
rev = "b290debcfecd4fecf2069fb958bd43fe9e5ce5e1";
+
hash = "sha256-7a13T8MwIFDhrXe7xqB84D6MwfTYs1gJj6VWs4JbzEM=";
+
};
+
+
nativeBuildInputs = [
+
libsForQt5.qmake
+
libsForQt5.qt5.wrapQtAppsHook
+
libsForQt5.qt5.qtbase
+
];
+
+
hardeningDisable = [ "fortify" ];
+
+
postPatch = ''
+
substituteInPlace dsremote.pro \
+
--replace-fail "/usr/" "$out/" \
+
--replace-fail "/etc/" "$out/etc/"
+
'';
+
+
meta = {
+
description = "Rigol DS1000Z remote control and waveform viewer";
+
homepage = "https://www.teuniz.net/DSRemote";
+
license = lib.licenses.gpl3Plus;
+
platforms = lib.platforms.linux;
+
maintainers = with lib.maintainers; [ mksafavi ];
+
mainProgram = "dsremote";
+
};
+
}