lol
1{
2 lib,
3 rustPlatform,
4 fetchCrate,
5 pkg-config,
6 openssl,
7}:
8
9rustPlatform.buildRustPackage rec {
10 pname = "starry";
11 version = "2.0.2";
12
13 src = fetchCrate {
14 inherit pname version;
15 hash = "sha256-/ZUmMLEqlpqu+Ja/3XjFJf+OFZJCz7rp5MrQBEjwsXs=";
16 };
17
18 cargoHash = "sha256-NNQhU6NVacRCzFp2hWcBvHvD6zPOlTvII8n7k505HrY=";
19
20 nativeBuildInputs = [
21 pkg-config
22 ];
23
24 buildInputs = [
25 openssl
26 ];
27
28 meta = with lib; {
29 description = "Current stars history tells only half the story";
30 homepage = "https://github.com/Canop/starry";
31 license = licenses.agpl3Only;
32 maintainers = with maintainers; [ figsoda ];
33 mainProgram = "starry";
34 };
35}