Skip to content

Commit 588b138

Browse files
cargo-aoc: init at 0.3.8 (#362859)
2 parents 2b375c0 + e07423c commit 588b138

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchCrate,
5+
testers,
6+
nix-update-script,
7+
cargo-aoc,
8+
}:
9+
rustPlatform.buildRustPackage rec {
10+
pname = "cargo-aoc";
11+
version = "0.3.8";
12+
13+
src = fetchCrate {
14+
inherit pname version;
15+
hash = "sha256-5CjY91515GeLzmLJiGjfbBfIMPr32EA65X/rriKPWRY=";
16+
};
17+
18+
cargoHash = "sha256-LhPsiO0Fnx9Tf+itaaVaO1XgqM00m+UQMlUJYY8isXY=";
19+
20+
passthru = {
21+
tests.version = testers.testVersion { package = cargo-aoc; };
22+
updateScript = nix-update-script { };
23+
};
24+
25+
meta = {
26+
description = "Simple CLI tool that aims to be a helper for Advent of Code";
27+
homepage = "https://github.com/gobanos/cargo-aoc";
28+
license = with lib.licenses; [
29+
mit
30+
asl20
31+
];
32+
maintainers = with lib.maintainers; [ defelo ];
33+
mainProgram = "cargo-aoc";
34+
};
35+
}

0 commit comments

Comments
 (0)