1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config
2 , curl, zeromq, czmq, libsodium }:
4 stdenv.mkDerivation rec {
5 pname = "prime-server";
8 src = fetchFromGitHub {
9 owner = "kevinkreiser";
10 repo = "prime_server";
12 sha256 = "0izmmvi3pvidhlrgfpg4ccblrw6fil3ddxg5cfxsz4qbh399x83w";
13 fetchSubmodules = true;
16 nativeBuildInputs = [ cmake pkg-config ];
17 buildInputs = [ curl zeromq czmq libsodium ];
19 # https://github.com/kevinkreiser/prime_server/issues/95
20 NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-variable" ];
23 description = "Non-blocking (web)server API for distributed computing and SOA based on zeromq";
24 homepage = "https://github.com/kevinkreiser/prime_server";
25 license = licenses.bsd2;
26 maintainers = [ maintainers.Thra11 ];
27 platforms = platforms.linux;