summary refs log tree commit diff
path: root/pkgs/tools/nix/nixos-option/default.nix
blob: 56cb3e130038e2f127abdc3f120bf985ba85cfea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ lib, stdenv, boost, cmake, pkg-config, nix }:

stdenv.mkDerivation {
  name = "nixos-option";

  src = ./.;

  strictDeps = true;
  nativeBuildInputs = [ cmake pkg-config ];
  buildInputs = [ boost nix ];
  cmakeFlags = [ "-DNIX_DEV_INCLUDEPATH=${nix.dev}/include/nix" ];

  meta = with lib; {
    license = licenses.lgpl2Plus;
    maintainers = with maintainers; [ ];
    inherit (nix.meta) platforms;
  };
}