diff options
Diffstat (limited to 'Cargo.nix')
-rw-r--r-- | Cargo.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Cargo.nix b/Cargo.nix index 785f38c..1979e31 100644 --- a/Cargo.nix +++ b/Cargo.nix @@ -138,6 +138,16 @@ rec { # File a bug if you depend on any for non-debug work! debug = internal.debugCrate { inherit packageId; }; }; + "advent_12" = rec { + packageId = "advent_12"; + build = internal.buildRustCrateWithFeatures { + packageId = "advent_12"; + }; + + # Debug support which might change between releases. + # File a bug if you depend on any for non-debug work! + debug = internal.debugCrate { inherit packageId; }; + }; "advent_lib" = rec { packageId = "advent_lib"; build = internal.buildRustCrateWithFeatures { @@ -453,6 +463,31 @@ rec { ]; }; + "advent_12" = rec { + crateName = "advent_12"; + version = "0.1.0"; + edition = "2018"; + crateBin = [ + { name = "advent_12"; path = "src/main.rs"; } + ]; + src = (builtins.filterSource sourceFilter ./12); + authors = [ + "Irene Knapp <ireneista@gmail.com>" + ]; + dependencies = [ + { + name = "advent_lib"; + packageId = "advent_lib"; + } + ]; + devDependencies = [ + { + name = "assert_cmd"; + packageId = "assert_cmd"; + } + ]; + + }; "advent_lib" = rec { crateName = "advent_lib"; version = "0.1.0"; |