From b11347fa9d374b2938d6e2e50f08a8fa03bfdeb0 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Wed, 4 Jan 2023 06:40:23 +0300 Subject: [PATCH] d2!: rename d2full to d2-full --- README.md | 29 ++++++----------------------- flake.nix | 2 +- 2 files changed, 7 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index e58c87a..93d3f39 100644 --- a/README.md +++ b/README.md @@ -46,10 +46,6 @@ nix profile install git+https://git.pleshevski.ru/mynix/tools# } ``` -> **Note**: For short this url (`git+https://git.pleshevski.ru/mynix/tools`) -will be truncated to `.` in the document. - - # d2 _D2 is a modern diagram scripting language that turns text to diagrams._ @@ -57,24 +53,11 @@ _D2 is a modern diagram scripting language that turns text to diagrams._ References: - [https://d2lang.com](https://d2lang.com) - [https://github.com/terrastruct/d2](https://github.com/terrastruct/d2) +- [https://github.com/terrastruct/TALA](https://github.com/terrastruct/TALA) -**d2**: Base d2 cli tool - -``` -nix run .#d2 -- --help -``` - -**[UNFREE]** **d2full**: Full d2 cli tool with d2plugin-tala - -``` -NIXPKGS_ALLOW_UNFREE=1 nix run --impure .#d2full -- --help -``` - -**[UNFREE]** **d2plugin-tala**: A diagram layout engine designed specifically for software -architecture diagrams - -``` -NIXPKGS_ALLOW_UNFREE=1 nix run --impure .#d2full -- --help -``` - +Packages: +- **d2**: Base d2 cli tool +- **d2-full** (**UNFREE**): Full d2 cli tool with d2plugin-tala +- **d2plugin-tala** (**UNFREE**): A diagram layout engine designed specifically +for software architecture diagrams diff --git a/flake.nix b/flake.nix index 3a000ac..45d2dae 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ in { inherit d2 d2plugin-tala; - d2full = d2.override { withTala = true; }; + d2-full = d2.override { withTala = true; }; }; mkApp = drv: flake-utils.lib.mkApp { inherit drv; };