# dpp を Homebrew, Nix でインストール

dpp のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:dpp
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install dpp
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dpp
```

  証拠: nixpkgs package indexes: pkgs/by-name/dp/dpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:dpp
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.6.0
- **ソース概要:** Directly include C headers in D source code
- **ホームページ:** <https://github.com/atilaneves/dpp>
- **リポジトリ:** <https://github.com/atilaneves/dpp>
- **最終更新:** 2026-06-13T01:24:10+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- d++ (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.6.0
## プロジェクトの歴史と使われ方

dpp, invoked as d++, is a D-language interop tool that lets D source files directly include C and limited C++ headers, translating declarations through libclang and then compiling the generated D code.

### プロジェクトの歴史

The public GitHub repository was created in August 2017. Its README describes the goal as giving D files the same practical ease of use as C or C++ #include workflows, including macro-heavy C APIs, and notes that the work was supported by Symmetry Investments.

### 採用の歴史

dpp's adoption has stayed centered on the D ecosystem rather than becoming a general-purpose systems tool. Its packaging in Homebrew and Nix makes it discoverable to D users who need C header interop without hand-maintaining bindings.

### 使われ方

Users write quasi-D .dpp files containing #include directives, then run d++ so the tool expands declarations and selected macros into D code before invoking a D compiler.

### パッケージ好きにとっての重要性

For package maintainers, dpp is a compact example of language-ecosystem tooling that depends on libclang and a host C preprocessor to bridge ABI-heavy native libraries into a less mainstream compiled language.

### タイムライン

- 2017: atilaneves/dpp was created on GitHub.
- 2017 onward: the project documented success translating headers for libraries such as curl, OpenSSL, libvirt, Python.h, and others.
- 2024: the repository still showed maintenance activity, while remaining a niche D interop package.

### Related projects

- D language
- libclang
- dmd
- dub

### ソース

- <https://github.com/atilaneves/dpp>
- <https://raw.githubusercontent.com/atilaneves/dpp/master/README.md>
- <https://api.github.com/repos/atilaneves/dpp>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - dpp: normalized package name match | nixpkgs package indexes: pkgs/by-name/dp/dpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/dpp.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dpp.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
