Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, stdenv
3, fetchFromGitLab
4, meson
5, ninja
6, pkg-config
7}:
8
9stdenv.mkDerivation rec {
10 pname = "zix";
11 version = "unstable-2023-02-13";
12
13 src = fetchFromGitLab {
14 owner = "drobilla";
15 repo = pname;
16 rev = "262d4a1522c38be0588746e874159da5c7bb457d";
17 hash = "sha256-3vuefgnirM4ksK3j9sjBHgOmx0JpL+6tCPb69/7jI00=";
18 };
19
20 nativeBuildInputs = [
21 meson
22 ninja
23 pkg-config
24 ];
25
26 mesonFlags = [
27 "-Dbenchmarks=disabled"
28 "-Ddocs=disabled"
29 ];
30
31 meta = with lib; {
32 description = "A lightweight C99 portability and data structure library";
33 homepage = "https://gitlab.com/drobilla/zix";
34 changelog = "https://gitlab.com/drobilla/zix/-/blob/${src.rev}/NEWS";
35 license = licenses.isc;
36 platforms = platforms.unix;
37 maintainers = with maintainers; [
38 yuu
39 zseri
40 ];
41 };
42}