star-history: init at 1.0.4

This commit is contained in:
figsoda
2022-10-09 17:02:21 -04:00
committed by Matthieu Coudron
parent 34c5293a71
commit 67620e2fce
2 changed files with 37 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, openssl
, stdenv
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "star-history";
version = "1.0.4";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-sVcYQneWEZXcsbzMJ2ZfHS0C529J6s1sDxrcIojEC4U=";
};
cargoSha256 = "sha256-d0PesmJTZFVoVwBLMZzOsF76hcUbRaEoymmfw3Qh9mc=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
Security
];
meta = with lib; {
description = "Command line program to generate a graph showing number of GitHub stars of a user, org or repo over time";
homepage = "https://github.com/dtolnay/star-history";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ figsoda ];
};
}
+4
View File
@@ -26423,6 +26423,10 @@ with pkgs;
stdmanpages = callPackage ../data/documentation/std-man-pages { };
star-history = callPackage ../tools/misc/star-history {
inherit (darwin.apple_sdk.frameworks) Security;
};
starfetch = callPackage ../tools/misc/starfetch { };
starship = callPackage ../tools/misc/starship {