diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2020-10-13 14:09:43 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-10-19 14:43:00 -0400 |
commit | 2d9778dc01c8ca6c5a915e1ee638251878990d10 (patch) | |
tree | 27a850e0eaf74937f78e7486552510cf954bc620 /dub.json | |
parent | nixify step (diff) |
build nix derivation (using dub2nix helper tool)
- nix-shell
- nix-build
- dub2nix (dub to nix helper tool)
- Lionello Lunesu
- MIT License
- https://github.com/lionello/dub2nix
Diffstat (limited to 'dub.json')
-rw-r--r-- | dub.json | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -4,6 +4,7 @@ ], "copyright": "Copyright © 2015 - 2020 Ralph Amissah", "name": "spine", + "version": "0.11.1", "description": "a sisu like document parser", "homepage": "http://sisudoc.org", "license": "AGPL-3.0+", @@ -13,15 +14,24 @@ "buildRequirements": [ "allowWarnings" ], "targetType": "executable", "platforms": [ "posix" ], + "buildTypes": { + "dmd": { + "dflags": [ "-J=views", "-I=src/doc_reform" ], + "buildOptions": [ "verbose", "inline" ], + "buildRequirements": [ "allowWarnings" ] + }, + "ldc": { + "dflags": [ "-O2", "-J=views", "-I=src/doc_reform" ], + "buildOptions": [ "verbose", "optimize", "inline" ], + "buildRequirements": [ "allowWarnings" ] + } + }, "dependencies": { "d2sqlite3": "~>0.19.1", "imageformats": "~>7.0.2", "dyaml": "~>0.8.0", "tinyendian": "~>0.2.0" }, - "subConfigurations": { - "d2sqlite3": "all-included" - }, "configurations": [ { "name": "default", @@ -36,16 +46,7 @@ "targetName": "spine-dmd" } ], - "buildTypes": { - "dmd": { - "dflags": [ "-J=views", "-I=src/doc_reform" ], - "buildOptions": [ "verbose", "inline" ], - "buildRequirements": [ "allowWarnings" ] - }, - "ldc": { - "dflags": [ "-O2", "-J=views", "-I=src/doc_reform" ], - "buildOptions": [ "verbose", "optimize", "inline" ], - "buildRequirements": [ "allowWarnings" ] - } + "subConfigurations": { + "d2sqlite3": "with-lib" } } |