10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
15 owner = "scarvalhojr";
18 hash = "sha256-UdeCKhEWr1BjQ6OMLP19OLWPlvvP7FGAO+mi+bQUPQA=";
21 nativeBuildInputs = [ pkg-config ];
23 buildInputs = [ openssl ]
24 ++ lib.optional stdenv.hostPlatform.isDarwin Security;
26 cargoHash = "sha256-EluP4N3UBQeEKVdHTs4O0THXji+nAyE52nGKsxA3AA4=";
29 description = "Advent of code command line tool";
30 homepage = "https://github.com/scarvalhojr/aoc-cli/";
31 license = licenses.mit;
32 maintainers = with maintainers; [ jordanisaacs ];