diff options
author | William Carroll <wpcarro@gmail.com> | 2020-02-09T13·47+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-02-10T10·06+0000 |
commit | 64654d1d6d1f36a20e00ee6cdc3866ff009c3a0a (patch) | |
tree | 3a764c88197e704a86ef527467b49a933c9f242d /monzo_ynab/job.nix | |
parent | ec4c8472ca8eaed9a40d5decf5f909bdda96ec62 (diff) |
Create gopkgs directory for golang libs
- Created a gopkgs directory and registered it with default.nix's readTree - Moved monzo_ynab/utils -> gopkgs - Consumed utils.go in main.go - Renamed monzo_ynab -> job
Diffstat (limited to 'monzo_ynab/job.nix')
-rw-r--r-- | monzo_ynab/job.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/monzo_ynab/job.nix b/monzo_ynab/job.nix new file mode 100644 index 000000000000..f6cb78789000 --- /dev/null +++ b/monzo_ynab/job.nix @@ -0,0 +1,16 @@ +{ + depot ? import <depot> {}, + briefcase ? import <briefcase> {}, + ... +}: + +depot.buildGo.program { + name = "job"; + srcs = [ + ./main.go + ]; + deps = with briefcase.gopkgs; [ + kv + utils + ]; +} |