gh-cal: init at 0.1.3

This commit is contained in:
Loïc Reynier 2022-05-09 10:11:11 +02:00
parent 2a3aac479c
commit 485734c2c5
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib
, stdenv
, fetchCrate
, rustPlatform
, pkgconfig
, openssl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "gh-cal";
version = "0.1.3";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-x9DekflZoXxH964isWCi6YuV3v/iIyYOuRYVgKaUBx0=";
};
cargoSha256 = "sha256-73gqk0DjhaLGIEP5VQQlubPomxHQyg4RnY5XTgE7msQ=";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
description = "GitHub contributions calender terminal viewer";
homepage = "https://github.com/mrshmllow/gh-cal";
license = licenses.mit;
maintainers = with maintainers; [ loicreynier ];
};
}

View file

@ -1145,6 +1145,10 @@ with pkgs;
gfshare = callPackage ../tools/security/gfshare { };
gh-cal = callPackage ../tools/misc/gh-cal {
inherit (darwin.apple_sdk.frameworks) Security;
};
glooctl = callPackage ../applications/networking/cluster/glooctl { };
gobgp = callPackage ../tools/networking/gobgp { };