File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed
Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 2222 - uses : actions/setup-go@v3
2323 with :
2424 go-version : ' ^1.22'
25+ - uses : cachix/install-nix-action@v27
26+ with :
27+ nix_path : nixpkgs=channel:nixos-unstable
2528 - name : Install Dependencies
2629 run : |
2730 go install github.com/mattn/goveralls@latest
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ release:
3636 name : crab
3737 draft : false
3838
39-
4039# # AUR
4140aurs :
4241 - name : crab-bin
5453 - &maintainer "Christopher Kaster <[email protected] >" 5554 license : &license MIT
5655
56+ # # Nix:
57+ nix :
58+ - name : crab
59+ repository :
60+ owner : atomicptr
61+ name : nix
62+ branch : master
63+ token : " {{ .Env.GITHUB_TOKEN }}"
64+ homepage : *homepage
65+ description : *description
66+ license : mit
67+
5768# # Homebrew
5869brews :
5970 - name : crab
Original file line number Diff line number Diff line change @@ -43,6 +43,21 @@ $ docker run --rm atomicptr/crab crawl:sitemap https://domain.com/sitemap.xml
4343
4444[ AUR] ( https://aur.archlinux.org/packages/crab-bin )
4545
46+ ### Nix
47+
48+ Not available in nixpkgs but I have my own nix repository which you can use:
49+
50+ ``` nix
51+ let
52+ atomicptr = import (fetchTarball "https://github.com/atomicptr/nix/archive/refs/heads/master.tar.gz") {};
53+ in
54+ {
55+ environment.systemPackages = with pkgs; [
56+ atomicptr.crab
57+ ];
58+ }
59+ ````
60+
4661### Homebrew
4762
4863```bash
You can’t perform that action at this time.
0 commit comments