1
0
Fork 0

controld: init
All checks were successful
Build / build-amd64-linux (push) Successful in 1m7s
Build / build-arm64-linux (push) Successful in 3m32s

This commit is contained in:
Daniel Kempkens 2024-07-26 17:41:48 +02:00
parent dd7e8eccdb
commit 1bf2ae0396
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
5 changed files with 37 additions and 2 deletions

View file

@ -26,6 +26,10 @@ jobs:
run: |
nix build '.#bulk-downloader-for-reddit'
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build controld
run: |
nix build '.#controld'
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build discord-downloader-go
run: |
nix build '.#discord-downloader-go'
@ -74,6 +78,10 @@ jobs:
run: |
echo "Logging in ..."
attic login --set-default attic ${{ secrets.ATTIC_ENDPOINT }} ${{ secrets.ATTIC_TOKEN }}
- name: Build controld
run: |
nix build '.#controld'
attic push ${{ secrets.ATTIC_CACHE }} $(nix-store -qR --include-outputs $(nix-store -qd ./result) | grep -v '\.drv$')
- name: Build fennel-ls
run: |
nix build '.#fennel-ls'

View file

@ -20,6 +20,7 @@ jobs:
run: |
nix-update --flake anonymous-overflow
nix-update --flake --version development bulk-downloader-for-reddit
nix-update --flake controld
nix-update --flake discord-downloader-go
nix-update --flake q
nix-update --flake redlib

View file

@ -42,6 +42,7 @@
{
anonymous-overflow = callPackage ./packages/anonymous-overflow.nix { };
bulk-downloader-for-reddit = callPackage ./packages/bulk-downloader-for-reddit.nix { };
controld = callPackage ./packages/controld.nix { };
discord-downloader-go = callPackage ./packages/discord-downloader-go.nix { };
fennel-ls = callPackage ./packages/fennel-ls.nix { };
headscale-ui = callPackage ./packages/headscale-ui.nix { };

25
packages/controld.nix Normal file
View file

@ -0,0 +1,25 @@
{ pkgs, lib }:
pkgs.buildGoModule rec {
pname = "controld";
version = "1.3.7";
src = pkgs.fetchFromGitHub {
owner = "Control-D-Inc";
repo = "ctrld";
rev = "v${version}";
hash = "sha256-3rAGH3GfCQR+Ii5KazsgQzydeWlPeHpiEvHNHQXjNVQ=";
};
vendorHash = "sha256-UN0gOFxMS0iWvg6Iv+aeYoduffJ9Zanz1htRh3ANjkY=";
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
doCheck = false;
meta = with lib; {
description = "A highly configurable, multi-protocol DNS forwarding proxy";
homepage = "https://github.com/Control-D-Inc/ctrld";
license = [ licenses.mit ];
platforms = [ "x86_64-darwin" "aarch64-darwin" "aarch64-linux" "x86_64-linux" ];
};
}

View file

@ -1,6 +1,6 @@
{ pkgs, lib }:
pkgs.buildGo121Module rec {
pkgs.buildGoModule rec {
pname = "q";
version = "0.19.2";
@ -13,7 +13,7 @@ pkgs.buildGo121Module rec {
vendorHash = "sha256-6kdf+LwMrIjwC3uZHlMdpEHvonxKfr86PQaMOgzgYOc=";
ldflags = [ "-s" "-w" "-X main.version=release" ];
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
doCheck = false;
meta = with lib; {