Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 48 lines 889 B view raw
1{ bcunit 2, cmake 3, bc-decaf 4, fetchFromGitLab 5, mbedtls_2 6, lib 7, stdenv 8}: 9 10stdenv.mkDerivation rec { 11 pname = "bctoolbox"; 12 version = "5.2.16"; 13 14 nativeBuildInputs = [ 15 cmake 16 ]; 17 buildInputs = [ 18 # Made by BC 19 bcunit 20 21 # Vendored by BC 22 bc-decaf 23 24 mbedtls_2 25 ]; 26 27 src = fetchFromGitLab { 28 domain = "gitlab.linphone.org"; 29 owner = "public"; 30 group = "BC"; 31 repo = pname; 32 rev = version; 33 hash = "sha256-M2apFibqSKp8ojXl82W+vQb7CUxdbWsmw8PLL/ByYuM="; 34 }; 35 36 # Do not build static libraries 37 cmakeFlags = [ "-DENABLE_STATIC=NO" "-DENABLE_STRICT=NO" ]; 38 39 strictDeps = true; 40 41 meta = with lib; { 42 description = "Utilities library for Linphone"; 43 homepage = "https://gitlab.linphone.org/BC/public/bctoolbox"; 44 license = licenses.gpl3Plus; 45 maintainers = with maintainers; [ raskin jluttine ]; 46 platforms = platforms.linux; 47 }; 48}