aoc-cli: init at 0.11.0

This commit is contained in:
Jordan Isaacs 2022-12-02 17:21:32 -05:00
parent c2c6c25981
commit 0206a08313
No known key found for this signature in database
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "aoc-cli";
version = "0.11.0";
src = fetchFromGitHub {
owner = "scarvalhojr";
repo = pname;
rev = version;
hash = "sha256-oUvEZEnhYeAAZyLn2/isDZKT0+mhS5fnCvYGsR94uk0=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ]
++ lib.optional stdenv.isDarwin Security;
cargoHash = "sha256-/76yzWPKGp4MEmFuvFJOMCxGKEdpohfzBAhRwvdEx8w=";
meta = with lib; {
description = "Advent of code command line tool";
homepage = "https://github.com/scarvalhojr/aoc-cli/";
license = licenses.mit;
maintainers = with maintainers; [ jordanisaacs ];
};
}

View file

@ -3365,6 +3365,10 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
aoc-cli = callPackage ../tools/misc/aoc-cli {
inherit (darwin.apple_sdk.frameworks) Security;
};
apprise = with python3Packages; toPythonApplication apprise;
aptdec = callPackage ../development/libraries/aptdec {};