Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 emilua, 5 meson, 6 gperf, 7 ninja, 8 asciidoctor, 9 pkg-config, 10 fetchFromGitLab, 11 gitUpdater, 12}: 13 14stdenv.mkDerivation (self: { 15 pname = "emilua_beast"; 16 version = "1.1.2"; 17 18 src = fetchFromGitLab { 19 owner = "emilua"; 20 repo = "beast"; 21 rev = "v${self.version}"; 22 hash = "sha256-MASaZvhIVKmeBUcn/NjlBZ+xh+2RgwHBH2o08lklGa0="; 23 }; 24 25 buildInputs = [ 26 emilua 27 asciidoctor 28 gperf 29 ]; 30 31 nativeBuildInputs = [ 32 meson 33 pkg-config 34 ninja 35 ]; 36 37 passthru.updateScript = gitUpdater { rev-prefix = "v"; }; 38 39 meta = { 40 description = "Emilua bindings to Boost.Beast (a WebSocket library)"; 41 homepage = "https://gitlab.com/emilua/beast"; 42 license = lib.licenses.boost; 43 maintainers = with lib.maintainers; [ 44 manipuladordedados 45 lucasew 46 ]; 47 platforms = lib.platforms.linux; 48 }; 49})