add package

This commit is contained in:
niten 2023-01-28 11:50:39 -08:00
parent e30aa26402
commit 56538cb4aa

15
package.nix Normal file
View File

@ -0,0 +1,15 @@
{ pkgs, helpers, ... }:
with pkgs.lib;
let
gems = pkgs.bundlerEnv {
name = "gems-for-backplane-dns-client";
gemdir = ./.;
};
in helpers.lib.writeRubyApplication {
name = "backplane-dns-client";
inherit pkgs;
ruby = gems.wrappedRuby;
text = readFile ./dns-client.rb;
}