From 0ef5d0692071603f2e9eb41d6e54b9ab6f429875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A9clairevoyant?= <848000+eclairevoyant@users.noreply.github.com> Date: Fri, 27 Oct 2023 18:13:44 -0400 Subject: [PATCH] bloom: init at 1.0.0 --- pkgs/development/tools/bloom/default.nix | 55 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 57 insertions(+) create mode 100644 pkgs/development/tools/bloom/default.nix diff --git a/pkgs/development/tools/bloom/default.nix b/pkgs/development/tools/bloom/default.nix new file mode 100644 index 000000000000..dc0a35d06542 --- /dev/null +++ b/pkgs/development/tools/bloom/default.nix @@ -0,0 +1,55 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, yaml-cpp +, qtbase +, qtsvg +, wrapQtAppsHook +, qttools +, libusb1 +, php +, hidapi +, procps +}: + +stdenv.mkDerivation rec { + pname = "bloom"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "bloombloombloom"; + repo = "Bloom"; + rev = "v${version}"; + hash = "sha256-ZZfclZwxsCgApUII79bJVyT5V/dF9jm7l8ynRWCh0UU="; + }; + + nativeBuildInputs = [ + cmake + php + wrapQtAppsHook + ]; + + buildInputs = [ + hidapi + libusb1 + procps + qtbase + qtsvg + qttools + yaml-cpp + ]; + + postPatch = '' + sed -i 's|/usr|${placeholder "out"}|' cmake/Installing.cmake + ''; + + meta = { + description = "Debug interface for AVR-based embedded systems development on GNU/Linux"; + homepage = "https://bloom.oscillate.io/"; + license = lib.licenses.lgpl3Only; + maintainers = with lib.maintainers; [ eclairevoyant ]; + mainProgram = "bloom"; + platforms = lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f8f1e0a722c1..9eb1d312ef04 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -364,6 +364,8 @@ with pkgs; blst = callPackage ../development/libraries/blst { }; + bloom = qt6Packages.callPackage ../development/tools/bloom { }; + bloodhound-py = callPackage ../tools/security/bloodhound-py { }; bodyclose = callPackage ../development/tools/bodyclose { };