starship: 0.30.1 -> 0.31.0
This commit is contained in:
parent
be98fd4c6b
commit
2149652a47
@ -1,24 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform
|
||||
, pkg-config, openssl
|
||||
, libiconv, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "starship";
|
||||
version = "0.30.1";
|
||||
version = "0.31.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "starship";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "19h6ahbqfrq5jfdjqxd7phzh1lanqqvkb1phr4fx6qnn5icj9hlm";
|
||||
sha256 = "1g4cpnlz2gx4c3cmqx3a69iwjs2cg8p86l0zd198h6fv8pa1i16y";
|
||||
};
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl ] ++ (stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ]);
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/utils.rs \
|
||||
--replace "/bin/echo" "echo"
|
||||
'';
|
||||
|
||||
cargoSha256 = "0391l44rqshjz62658mfl58c2npv7k11l4lb4kk9gb3ywdhbjv26";
|
||||
cargoSha256 = "03qrcf0y6j22asp7x10di6xi8hgai84kvh1imiw9vibxp90868bh";
|
||||
checkPhase = "cargo test -- --skip directory::home_directory --skip directory::directory_in_root";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -17642,7 +17642,9 @@ in
|
||||
|
||||
stdmanpages = callPackage ../data/documentation/std-man-pages { };
|
||||
|
||||
starship = callPackage ../tools/misc/starship { };
|
||||
starship = callPackage ../tools/misc/starship {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
stig = callPackage ../applications/networking/p2p/stig { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user