parent
50097d75fa
commit
17173e961e
2 changed files with 40 additions and 0 deletions
38
pkgs/tools/misc/starry/default.nix
Normal file
38
pkgs/tools/misc/starry/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchCrate
|
||||
, pkg-config
|
||||
, openssl
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "starry";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
hash = "sha256-CPEMjg70MXlV+ruYnEHpTmqlc27NMTUKTR4/fpQmYcI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-d6icXOgju4qEV2+J+G09/xeQMIX3/4XUFmuWfD/Cqhc=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Current stars history tells only half the story";
|
||||
homepage = "https://github.com/Canop/starry";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
mainProgram = "starry";
|
||||
};
|
||||
}
|
|
@ -29965,6 +29965,8 @@ with pkgs;
|
|||
|
||||
starfetch = callPackage ../tools/misc/starfetch { };
|
||||
|
||||
starry = callPackage ../tools/misc/starry { };
|
||||
|
||||
starship = callPackage ../tools/misc/starship {
|
||||
inherit (darwin.apple_sdk.frameworks) Security Foundation Cocoa;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue