push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
{
"dependencies": {
"dcd": {
"version": "0.16.0-beta.2",
"sha256": "0756q02q1jbimrqn814b3j7q042vlxb7vva1rq823jx148r23d4d"
},
"dsymbol": {
"version": "0.13.0",
"sha256": "1lpwdri2bv5avs3hr0j1i00kjwdbs9nkc13wzlmjalfzjhqqqvci"
},
"emsi_containers": {
"version": "0.9.0",
"sha256": "1viz1fjh6jhfvl0d25bb1q7aclm1hrs0d7hhcx1d9c0gg5k6lcpm"
},
"inifiled": {
"version": "1.3.3",
"sha256": "01hw0lb9n6vwmx6vj5nq2awg54l5pvngqhzxfj2kmg99az84dg6d"
},
"libddoc": {
"version": "0.8.0",
"sha256": "0vxhkd92rxrkrz0svapdnkzh1bdqhws6wakhjj7szmkvykjgwksc"
},
"libdparse": {
"version": "0.23.2",
"sha256": "0bcaasam3iiqisilyx4ysxahjmgifn7i8ny155nwg64bjjibd8dk"
},
"stdx-allocator": {
"version": "2.77.5",
"sha256": "1g8382wr49sjyar0jay8j7y2if7h1i87dhapkgxphnizp24d7kaj"
}
}
}

View File

@@ -0,0 +1,12 @@
diff --git a/dub.json b/dub.json
index 72cb269..1ea3903 100644
--- a/dub.json
+++ b/dub.json
@@ -21,7 +21,4 @@
"stringImportPaths" : [
"bin"
],
- "preBuildCommands" : [
- "\"$DC\" -run \"$PACKAGE_DIR/dubhash.d\""
- ]
}

View File

@@ -0,0 +1,52 @@
{
lib,
buildDubPackage,
fetchFromGitHub,
versionCheckHook,
}:
buildDubPackage rec {
pname = "dscanner";
version = "0.15.2";
src = fetchFromGitHub {
owner = "dlang-community";
repo = "D-Scanner";
tag = "v${version}";
hash = "sha256-7lZhYlK07VWpSRnzawJ2RL69/U/AH/qPyQY4VfbnVn4=";
};
preBuild = ''
mkdir -p bin/
echo "v${version}" > bin/dubhash.txt
'';
patches = [
./fix_version.patch
];
dubLock = ./dub-lock.json;
doCheck = true;
installPhase = ''
runHook preInstall
install -Dm755 bin/dscanner -t $out/bin
runHook postInstall
'';
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
meta = {
description = "Swiss-army knife for D source code";
changelog = "https://github.com/dlang-community/D-Scanner/releases/tag/v${version}";
homepage = "https://github.com/dlang-community/D-Scanner";
mainProgram = "dscanner";
maintainers = with lib.maintainers; [ ipsavitsky ];
license = lib.licenses.boost;
};
}