10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
15 owner = "peterheesterman";
18 sha256 = "0iixczy3cad44j2d7zzj8f3lnmp4jwnb0snmwfgiq3vj9wrn28pz";
22 lockFile = ./Cargo.lock;
25 nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
27 buildInputs = lib.optionals stdenv.isLinux [
29 ] ++ lib.optionals stdenv.isDarwin [
30 darwin.apple_sdk.frameworks.Security
33 # update Carg.lock to work with openssl 3
35 ln -sf ${./Cargo.lock} Cargo.lock
39 description = "Crate help in terminal: A tool for looking up details about rust crates without going to crates.io";
42 Chit helps answer these questions:
44 * Who wrote this crate? What else did they write?
45 * What alternatives are there?
46 * How old is this crate?
47 * What versions are there? When did they come out?
48 * What are the downloads over time?
49 * Should i use this crate?
52 homepage = "https://github.com/peterheesterman/chit";
53 license = licenses.mit;
54 maintainers = with maintainers; [ figsoda lilyball ];