16 lines
290 B
Nix
16 lines
290 B
Nix
|
{ 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;
|
||
|
}
|