Skip to content

Commit

Permalink
cargo-aoc: init at 0.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Defelo committed Dec 8, 2024
1 parent 1d7a088 commit e07423c
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/by-name/ca/cargo-aoc/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
rustPlatform,
fetchCrate,
testers,
nix-update-script,
cargo-aoc,
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-aoc";
version = "0.3.8";

src = fetchCrate {
inherit pname version;
hash = "sha256-5CjY91515GeLzmLJiGjfbBfIMPr32EA65X/rriKPWRY=";
};

cargoHash = "sha256-LhPsiO0Fnx9Tf+itaaVaO1XgqM00m+UQMlUJYY8isXY=";

passthru = {
tests.version = testers.testVersion { package = cargo-aoc; };
updateScript = nix-update-script { };
};

meta = {
description = "Simple CLI tool that aims to be a helper for Advent of Code";
homepage = "https://github.com/gobanos/cargo-aoc";
license = with lib.licenses; [
mit
asl20
];
maintainers = with lib.maintainers; [ defelo ];
mainProgram = "cargo-aoc";
};
}

0 comments on commit e07423c

Please sign in to comment.