From 19f80f0d327089029796b4482323bba9eb961bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Kennedy?= Date: Sat, 5 Jun 2021 15:07:37 -0700 Subject: [PATCH] veikk-linux-driver-gui: init at 2.0 Add configuration utility to configure VEIKK brand digitizers --- maintainers/maintainer-list.nix | 10 ++++++ .../misc/veikk-linux-driver-gui/default.nix | 32 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 44 insertions(+) create mode 100644 pkgs/tools/misc/veikk-linux-driver-gui/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 1989c99c1ea2..2448ad3f93da 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -7261,6 +7261,16 @@ githubId = 10180857; name = "Anmol Sethi"; }; + nicbk = { + email = "nicolas@nicbk.com"; + github = "nicbk"; + githubId = 77309427; + name = "Nicolás Kennedy"; + keys = [{ + longkeyid = "rsa4096/0xC061089EFEBF7A35"; + fingerprint = "7BC1 77D9 C222 B1DC FB2F 0484 C061 089E FEBF 7A35"; + }]; + }; nichtsfrei = { email = "philipp.eder@posteo.net"; github = "nichtsfrei"; diff --git a/pkgs/tools/misc/veikk-linux-driver-gui/default.nix b/pkgs/tools/misc/veikk-linux-driver-gui/default.nix new file mode 100644 index 000000000000..e216823f7ab6 --- /dev/null +++ b/pkgs/tools/misc/veikk-linux-driver-gui/default.nix @@ -0,0 +1,32 @@ +{ lib, mkDerivation, fetchFromGitHub, gnumake, qmake }: + +mkDerivation rec { + name = "veikk-linux-driver-gui"; + version = "2.0"; + + src = fetchFromGitHub { + owner = "jlam55555"; + repo = name; + rev = "v${version}"; + sha256 = "02g1q79kwjlzg95w38a1d7nxvcry8xcsvhax2js4c7xqvzhkki5j"; + }; + + nativeBuildInputs = [ qmake ]; + + postBuild = '' + make all clean + ''; + + installPhase = '' + mkdir -p $out/bin + cp veikk-linux-driver-gui $out/bin + ''; + + meta = with lib; { + description = "Configuration tool for the VEIKK Linux driver"; + homepage = "https://github.com/jlam55555/veikk-linux-driver-gui/"; + license = licenses.unfree; + platforms = platforms.linux; + maintainers = with maintainers; [ nicbk ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b10c4d8202f4..e55d89a62408 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -870,6 +870,8 @@ in tnat64 = callPackage ../tools/networking/tnat64 { }; + veikk-linux-driver-gui = libsForQt5.callPackage ../tools/misc/veikk-linux-driver-gui { }; + xcd = callPackage ../tools/misc/xcd { }; xtrt = callPackage ../tools/archivers/xtrt { };