mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 06:01:19 +00:00
hyperhdr: init at 20.0.0.0 (#306321)
This commit is contained in:
commit
52cfd83eee
69
pkgs/by-name/hy/hyperhdr/package.nix
Normal file
69
pkgs/by-name/hy/hyperhdr/package.nix
Normal file
@ -0,0 +1,69 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, alsa-lib
|
||||
, flatbuffers
|
||||
, libjpeg_turbo
|
||||
, mbedtls
|
||||
, mdns
|
||||
, pipewire
|
||||
, qt6Packages
|
||||
, qmqtt
|
||||
, xz
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
cmakeBool
|
||||
;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hyperhdr";
|
||||
version = "20.0.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "awawa-dev";
|
||||
repo = "HyperHDR";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-agIWtDlMwjD0sGX2ntFwqROzUsl8tY3nRbmFvvOVh4o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
qt6Packages.wrapQtAppsHook
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DPLATFORM=linux"
|
||||
(cmakeBool "USE_SYSTEM_MQTT_LIBS" true)
|
||||
(cmakeBool "USE_SYSTEM_FLATBUFFERS_LIBS" true)
|
||||
(cmakeBool "USE_SYSTEM_MBEDTLS_LIBS" true)
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
alsa-lib
|
||||
flatbuffers
|
||||
libjpeg_turbo
|
||||
mdns
|
||||
mbedtls
|
||||
pipewire
|
||||
qmqtt
|
||||
qt6Packages.qtbase
|
||||
qt6Packages.qtserialport
|
||||
xz
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Highly optimized open source ambient lighting implementation based on modern digital video and audio stream analysis for Windows, macOS and Linux (x86 and Raspberry Pi / ARM";
|
||||
homepage = "https://github.com/awawa-dev/HyperHDR";
|
||||
changelog = "https://github.com/awawa-dev/HyperHDR/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
mainProgram = "hyperhdr";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
30
pkgs/by-name/md/mdns/package.nix
Normal file
30
pkgs/by-name/md/mdns/package.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mdns";
|
||||
version = "1.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mjansson";
|
||||
repo = "mdns";
|
||||
rev = version;
|
||||
hash = "sha256-2uv+Ibnbl6hsdjFqPhcHXbv+nIEIT4+tgtwGndpZCqo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Public domain mDNS/DNS-SD library in C";
|
||||
homepage = "https://github.com/mjansson/mdns";
|
||||
changelog = "https://github.com/mjansson/mdns/blob/${src.rev}/CHANGELOG";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
40
pkgs/by-name/qm/qmqtt/package.nix
Normal file
40
pkgs/by-name/qm/qmqtt/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, qt5
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qmqtt";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "emqx";
|
||||
repo = "qmqtt";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-JLGwEF5e/IKzPzCQBzB710REGWbc/MW+r5AHmyYUkUI=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
qt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qt5.qtbase
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MQTT client for Qt";
|
||||
homepage = "https://github.com/emqx/qmqtt";
|
||||
license = licenses.epl10;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user