about summary refs log tree commit diff
path: root/net/alcoholic_jwt/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-08-15T14·13+0300
committertazjin <mail@tazj.in>2021-08-15T14·18+0000
commitdb5ba287352a5a12f8aef80632a3ac18862ce3af (patch)
tree8b2d97d3e32bcd6ecac118c5463d0ab1f6649e52 /net/alcoholic_jwt/default.nix
parent038cf399984cbc161dc07fac75f43cc057763cfc (diff)
feat(alcoholic_jwt): Add Nix build for crate r/2737
... mostly to get CI.

Note that this adds the Cargo.lock file because we require pinning,
but it is generally not required for Rust libraries.

Change-Id: Iedbd3758e8df8a7f60fe67b6b06c8e41aba8f345
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3362
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'net/alcoholic_jwt/default.nix')
-rw-r--r--net/alcoholic_jwt/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/alcoholic_jwt/default.nix b/net/alcoholic_jwt/default.nix
new file mode 100644
index 000000000000..c6b84fb7aba3
--- /dev/null
+++ b/net/alcoholic_jwt/default.nix
@@ -0,0 +1,9 @@
+{ depot, pkgs, ... }:
+
+depot.third_party.naersk.buildPackage {
+  src = ./.;
+  buildInputs = with pkgs; [
+    openssl
+    pkgconfig
+  ];
+}