Repo shuffle
This commit is contained in:
parent
63375f8de5
commit
5f6a5cac84
|
@ -8,7 +8,7 @@
|
|||
path = nim
|
||||
url = git@github.com:ehmry/nim.git
|
||||
[submodule "npeg"]
|
||||
path = npeg
|
||||
path = nimble/npeg
|
||||
url = https://github.com/zevv/npeg.git
|
||||
[submodule "getdns"]
|
||||
path = getdns
|
||||
|
@ -70,3 +70,42 @@
|
|||
[submodule "svui"]
|
||||
path = svui
|
||||
url = git@git.sr.ht:~ehmry/svui
|
||||
[submodule "nimsvg"]
|
||||
path = nimble/nimsvg
|
||||
url = https://github.com/bluenote10/NimSvg.git
|
||||
[submodule "bumpy"]
|
||||
path = bumpy
|
||||
url = https://github.com/treeform/bumpy.git
|
||||
[submodule "nimsha2"]
|
||||
path = nimble/nimsha2
|
||||
url = https://github.com/jangko/nimSHA2.git
|
||||
[submodule "nimble/vmath"]
|
||||
path = nimble/vmath
|
||||
url = https://github.com/treeform/vmath.git
|
||||
[submodule "nimble/base32"]
|
||||
path = nimble/base32
|
||||
url = https://github.com/rgv151/base32.nim
|
||||
[submodule "nimble/illwill"]
|
||||
path = nimble/illwill
|
||||
url = //github.com/johnnovak/illwill.git
|
||||
[submodule "pixie"]
|
||||
path = pixie
|
||||
url = git@github.com:ehmry/pixie.git
|
||||
[submodule "chroma"]
|
||||
path = chroma
|
||||
url = https://github.com/treeform/chroma.git
|
||||
[submodule "nimsimd"]
|
||||
path = nimsimd
|
||||
url = https://github.com/guzba/nimsimd.git
|
||||
[submodule "vmath"]
|
||||
path = vmath
|
||||
url = https://github.com/treeform/vmath.git
|
||||
[submodule "zippy"]
|
||||
path = zippy
|
||||
url = https://github.com/treeform/zippy.git
|
||||
[submodule "crunchy"]
|
||||
path = crunchy
|
||||
url = https://github.com/guzba/crunchy.git
|
||||
[submodule "libnotify_actor"]
|
||||
path = libnotify_actor
|
||||
url = git@git.syndicate-lang.org:ehmry/libnotify_actor.git
|
||||
|
|
11
Tuprules.tup
11
Tuprules.tup
|
@ -9,11 +9,12 @@ SYNDICATE_PROTOCOL = $(TUP_CWD)/syndicate-nim/<protocol>
|
|||
|
||||
NIM = $(TUP_CWD)/nim/bin/nim
|
||||
|
||||
NIM_BACKEND = compile
|
||||
!nim = |> ^o nim compile %f^ $(DIRENV) $(NIM) compile $(NIM_FLAGS) $(NIM_FLAGS_%B) -o:%o %f |> %B
|
||||
!nim_run = |> ^o nim run %f^ $(DIRENV) $(NIM) compile $(NIM_FLAGS) $(NIM_FLAGS_%B) -o:%o -r %f |> %B.run
|
||||
!nim_bin = |> ^o nim bin %f^ $(DIRENV) $(NIM) compile $(NIM_FLAGS) $(NIM_FLAGS_%B) -o:%o %f |> $(BIN_DIR)/%B | $(BIN_DIR)/<%B>
|
||||
!nim_check = |> ^ nim doc %f^ $(DIRENV) $(NIM) doc $(NIM_FLAGS) $(NIM_FLAGS_%B) -o:%o %f |> %B.html
|
||||
NIM_FLAGS = --noNimblePath
|
||||
|
||||
!nim = | $(NIM_GROUPS) |> ^o nim compile %f^ $(DIRENV) $(NIM) compile $(NIM_FLAGS) $(NIM_FLAGS_%B) -o:%o %f |> %B
|
||||
!nim_run = | $(NIM_GROUPS) |> ^o nim run %f^ $(DIRENV) $(NIM) compile $(NIM_FLAGS) $(NIM_FLAGS_%B) -o:%o -r %f |> %B.run
|
||||
!nim_bin = | $(NIM_GROUPS) |> ^o nim bin %f^ $(DIRENV) $(NIM) compile $(NIM_FLAGS) $(NIM_FLAGS_%B) -o:%o %f |> $(BIN_DIR)/%B | $(BIN_DIR)/<%B>
|
||||
!nim_check = | $(NIM_GROUPS) |> ^ nim doc %f^ $(DIRENV) $(NIM) doc $(NIM_FLAGS) $(NIM_FLAGS_%B) -o:%o %f |> %B.html
|
||||
|
||||
!symlink = |> ln -s %f %o |>
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit cf13b445238c25981dddccca96187920cb6e0047
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 64eab23fde36e365479e02b860521b944c84a4a6
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 6dda0e3347e310ed883f9c0abee900cfc6c4a65a
|
|
@ -1 +1 @@
|
|||
Subproject commit a6710d6d88eeff8c395cf491bc56ac699288f41b
|
||||
Subproject commit 2a421a0e53e38ed54dd1ecca9efe4f272ec27d86
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 80b7bf7277a3e30c51034f797ff316a12ff4f7f1
|
|
@ -0,0 +1,8 @@
|
|||
export NIX_PATH
|
||||
: |> nix build --out-link %o nixpkgs#nimPackages.illwill |> illwill ./<illwill>
|
||||
: |> nix build --out-link %o nixpkgs#nimPackages.base32 |> base32 ./<base32>
|
||||
: |> nix build --out-link %o nixpkgs#nimPackages.bumpy |> bumpy ./<bumpy>
|
||||
: |> nix build --out-link %o nixpkgs#nimPackages.vmath |> vmath ./<vmath>
|
||||
: |> nix build --out-link %o nixpkgs#nimPackages.nimSHA2 |> nimsha2 ./<nimsha2>
|
||||
: |> nix build --out-link %o nixpkgs#nimPackages.npeg |> npeg ./<npeg>
|
||||
: nimsvg.nix |> nix build -f %f --out-link %o |> nimsvg ./<nimsvg>
|
|
@ -0,0 +1,18 @@
|
|||
{ pkgs ? import <nixpkgs> { } }:
|
||||
|
||||
pkgs.nimPackages.callPackage ({ lib, buildNimPackage, fetchFromGitHub }:
|
||||
|
||||
buildNimPackage rec {
|
||||
pname = "NimSvg";
|
||||
version = "unstable-2021-06-10";
|
||||
|
||||
src = fetchFromGitHub { # https://github.com/bluenote10/NimSvg
|
||||
owner = "bluenote10";
|
||||
repo = pname;
|
||||
rev = "89e7b31a1937524451fdf57f3e851f293385e8ca";
|
||||
hash = "sha256-U+8UbQvos4ycJUDatGHHeCr/7vX6llVTkDJ7I/9cdAA=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
}) { }
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 1d75f15c8bb8df9c1d4779072bbfc8a7e3e84c98
|
1
npeg
1
npeg
|
@ -1 +0,0 @@
|
|||
Subproject commit d93ae315a0d9e16fcada8af9e6bb3d90be5e9f64
|
|
@ -0,0 +1 @@
|
|||
Subproject commit f7a4bdcba787a4f42f5659463e1fd5827f023f26
|
|
@ -1 +1 @@
|
|||
Subproject commit 466a8d3af43ac4ee6897d1be23f10218891fb088
|
||||
Subproject commit b7e1f2c8c74de5c81a23fd0e788c6cbd9093c50b
|
|
@ -0,0 +1 @@
|
|||
Subproject commit b0782541e1028a4619ddb0fd45939450e4efd742
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 3eb234cfc2bf7b552da3115e0788128d7cfa2647
|
Loading…
Reference in New Issue