mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
nushell: 0.5.0 -> 0.6.0
This commit is contained in:
parent
a9cda5f14c
commit
160a9764ae
@ -13,16 +13,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "nushell";
|
pname = "nushell";
|
||||||
version = "0.5.0";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "0_5_0";
|
rev = version;
|
||||||
sha256 = "1s60w29c8sv0a4nmpggls9pkqyfrwwxjzd65p68d1xxxsdb36rzj";
|
sha256 = "012fhy7ni4kyxypn25ssj6py1zxwk41bj4xb1ni4zaw47fqsj1nw";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0b8alc3si6y4xmn812izknbkfkz64kz7kcnq4xaqws6iqn7pqidp";
|
cargoSha256 = "17r6g80qcy1mb195fl5iwcr83d35q2hs71camhwjbdh8yrs9l1la";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ]
|
nativeBuildInputs = [ pkg-config ]
|
||||||
++ stdenv.lib.optionals (withAllFeatures && stdenv.isLinux) [ python3 ];
|
++ stdenv.lib.optionals (withAllFeatures && stdenv.isLinux) [ python3 ];
|
||||||
@ -32,7 +32,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
++ stdenv.lib.optionals (withAllFeatures && stdenv.isLinux) [ xorg.libX11 ]
|
++ stdenv.lib.optionals (withAllFeatures && stdenv.isLinux) [ xorg.libX11 ]
|
||||||
++ stdenv.lib.optionals (withAllFeatures && stdenv.isDarwin) [ AppKit ];
|
++ stdenv.lib.optionals (withAllFeatures && stdenv.isDarwin) [ AppKit ];
|
||||||
|
|
||||||
cargoBuildFlags = stdenv.lib.optionals withAllFeatures [ "--features" "all" ];
|
cargoBuildFlags = stdenv.lib.optional withAllFeatures "--all-features";
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$TMPDIR
|
export HOME=$TMPDIR
|
||||||
|
Loading…
Reference in New Issue
Block a user