1 { lib, buildDubPackage, fetchFromGitHub, clang, ldc, which }:
6 src = fetchFromGitHub {
7 owner = "jacob-carlborg";
10 hash = "sha256-ZFz2+GtBk3StqXo/9x47xrDFdz5XujHR62hj0p3AjcY=";
13 dubLock = ./dub-lock.json;
15 nativeBuildInputs = [ ldc which clang ];
18 ./configure --llvm-path ${lib.getLib clang.cc}
23 install -Dm755 bin/dstep -t $out/bin
28 description = "Tool for converting C and Objective-C headers to D modules";
29 homepage = "https://github.com/jacob-carlborg/dstep";
30 license = licenses.boost;
31 mainProgram = "dstep";
32 maintainers = with maintainers; [ imrying ];