Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 meson, 5 ninja, 6 fetchFromGitLab, 7 gperf, 8 gawk, 9 gitUpdater, 10 pkg-config, 11 boost, 12 luajit_openresty, 13 asciidoctor, 14 emilua, 15 liburing, 16 openssl, 17 fmt, 18 cmake, 19 range-v3, 20}: 21 22stdenv.mkDerivation rec { 23 pname = "emilua-bech32"; 24 version = "1.1.1"; 25 26 src = fetchFromGitLab { 27 owner = "emilua"; 28 repo = "bech32"; 29 rev = "v${version}"; 30 hash = "sha256-DJUdwnX9jHKpVYRkP/UFYNefphbqCoUIjXLTNQ5umis="; 31 }; 32 33 buildInputs = [ 34 emilua 35 liburing 36 fmt 37 range-v3 38 luajit_openresty 39 openssl 40 boost 41 ]; 42 43 nativeBuildInputs = [ 44 gperf 45 gawk 46 pkg-config 47 asciidoctor 48 meson 49 ninja 50 cmake 51 ]; 52 53 passthru = { 54 updateScript = gitUpdater { rev-prefix = "v"; }; 55 }; 56 57 meta = with lib; { 58 description = "Bech32 codec for Emilua"; 59 homepage = "https://emilua.org/"; 60 license = licenses.mit; 61 maintainers = with maintainers; [ manipuladordedados ]; 62 platforms = platforms.linux; 63 }; 64}