about summary refs log tree commit diff
path: root/pkgs/profpatsch/text-letter.nix
blob: f12f0ff2c04d10fc237cac575381dd6be78ea6e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pkgs, rust-deps, writeRustSimple, writeExecline, getBins }:

let
  bins = getBins pkgs.coreutils [ "date" "cat" ];

  mustache-interpol = writeRustSimple "mustache-interpol" {
    dependencies = [
      rust-deps.mustache
      rust-deps.toml
      rust-deps.regex
      rust-deps.lazy_static
    ];
  } (./text-letter.rs);

  text-letter = writeExecline "write-letter" {} [
    mustache-interpol
  ];

in {
   inherit
     mustache-interpol
     text-letter
     ;
}