diff options
author | Jordan Isaacs <mail@jdisaacs.com> | 2022-12-02 17:21:32 -0500 |
---|---|---|
committer | Jordan Isaacs <mail@jdisaacs.com> | 2023-01-11 20:21:21 -0800 |
commit | 0206a083136cbb1f319fc0c1b6517d2916b31a5a (patch) | |
tree | 34c7d57de51ac4888be6741aafc247f80c529612 /pkgs/tools/misc/aoc-cli | |
parent | c2c6c25981df4288a2a989ecb3ff85c21eb2488f (diff) | |
download | nixpkgs-0206a083136cbb1f319fc0c1b6517d2916b31a5a.tar nixpkgs-0206a083136cbb1f319fc0c1b6517d2916b31a5a.tar.gz nixpkgs-0206a083136cbb1f319fc0c1b6517d2916b31a5a.tar.bz2 nixpkgs-0206a083136cbb1f319fc0c1b6517d2916b31a5a.tar.lz nixpkgs-0206a083136cbb1f319fc0c1b6517d2916b31a5a.tar.xz nixpkgs-0206a083136cbb1f319fc0c1b6517d2916b31a5a.tar.zst nixpkgs-0206a083136cbb1f319fc0c1b6517d2916b31a5a.zip |
aoc-cli: init at 0.11.0
Diffstat (limited to 'pkgs/tools/misc/aoc-cli')
-rw-r--r-- | pkgs/tools/misc/aoc-cli/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/misc/aoc-cli/default.nix b/pkgs/tools/misc/aoc-cli/default.nix new file mode 100644 index 00000000000..34100865381 --- /dev/null +++ b/pkgs/tools/misc/aoc-cli/default.nix @@ -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 ]; + }; +} |