Merge pull request #204187 from jordanisaacs/aoc-cli-init
aoc-cli: init at 0.11.0
This commit is contained in:
commit
154ecc2777
34
pkgs/tools/misc/aoc-cli/default.nix
Normal file
34
pkgs/tools/misc/aoc-cli/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue