nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 47ebb891b4ee445dd51b031c5968921ae2adfa3d
parent fba25a86e08da8f6190b96d0840b97aba3349856
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Fri, 20 Feb 2026 19:25:45 +0400

Add qiec104

Diffstat:
Apkgs/by-name/qi/qiec104/package.nix | 44++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+), 0 deletions(-)

diff --git a/pkgs/by-name/qi/qiec104/package.nix b/pkgs/by-name/qi/qiec104/package.nix @@ -0,0 +1,44 @@ +{ + lib, + stdenv, + fetchFromGitHub, + fetchpatch, + qt5, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "qiec104"; + version = "1.1"; + + src = fetchFromGitHub { + owner = "MicroKoder"; + repo = "QIEC104"; + tag = "v${finalAttrs.version}"; + hash = "sha256-0iHcn3AMrqi0t/6JXYQsVFQaevwNgk27e4BjJvY1GtA="; + }; + + patches = [ + # gcc support + (fetchpatch { + url = "https://github.com/MicroKoder/QIEC104/commit/804916a811e561e4a73b14d475a76c84bfb5b58d.patch"; + hash = "sha256-H1IJ8tBL5+4GO5WGMrDDwU65ylgA0QOhq9eZzRN6TxM="; + }) + ]; + + nativeBuildInputs = [ + qt5.qmake + qt5.wrapQtAppsHook + ]; + + postInstall = '' + install -Dm755 Q104 -t $out/bin + ''; + + meta = { + description = "Small IEC104 client"; + homepage = "https://github.com/MicroKoder/QIEC104"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.sikmir ]; + platforms = lib.platforms.unix; + }; +})