Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 55 lines 917 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5, yaml-cpp 6, qtbase 7, qtsvg 8, wrapQtAppsHook 9, qttools 10, libusb1 11, php 12, hidapi 13, procps 14}: 15 16stdenv.mkDerivation rec { 17 pname = "bloom"; 18 version = "1.0.0"; 19 20 src = fetchFromGitHub { 21 owner = "bloombloombloom"; 22 repo = "Bloom"; 23 rev = "v${version}"; 24 hash = "sha256-ZZfclZwxsCgApUII79bJVyT5V/dF9jm7l8ynRWCh0UU="; 25 }; 26 27 nativeBuildInputs = [ 28 cmake 29 php 30 wrapQtAppsHook 31 ]; 32 33 buildInputs = [ 34 hidapi 35 libusb1 36 procps 37 qtbase 38 qtsvg 39 qttools 40 yaml-cpp 41 ]; 42 43 postPatch = '' 44 sed -i 's|/usr|${placeholder "out"}|' cmake/Installing.cmake 45 ''; 46 47 meta = { 48 description = "Debug interface for AVR-based embedded systems development on GNU/Linux"; 49 homepage = "https://bloom.oscillate.io/"; 50 license = lib.licenses.lgpl3Only; 51 maintainers = [ ]; 52 mainProgram = "bloom"; 53 platforms = lib.platforms.linux; 54 }; 55}