dpp: init at 0.6.0
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"libclang": {
|
||||
"version": "0.3.3",
|
||||
"sha256": "0abmwx294zrnmpzdqbwnw74i07wmvsvycsbh5j0yy1kcz411n6r8"
|
||||
},
|
||||
"sumtype": {
|
||||
"version": "1.2.8",
|
||||
"sha256": "0zvl0nncmrqvj2x96qjry2ws67fi3mykz1zr11pnpvwp9xdkw9zx"
|
||||
},
|
||||
"unit-threaded": {
|
||||
"version": "2.1.9",
|
||||
"sha256": "0x3d8jv65v4sh4nk4fkah202vbqnkhbzdc7k40yjqbjlgx76h1hy"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
dtools,
|
||||
libclang,
|
||||
buildDubPackage,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildDubPackage (finalAttrs: {
|
||||
pname = "dpp";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "atilaneves";
|
||||
repo = "dpp";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-8zcjZ8EV5jdZrRCHkzxu9NeehY2/5AfOSdzreFC9z3c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ dtools ];
|
||||
buildInputs = [ libclang ];
|
||||
|
||||
dubLock = ./dub-lock.json;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 bin/d++ -t $out/d++
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Directly include C headers in D source code";
|
||||
changelog = "https://github.com/atilaneves/dpp/releases/tag/v${finalAttrs.version}";
|
||||
homepage = "https://github.com/atilaneves/dpp";
|
||||
mainProgram = "d++";
|
||||
maintainers = with lib.maintainers; [ ipsavitsky ];
|
||||
license = lib.licenses.boost;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user