Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ or up-to-date in the main nixpkgs repository.
- **Atlas 0.32.1** - Atlas CLI tool for database schema management, with support
for both x86_64 and aarch64 architectures on Linux and macOS
- **Cursor-cli** - [Cursor CLI tool](https://cursor.com/cli) (cluster-agent)
- **Svix-server 1.76.1** - The enterprise-ready webhooks service, built from source

## Requirements

Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
debezium-connector-mysql
atlas
debezium-server
svix-server
;
debezium = customPkgs.debezium-connector-mysql; # Alias for compatibility
};
Expand Down
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
elasticsearch8 = import ./elasticsearch8.nix {inherit pkgs;};
atlas = import ./atlas.nix {inherit pkgs;};
debezium-server = import ./debezium-server.nix {inherit pkgs;};
svix-server = import ./svix-server.nix {inherit pkgs;};
}
40 changes: 40 additions & 0 deletions pkgs/svix-server.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{pkgs}: let
version = "1.76.1";
in
pkgs.rustPlatform.buildRustPackage rec {
pname = "svix-server";
inherit version;

src = pkgs.fetchFromGitHub {
owner = "svix";
repo = "svix-webhooks";
rev = "v${version}";
hash = "sha256-9ClWC/OHdijmQzKig/o6WhJ9mjlE6pLwvrRKzuO0l3g=";
};

sourceRoot = "${src.name}/server";

cargoHash = "sha256-fOUPaU/1+FvL9hSzWQVouAXmCjI6ppOjJqtgM4+cXf8=";

nativeBuildInputs = with pkgs; [
pkg-config
];

buildInputs = with pkgs; [
openssl
] ++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isDarwin [
libiconv
];

# Skip tests during build (they require database setup)
doCheck = false;

meta = with pkgs.lib; {
description = "The enterprise-ready webhooks service";
homepage = "https://github.com/svix/svix-webhooks";
license = licenses.mit;
maintainers = [];
platforms = platforms.unix;
};
}

Loading