Compare commits
2 Commits
a0aa4c0bf2
...
51561585a8
Author | SHA1 | Date |
---|---|---|
Dmitriy Pleshevskiy | 51561585a8 | |
Dmitriy Pleshevskiy | 0b9a39026b |
|
@ -0,0 +1,3 @@
|
|||
[submodule "pkgs/wd2"]
|
||||
path = pkgs/wd2
|
||||
url = gitea@git.pleshevski.ru:pleshevskiy/wd2.git
|
16
README.md
16
README.md
|
@ -14,13 +14,13 @@ nix build git+https://git.pleshevski.ru/mynix/tools#<name>
|
|||
## As one-time executable application
|
||||
|
||||
```sh
|
||||
nix run git+https://git.pleshevski.ru/mynix/tools#<name>
|
||||
nix run git+https://git.pleshevski.ru/mynix/tools\?submodules=1#<name>
|
||||
```
|
||||
|
||||
## Using nix-profile
|
||||
|
||||
```sh
|
||||
nix profile install git+https://git.pleshevski.ru/mynix/tools#<name>
|
||||
nix profile install git+https://git.pleshevski.ru/mynix/tools\?submodules=1#<name>
|
||||
```
|
||||
|
||||
## As overlay for your flake
|
||||
|
@ -51,13 +51,23 @@ nix profile install git+https://git.pleshevski.ru/mynix/tools#<name>
|
|||
_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)
|
||||
|
||||
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
|
||||
for software architecture diagrams
|
||||
- **wd2**: A wrapper over d2 which allows to use additional configs from d2 file
|
||||
|
||||
# FawltyDeps
|
||||
|
||||
_Python dependency checker._
|
||||
|
||||
References:
|
||||
|
||||
- [https://github.com/tweag/FawltyDeps](https://github.com/tweag/FawltyDeps)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
{
|
||||
inputs = {
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
poetry2nix.url = "github:nix-community/poetry2nix";
|
||||
poetry2nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
poetry2nix.inputs.flake-utils.follows = "flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, poetry2nix, ... }:
|
||||
outputs = { nixpkgs, flake-utils, poetry2nix, ... }:
|
||||
let
|
||||
inherit (builtins) listToAttrs mapAttrs;
|
||||
|
||||
allPackageNames = [ "d2" "d2plugin-tala" "d2full" "fawltydeps" ];
|
||||
allPackageNames = [ "d2" "d2plugin-tala" "d2full" "wd2" "fawltydeps" ];
|
||||
mkAllPackages = pkgs':
|
||||
let
|
||||
d2-unwrapped = pkgs'.callPackage ./pkgs/d2/d2-unwrapped.nix { };
|
||||
|
@ -20,9 +20,10 @@
|
|||
inherit d2-unwrapped d2plugin-tala;
|
||||
};
|
||||
fawltydeps = pkgs'.callPackage ./pkgs/fawltydeps { };
|
||||
wd2 = pkgs'.callPackage ./pkgs/wd2/wd2.nix { inherit d2; };
|
||||
in
|
||||
{
|
||||
inherit d2 d2plugin-tala fawltydeps;
|
||||
inherit d2 d2plugin-tala wd2 fawltydeps;
|
||||
d2-full = d2.override { withTala = true; };
|
||||
};
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit bb99c5585b5a2e1edcdaf8b22f76ba4bbbb889dc
|
Loading…
Reference in New Issue