diff --git a/pkgs/by-name/se/serve-d/dub-lock.json b/pkgs/by-name/se/serve-d/dub-lock.json new file mode 100644 index 000000000000..0a23ff638040 --- /dev/null +++ b/pkgs/by-name/se/serve-d/dub-lock.json @@ -0,0 +1,112 @@ +{ + "dependencies": { + "automem": { + "version": "0.6.9", + "sha256": "05zk8h81ih5jc4n8d7kgr6hv5f923ybf2pdyf2ld3imkx0zb0plr" + }, + "cachetools": { + "version": "0.4.1", + "sha256": "1407cb3mm8pqlcljdi60lpz2vhsj6rwzax0j24xggmyhr7ij6gx7" + }, + "dcd": { + "version": "0.13.6", + "sha256": "19fnp5hdk2n7z5s57a445a92xd4iadh7lbw14sq1pr4zyks32114" + }, + "dfmt": { + "version": "0.14.1", + "sha256": "1czk48dylq05iwi9137hy694c43whiqnmvgc5k7c32bjzzpi5pyq" + }, + "diet-complete": { + "version": "0.0.3", + "sha256": "1klzivhzb185m38jvmm957s38mllpa2rkkv8az8ipmwdjj8z6mpv" + }, + "dscanner": { + "version": "0.12.2", + "sha256": "12zhby1vj28fsryv7j6xhdiiw8d7dk1d00sarpimfpl77ajmpia8" + }, + "dsymbol": { + "version": "0.11.3", + "sha256": "0flnh8b1hc97hlm86ilb0kc194vib5cpqf8abxfbv24czxp6gfv7" + }, + "dub": { + "version": "1.26.1", + "sha256": "0sbixp7dpixlp1hwjlmnlh4dwci9f2fadxg42j8ha86rx7ggprqi" + }, + "dunit": { + "version": "1.0.16", + "sha256": "0p9g4h5qanbg6281x1068mdl5p7zvqig4zmmi72a2cay6dxnbvxb" + }, + "emsi_containers": { + "version": "0.8.0", + "sha256": "032j0rrlnhx0z2xrg9pfhb1darzj4h8qvxhixiw8gwz5izaxq1ny" + }, + "eventsystem": { + "version": "1.2.0", + "sha256": "0spg6p8rxihdn473pmwxghbkkzzccamkqxdcqaqf6k06zvjl7qfs" + }, + "inifiled": { + "version": "1.3.3", + "sha256": "01hw0lb9n6vwmx6vj5nq2awg54l5pvngqhzxfj2kmg99az84dg6d" + }, + "isfreedesktop": { + "version": "0.1.1", + "sha256": "0bnjr9avvhl7s09dnbcdr5437yb18jj26fzvm7j292kvd2i8kzqz" + }, + "libddoc": { + "version": "0.7.4", + "sha256": "1cs4nycn0pl30354dccb2akmbcdmz22yq28sn3imvfndmh059szi" + }, + "libdparse": { + "version": "0.19.4", + "sha256": "1nyhga4qxkkf1qs3sd07mnyifw81dbz3nwm1vj106kair0d25q0b" + }, + "msgpack-d": { + "version": "1.0.1", + "sha256": "1b6v667ymns90n0ssg7bd8fny1ashv5axpa8xf461ghzqnkkh05d" + }, + "painlessjson": { + "version": "1.4.0", + "sha256": "0gy71wbssgn7z50gy8fg3mmwk82qp3y17ypl3x10jbc9nczipryi" + }, + "painlesstraits": { + "version": "0.3.0", + "sha256": "0li4n0v70x5sgnqv60v5481jqlv22mk338cww4d3z5l0nhng3bvh" + }, + "requests": { + "version": "2.1.2", + "sha256": "10332kdsjv30zkayx3vg6lxa701wmdncf0xjxwxkcjpsw7smzs2z" + }, + "rm-rf": { + "version": "0.1.0", + "sha256": "0yr2jan7m49y0c6vm8nblvmgqqzw1c19g5m3cb412wwa37k12v5d" + }, + "silly": { + "version": "1.1.1", + "sha256": "1l0mpnbz8h3ihjxvk5qwn6p6lwb75g259k7fjqasw0zp0c27bkjb" + }, + "standardpaths": { + "version": "0.8.1", + "sha256": "026sy2ywi708s3kx6ca55nkbq1hn3bcj9804bf01dvxnlschmlvc" + }, + "stdx-allocator": { + "version": "2.77.5", + "sha256": "1g8382wr49sjyar0jay8j7y2if7h1i87dhapkgxphnizp24d7kaj" + }, + "test_allocator": { + "version": "0.3.4", + "sha256": "1xpjz6smxwgm4walrv3xbzi46cddc80q5n4gs7j9gm2yx11sf7gj" + }, + "unit-threaded": { + "version": "0.10.8", + "sha256": "1jvmxka6s2zzrxns62jb50p01bgybhbkrkgi9qzq93xldc6jn2i9" + }, + "workspace-d": { + "version": "3.7.0", + "sha256": "0alhmb64v7sbm1g9pdsng3fqy941s67lsqxjcf8awg1z7kn3l1hv" + }, + "xdgpaths": { + "version": "0.2.5", + "sha256": "09l3bkcldv7ckh3d2cmivvj3cbql96a24g3khlz7zp9f1aabfykl" + } + } +} diff --git a/pkgs/by-name/se/serve-d/package.nix b/pkgs/by-name/se/serve-d/package.nix new file mode 100644 index 000000000000..b8ef204152b2 --- /dev/null +++ b/pkgs/by-name/se/serve-d/package.nix @@ -0,0 +1,39 @@ +{ + lib, + buildDubPackage, + fetchFromGitHub, + dtools, +}: + +buildDubPackage rec { + pname = "serve-d"; + version = "0.7.6"; + + src = fetchFromGitHub { + owner = "Pure-D"; + repo = "serve-d"; + rev = "v${version}"; + hash = "sha256-h4zsW8phGcI4z0uMCIovM9cJ6hKdk8rLb/Jp4X4dkpk="; + }; + + nativeBuildInputs = [ dtools ]; + + dubLock = ./dub-lock.json; + + doCheck = true; + + installPhase = '' + runHook preInstall + install -Dm755 serve-d -t $out/bin + runHook postInstall + ''; + + meta = { + changelog = "https://github.com/Pure-D/serve-d/releases/tag/${src.rev}"; + description = "D LSP server (dlang language server protocol server)"; + homepage = "https://github.com/Pure-D/serve-d"; + license = lib.licenses.mit; + mainProgram = "serve-d"; + maintainers = with lib.maintainers; [ tomasajt ]; + }; +}