Merge pull request #204187 from jordanisaacs/aoc-cli-init

aoc-cli: init at 0.11.0
This commit is contained in:
Anderson Torres 2023-01-13 01:44:46 -03:00 committed by GitHub
commit 154ecc2777
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -3424,6 +3424,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 {};