nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 54 lines 1.0 kB view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5, zlib 6, openssl 7, c-ares 8, readline 9, icu 10, git 11, gbenchmark 12, nghttp2 13}: 14 15stdenv.mkDerivation rec { 16 pname = "tarantool"; 17 version = "2.10.4"; 18 19 src = fetchFromGitHub { 20 owner = "tarantool"; 21 repo = pname; 22 rev = version; 23 sha256 = "sha256-yCRU5IxC6gNS+O2KYtKWjFk35EHkBnnzWy5UnyuB9f4="; 24 fetchSubmodules = true; 25 }; 26 27 buildInputs = [ 28 nghttp2 29 git 30 readline 31 icu 32 zlib 33 openssl 34 c-ares 35 ]; 36 37 nativeCheckInputs = [ gbenchmark ]; 38 39 nativeBuildInputs = [ cmake ]; 40 41 cmakeFlags = [ 42 "-DCMAKE_BUILD_TYPE=RelWithDebInfo" 43 "-DENABLE_DIST=ON" 44 "-DTARANTOOL_VERSION=${version}.builtByNix" # expects the commit hash as well 45 ]; 46 47 meta = with lib; { 48 description = "An in-memory computing platform consisting of a database and an application server"; 49 homepage = "https://www.tarantool.io/"; 50 license = licenses.bsd2; 51 mainProgram = "tarantool"; 52 maintainers = with maintainers; [ dit7ya ]; 53 }; 54}