starship: init at 0.10.1
This commit is contained in:
parent
21a9aa0fcc
commit
d90a2245d2
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, fetchFromGitHub, rustPlatform, openssl, pkgconfig, libiconv, darwin }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "starship";
|
||||||
|
version = "0.10.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "starship";
|
||||||
|
repo = "starship";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "045lq4nsrdssmqbcj0551f2c5qd2rcvhs8gr4p4iniv7s89yz1xl";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
cargoSha256 = "126y8q19qr37wrj6x4hqh0v7nqr9yfrycwqfgdlaw6i33gb0qam9";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A minimal, blazing fast, and extremely customizable prompt for any shell";
|
||||||
|
homepage = "https://starship.rs";
|
||||||
|
license = licenses.isc;
|
||||||
|
maintainers = with maintainers; [ bbigras ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -16904,6 +16904,8 @@ in
|
||||||
|
|
||||||
stdmanpages = callPackage ../data/documentation/std-man-pages { };
|
stdmanpages = callPackage ../data/documentation/std-man-pages { };
|
||||||
|
|
||||||
|
starship = callPackage ../tools/misc/starship { };
|
||||||
|
|
||||||
stix-otf = callPackage ../data/fonts/stix-otf { };
|
stix-otf = callPackage ../data/fonts/stix-otf { };
|
||||||
|
|
||||||
stix-two = callPackage ../data/fonts/stix-two { };
|
stix-two = callPackage ../data/fonts/stix-two { };
|
||||||
|
|
Loading…
Reference in New Issue