Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk
2020-10-06 10:25:58 +02:00
646 changed files with 11286 additions and 6998 deletions

View File

@@ -3,6 +3,7 @@
, fetchFromGitHub
, rustPlatform
, openssl
, zlib
, pkg-config
, python3
, xorg
@@ -14,35 +15,36 @@
rustPlatform.buildRustPackage rec {
pname = "nushell";
version = "0.19.0";
version = "0.20.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "08r6f71cy4j22k0mllm134x4dfixaircpaz5arrj93xsbp38nk92";
sha256 = "038c61605b92a97h84hlifwks0q6miv6rn7spr5h6h2nwvaqlyk6";
};
cargoSha256 = "15kvl490abxdv6706zs7pv0q5fhghmdvlfbn19037sldkcsfl86b";
cargoSha256 = "1vr0pqcv9gm4cwlkd06672jzz9rbm77c6j5r05waypc1lv4ln2cg";
nativeBuildInputs = [ pkg-config ]
++ lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ];
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin [ libiconv Security ]
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ zlib libiconv Security ]
++ lib.optionals (withStableFeatures && stdenv.isLinux) [ xorg.libX11 ]
++ lib.optionals (withStableFeatures && stdenv.isDarwin) [ AppKit ];
cargoBuildFlags = lib.optional withStableFeatures "--features stable";
preCheck = ''
export HOME=$TMPDIR
# Remove after https://github.com/NixOS/nixpkgs/pull/97000 lands into master
preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
unset SDKROOT
'';
checkPhase = ''
runHook preCheck
echo "Running cargo test"
cargo test
HOME=$TMPDIR cargo test
runHook postCheck
'';

View File

@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "oil";
version = "0.8.pre6";
version = "0.8.1";
src = fetchurl {
url = "https://www.oilshell.org/download/oil-${version}.tar.xz";
sha256 = "1gbc74in78lbkciz7wzjplrm185wn6fz57n66xmazayivqmpvgfm";
sha256 = "0mhzys1siry848v7swr1iv2wp329ksw0gpz1qd82fmlakml5brc1";
};
postPatch = ''

View File

@@ -81,7 +81,7 @@ EOF
a host of other features.
'';
license = "MIT-like";
homepage = "http://www.zsh.org/";
homepage = "https://www.zsh.org/";
maintainers = with stdenv.lib.maintainers; [ pSub ];
platforms = stdenv.lib.platforms.unix;
};

View File

@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "grml's zsh setup";
homepage = "http://grml.org/zsh/";
homepage = "https://grml.org/zsh/";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ msteen rvolosatovs ];

View File

@@ -1,21 +1,17 @@
{ stdenv, fetchFromGitHub, zsh }:
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "lambda-mod-zsh-theme-unstable-2019-04-17";
pname = "lambda-mod-zsh-theme-unstable";
version = "2020-10-03";
src = fetchFromGitHub {
owner = "halfo";
repo = "lambda-mod-zsh-theme";
rev = "6b83aedf9de41ea4e226cdbc78af1b7b92beb6ac";
sha256 = "1xf451c349fxnqbvsb07y9r1iqrwslx6x4b6drmnqqqy4yx1r5dj";
rev = "78347ea9709935f265e558b6345919d12323fbff";
sha256 = "0fvxnvgbcvwii7ghvpj5l43frllq71wwjvfg7cqfmic727z001dh";
};
buildInputs = [ zsh ];
installPhase = ''
chmod +x lambda-mod.zsh-theme # only executable scripts are found by `patchShebangs`
patchShebangs .
install -Dm0644 lambda-mod.zsh-theme $out/share/zsh/themes/lambda-mod.zsh-theme
'';

View File

@@ -4,15 +4,15 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "2020-09-20";
version = "2020-10-05";
pname = "oh-my-zsh";
rev = "93c837fec8e9fe61509b9dff9e909e84f7ebe32d";
rev = "fbb2b56c7ecd3c4873be805e004f70fa442e7c45";
src = fetchFromGitHub {
inherit rev;
owner = "ohmyzsh";
repo = "ohmyzsh";
sha256 = "1ww50c1xf64z1m0sy30xaf2adr87cqr5yyv9jrqr227j97vrwj04";
sha256 = "0mqhiawcfp094xsdmkadfp42kgpcfmsn24dw7zngvhria5bvr8hb";
};
installPhase = ''