Skip to content

Commit

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

src = fetchFromGitHub {
owner = "gobanos";
repo = "cargo-aoc";
rev = version;
hash = "sha256-k9Lm91+Bk6EC8+KfEXhSs4ki385prZ6Vbs6W+18aZSI=";
};

cargoHash = "sha256-DKP9YMbVojK7w5pkX/gok4PG6WUjhqUdvTwSir05d0s=";

buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];

meta = {
description = "A 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 b064e29

Please sign in to comment.