forked from mirrors/nixpkgs
aoc-cli: init at 0.11.0
This commit is contained in:
parent
c2c6c25981
commit
0206a08313
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 ];
|
||||
};
|
||||
}
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue