nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv
2, meson
3, ninja
4, sysprof
5}:
6
7stdenv.mkDerivation rec {
8 pname = "libsysprof-capture";
9
10 inherit (sysprof) src version;
11
12 nativeBuildInputs = [
13 meson
14 ninja
15 ];
16
17 mesonFlags = [
18 "-Dwith_sysprofd=none"
19 "-Dlibsysprof=false"
20 "-Dhelp=false"
21 "-Denable_tools=false"
22 "-Denable_tests=false"
23 "-Denable_examples=false"
24 ];
25
26 meta = sysprof.meta // {
27 description = "Static library for Sysprof capture data generation";
28 license = lib.licenses.bsd2Patent;
29 platforms = lib.platforms.all;
30 };
31}