diff options
author | Franck Cuny <franck@fcuny.net> | 2024-03-06 06:29:24 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-03-06 06:29:24 -0800 |
commit | 1e4a5aa09c1c8f43722c9c260f011398799a8e8f (patch) | |
tree | cd73e0fb8ba53bd21cee6ccf2dcc85639bbbb93f | |
parent | set correct git email in the profiles (diff) | |
download | world-1e4a5aa09c1c8f43722c9c260f011398799a8e8f.tar.gz |
rename `tools` to `packages` to follow convention
The convention is to use `pkgs` or `packages` for overlays and definition of custom packages. Since I'm already using `pkg` for go, I prefer to use `packages` for my scripts.
Diffstat (limited to '')
-rw-r--r-- | nix/flake/packages.nix | 2 | ||||
-rw-r--r-- | packages/default.nix (renamed from tools/default.nix) | 0 | ||||
-rw-r--r-- | packages/dnsmasq-leases-html/README.md (renamed from tools/dnsmasq-leases-html/README.md) | 0 | ||||
-rw-r--r-- | packages/dnsmasq-leases-html/default.nix (renamed from tools/dnsmasq-leases-html/default.nix) | 0 | ||||
-rwxr-xr-x | packages/dnsmasq-leases-html/dnsmasq-leases-html.py (renamed from tools/dnsmasq-leases-html/dnsmasq-leases-html.py) | 0 | ||||
-rw-r--r-- | packages/dnsmasq-leases-html/templates/index.html (renamed from tools/dnsmasq-leases-html/templates/index.html) | 0 | ||||
-rw-r--r-- | packages/git-blame-stats/default.nix (renamed from tools/git-blame-stats/default.nix) | 0 | ||||
-rwxr-xr-x | packages/git-blame-stats/git-blame-stats.py (renamed from tools/git-blame-stats/git-blame-stats.py) | 0 | ||||
-rw-r--r-- | packages/git-broom/default.nix (renamed from tools/git-broom/default.nix) | 0 | ||||
-rwxr-xr-x | packages/git-broom/git-broom.py (renamed from tools/git-broom/git-broom.py) | 0 | ||||
-rw-r--r-- | packages/import-gh-to-gitea/README.org (renamed from tools/import-gh-to-gitea/README.org) | 0 | ||||
-rwxr-xr-x | packages/import-gh-to-gitea/archive-projects.py (renamed from tools/import-gh-to-gitea/archive-projects.py) | 0 | ||||
-rwxr-xr-x | packages/import-gh-to-gitea/delete-gh-repositories.py (renamed from tools/import-gh-to-gitea/delete-gh-repositories.py) | 0 | ||||
-rwxr-xr-x | packages/import-gh-to-gitea/import-gh-to-gitea.py (renamed from tools/import-gh-to-gitea/import-gh-to-gitea.py) | 0 | ||||
-rw-r--r-- | packages/ipconverter/default.nix (renamed from tools/ipconverter/default.nix) | 0 | ||||
-rwxr-xr-x | packages/ipconverter/ipconverter.py (renamed from tools/ipconverter/ipconverter.py) | 0 | ||||
-rw-r--r-- | packages/music-organizer/README.org (renamed from tools/music-organizer/README.org) | 0 | ||||
-rw-r--r-- | packages/music-organizer/default.nix (renamed from tools/music-organizer/default.nix) | 0 | ||||
-rw-r--r-- | packages/music-organizer/go.mod (renamed from tools/music-organizer/go.mod) | 0 | ||||
-rw-r--r-- | packages/music-organizer/go.sum (renamed from tools/music-organizer/go.sum) | 0 | ||||
-rw-r--r-- | packages/music-organizer/main.go (renamed from tools/music-organizer/main.go) | 0 | ||||
-rw-r--r-- | packages/numap/README.org (renamed from tools/numap/README.org) | 0 | ||||
-rw-r--r-- | packages/numap/go.mod (renamed from tools/numap/go.mod) | 0 | ||||
-rw-r--r-- | packages/numap/internal/hwids/hwids.go (renamed from tools/numap/internal/hwids/hwids.go) | 0 | ||||
-rw-r--r-- | packages/numap/internal/sysfs/parse.go (renamed from tools/numap/internal/sysfs/parse.go) | 0 | ||||
-rw-r--r-- | packages/numap/internal/sysfs/pci.go (renamed from tools/numap/internal/sysfs/pci.go) | 0 | ||||
-rw-r--r-- | packages/numap/numa.go (renamed from tools/numap/numa.go) | 0 | ||||
-rw-r--r-- | packages/numap/numap.go (renamed from tools/numap/numap.go) | 0 | ||||
-rw-r--r-- | packages/perf-flamegraph-pid/default.nix (renamed from tools/perf-flamegraph-pid/default.nix) | 0 | ||||
-rwxr-xr-x | packages/perf-flamegraph-pid/perf-flamegraph-pid.sh (renamed from tools/perf-flamegraph-pid/perf-flamegraph-pid.sh) | 0 | ||||
-rw-r--r-- | packages/scheddomain/go.mod (renamed from tools/scheddomain/go.mod) | 0 | ||||
-rw-r--r-- | packages/scheddomain/main.go (renamed from tools/scheddomain/main.go) | 0 | ||||
-rw-r--r-- | packages/schedlatency/go.mod (renamed from tools/schedlatency/go.mod) | 0 | ||||
-rw-r--r-- | packages/schedlatency/main.go (renamed from tools/schedlatency/main.go) | 0 | ||||
-rw-r--r-- | packages/seqstat/default.nix (renamed from tools/seqstat/default.nix) | 6 | ||||
-rwxr-xr-x | packages/seqstat/seqstat.py (renamed from tools/seqstat/seqstat.py) | 0 |
36 files changed, 4 insertions, 4 deletions
diff --git a/nix/flake/packages.nix b/nix/flake/packages.nix index 4236fc1..39bb874 100644 --- a/nix/flake/packages.nix +++ b/nix/flake/packages.nix @@ -10,7 +10,7 @@ }; packages = { - seqstat = pkgs.callPackage "${self}/tools/seqstat" { }; + seqstat = pkgs.callPackage "${self}/packages/seqstat" { }; }; }; } diff --git a/tools/default.nix b/packages/default.nix index 8e537c9..8e537c9 100644 --- a/tools/default.nix +++ b/packages/default.nix diff --git a/tools/dnsmasq-leases-html/README.md b/packages/dnsmasq-leases-html/README.md index 2437deb..2437deb 100644 --- a/tools/dnsmasq-leases-html/README.md +++ b/packages/dnsmasq-leases-html/README.md diff --git a/tools/dnsmasq-leases-html/default.nix b/packages/dnsmasq-leases-html/default.nix index 478c4cc..478c4cc 100644 --- a/tools/dnsmasq-leases-html/default.nix +++ b/packages/dnsmasq-leases-html/default.nix diff --git a/tools/dnsmasq-leases-html/dnsmasq-leases-html.py b/packages/dnsmasq-leases-html/dnsmasq-leases-html.py index c1f03db..c1f03db 100755 --- a/tools/dnsmasq-leases-html/dnsmasq-leases-html.py +++ b/packages/dnsmasq-leases-html/dnsmasq-leases-html.py diff --git a/tools/dnsmasq-leases-html/templates/index.html b/packages/dnsmasq-leases-html/templates/index.html index 913a0c9..913a0c9 100644 --- a/tools/dnsmasq-leases-html/templates/index.html +++ b/packages/dnsmasq-leases-html/templates/index.html diff --git a/tools/git-blame-stats/default.nix b/packages/git-blame-stats/default.nix index aab7cfb..aab7cfb 100644 --- a/tools/git-blame-stats/default.nix +++ b/packages/git-blame-stats/default.nix diff --git a/tools/git-blame-stats/git-blame-stats.py b/packages/git-blame-stats/git-blame-stats.py index 3cc4f4a..3cc4f4a 100755 --- a/tools/git-blame-stats/git-blame-stats.py +++ b/packages/git-blame-stats/git-blame-stats.py diff --git a/tools/git-broom/default.nix b/packages/git-broom/default.nix index fea555f..fea555f 100644 --- a/tools/git-broom/default.nix +++ b/packages/git-broom/default.nix diff --git a/tools/git-broom/git-broom.py b/packages/git-broom/git-broom.py index 8721b3c..8721b3c 100755 --- a/tools/git-broom/git-broom.py +++ b/packages/git-broom/git-broom.py diff --git a/tools/import-gh-to-gitea/README.org b/packages/import-gh-to-gitea/README.org index 2e26b88..2e26b88 100644 --- a/tools/import-gh-to-gitea/README.org +++ b/packages/import-gh-to-gitea/README.org diff --git a/tools/import-gh-to-gitea/archive-projects.py b/packages/import-gh-to-gitea/archive-projects.py index 41bd898..41bd898 100755 --- a/tools/import-gh-to-gitea/archive-projects.py +++ b/packages/import-gh-to-gitea/archive-projects.py diff --git a/tools/import-gh-to-gitea/delete-gh-repositories.py b/packages/import-gh-to-gitea/delete-gh-repositories.py index b87c0f6..b87c0f6 100755 --- a/tools/import-gh-to-gitea/delete-gh-repositories.py +++ b/packages/import-gh-to-gitea/delete-gh-repositories.py diff --git a/tools/import-gh-to-gitea/import-gh-to-gitea.py b/packages/import-gh-to-gitea/import-gh-to-gitea.py index b59c8eb..b59c8eb 100755 --- a/tools/import-gh-to-gitea/import-gh-to-gitea.py +++ b/packages/import-gh-to-gitea/import-gh-to-gitea.py diff --git a/tools/ipconverter/default.nix b/packages/ipconverter/default.nix index 4580396..4580396 100644 --- a/tools/ipconverter/default.nix +++ b/packages/ipconverter/default.nix diff --git a/tools/ipconverter/ipconverter.py b/packages/ipconverter/ipconverter.py index 6b01d5d..6b01d5d 100755 --- a/tools/ipconverter/ipconverter.py +++ b/packages/ipconverter/ipconverter.py diff --git a/tools/music-organizer/README.org b/packages/music-organizer/README.org index a42a196..a42a196 100644 --- a/tools/music-organizer/README.org +++ b/packages/music-organizer/README.org diff --git a/tools/music-organizer/default.nix b/packages/music-organizer/default.nix index 1242e34..1242e34 100644 --- a/tools/music-organizer/default.nix +++ b/packages/music-organizer/default.nix diff --git a/tools/music-organizer/go.mod b/packages/music-organizer/go.mod index ba9a1b8..ba9a1b8 100644 --- a/tools/music-organizer/go.mod +++ b/packages/music-organizer/go.mod diff --git a/tools/music-organizer/go.sum b/packages/music-organizer/go.sum index 3383f0e..3383f0e 100644 --- a/tools/music-organizer/go.sum +++ b/packages/music-organizer/go.sum diff --git a/tools/music-organizer/main.go b/packages/music-organizer/main.go index 253afef..253afef 100644 --- a/tools/music-organizer/main.go +++ b/packages/music-organizer/main.go diff --git a/tools/numap/README.org b/packages/numap/README.org index c7941b1..c7941b1 100644 --- a/tools/numap/README.org +++ b/packages/numap/README.org diff --git a/tools/numap/go.mod b/packages/numap/go.mod index 92b1885..92b1885 100644 --- a/tools/numap/go.mod +++ b/packages/numap/go.mod diff --git a/tools/numap/internal/hwids/hwids.go b/packages/numap/internal/hwids/hwids.go index 6aa9d8a..6aa9d8a 100644 --- a/tools/numap/internal/hwids/hwids.go +++ b/packages/numap/internal/hwids/hwids.go diff --git a/tools/numap/internal/sysfs/parse.go b/packages/numap/internal/sysfs/parse.go index d518653..d518653 100644 --- a/tools/numap/internal/sysfs/parse.go +++ b/packages/numap/internal/sysfs/parse.go diff --git a/tools/numap/internal/sysfs/pci.go b/packages/numap/internal/sysfs/pci.go index 9e714b1..9e714b1 100644 --- a/tools/numap/internal/sysfs/pci.go +++ b/packages/numap/internal/sysfs/pci.go diff --git a/tools/numap/numa.go b/packages/numap/numa.go index 402ea1d..402ea1d 100644 --- a/tools/numap/numa.go +++ b/packages/numap/numa.go diff --git a/tools/numap/numap.go b/packages/numap/numap.go index c65f1f0..c65f1f0 100644 --- a/tools/numap/numap.go +++ b/packages/numap/numap.go diff --git a/tools/perf-flamegraph-pid/default.nix b/packages/perf-flamegraph-pid/default.nix index 0cd0a1b..0cd0a1b 100644 --- a/tools/perf-flamegraph-pid/default.nix +++ b/packages/perf-flamegraph-pid/default.nix diff --git a/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh b/packages/perf-flamegraph-pid/perf-flamegraph-pid.sh index 2ca3d16..2ca3d16 100755 --- a/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh +++ b/packages/perf-flamegraph-pid/perf-flamegraph-pid.sh diff --git a/tools/scheddomain/go.mod b/packages/scheddomain/go.mod index afbc83a..afbc83a 100644 --- a/tools/scheddomain/go.mod +++ b/packages/scheddomain/go.mod diff --git a/tools/scheddomain/main.go b/packages/scheddomain/main.go index 1d0f5d3..1d0f5d3 100644 --- a/tools/scheddomain/main.go +++ b/packages/scheddomain/main.go diff --git a/tools/schedlatency/go.mod b/packages/schedlatency/go.mod index 9a073ac..9a073ac 100644 --- a/tools/schedlatency/go.mod +++ b/packages/schedlatency/go.mod diff --git a/tools/schedlatency/main.go b/packages/schedlatency/main.go index 7dd709e..7dd709e 100644 --- a/tools/schedlatency/main.go +++ b/packages/schedlatency/main.go diff --git a/tools/seqstat/default.nix b/packages/seqstat/default.nix index d7bd169..96cbd40 100644 --- a/tools/seqstat/default.nix +++ b/packages/seqstat/default.nix @@ -1,12 +1,12 @@ -{ lib, python3, stdenvNoCC, pkgs }: +{ lib, python3, stdenvNoCC }: stdenvNoCC.mkDerivation rec { pname = "seqstat"; src = ./seqstat.py; version = "0.1.0"; - buildInputs = with pkgs; [ python3 ]; - propagatedBuildInputs = with pkgs; [ python3 ]; + buildInputs = [ python3 ]; + propagatedBuildInputs = [ python3 ]; dontUnpack = true; dontBuild = true; diff --git a/tools/seqstat/seqstat.py b/packages/seqstat/seqstat.py index 55b6ecc..55b6ecc 100755 --- a/tools/seqstat/seqstat.py +++ b/packages/seqstat/seqstat.py |