9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
18 lines
412 B
Nix
18 lines
412 B
Nix
{ 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;
|
|
};
|
|
}
|