mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
41 lines
520 B
Nix
41 lines
520 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
boost,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
installShellFiles,
|
|
nix,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "nixos-option";
|
|
|
|
src = ./.;
|
|
|
|
postInstall = ''
|
|
installManPage ../nixos-option.8
|
|
'';
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
installShellFiles
|
|
];
|
|
buildInputs = [
|
|
boost
|
|
nix
|
|
];
|
|
|
|
meta = with lib; {
|
|
license = licenses.lgpl2Plus;
|
|
mainProgram = "nixos-option";
|
|
maintainers = [ ];
|
|
inherit (nix.meta) platforms;
|
|
};
|
|
}
|