Merge pull request #243315 from propet/kingstvis-init-3.6.1

This commit is contained in:
Sandro 2023-07-25 14:56:56 +02:00 committed by GitHub
commit 2f393e7d42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 70 additions and 0 deletions

View file

@ -9853,6 +9853,15 @@
githubId = 22085373;
name = "Luis Hebendanz";
};
luisdaranda = {
email = "luisdomingoaranda@gmail.com";
github = "propet";
githubId = 8515861;
name = "Luis D. Aranda Sánchez";
keys = [{
fingerprint = "AB7C 81F4 9E07 CC64 F3E7 BC25 DCAC C6F4 AAFC C04E";
}];
};
luisnquin = {
email = "lpaandres2020@gmail.com";
matrix = "@luisnquin:matrix.org";

View file

@ -0,0 +1,59 @@
{ buildFHSEnv
, dbus
, fetchzip
, fontconfig
, freetype
, glib
, lib
, libGL
, stdenv
, xkeyboard_config
, xorg
, zlib
}:
let
name = "kingstvis";
version = "3.6.1";
src = fetchzip {
url = "http://res.kingst.site/kfs/KingstVIS_v${version}.tar.gz";
hash = "sha256-eZJ3RZWdmNx/El3Hh5kUf44pIwdvwOEkRysYBgUkS18=";
};
in
buildFHSEnv {
inherit name;
targetPkgs = pkgs: (with pkgs; [
dbus
fontconfig
freetype
glib
libGL
xkeyboard_config
xorg.libICE
xorg.libSM
xorg.libX11
xorg.libXext
xorg.libXi
xorg.libXrender
xorg.libxcb
zlib
]);
extraInstallCommands = ''
install -Dvm644 ${src}/Driver/99-Kingst.rules \
$out/lib/udev/rules.d/99-Kingst.rules
'';
runScript = "${src}/KingstVIS";
meta = {
description = "Kingst Virtual Instruments Studio, software for logic analyzers";
homepage = "http://www.qdkingst.com/";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.luisdaranda ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -16256,6 +16256,8 @@ with pkgs;
kind2 = darwin.apple_sdk_11_0.callPackage ../development/compilers/kind2 { };
kingstvis = callPackage ../applications/science/electronics/kingstvis { };
knightos-genkfs = callPackage ../development/tools/knightos/genkfs { };
regenkfs = callPackage ../development/tools/knightos/regenkfs { };