Skip to content

Commit

Permalink
Merge staging-next into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jan 23, 2021
2 parents 1c9084a + 5875291 commit d146e57
Show file tree
Hide file tree
Showing 365 changed files with 2,120 additions and 1,803 deletions.
19 changes: 10 additions & 9 deletions nixos/tests/chromium.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
def create_new_win():
with machine.nested("Creating a new Chromium window"):
machine.execute(
status, _ = machine.execute(
ru(
"${xdo "new-window" ''
search --onlyvisible --name "startup done"
Expand All @@ -86,13 +86,14 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
''}"
)
)
machine.execute(
ru(
"${xdo "new-window" ''
key Ctrl+n
''}"
if status == 0:
machine.execute(
ru(
"${xdo "new-window" ''
key Ctrl+n
''}"
)
)
)
def close_win():
Expand All @@ -115,7 +116,7 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
)
)
for _ in range(1, 20):
status, out = machine.execute(
status, _ = machine.execute(
ru(
"${xdo "wait-for-close" ''
search --onlyvisible --name "new tab"
Expand All @@ -134,7 +135,7 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
ret = False
with machine.nested("Waiting for new Chromium window to appear"):
for _ in range(1, 20):
status, out = machine.execute(
status, _ = machine.execute(
ru(
"${xdo "wait-for-window" ''
search --onlyvisible --name "new tab"
Expand Down
13 changes: 7 additions & 6 deletions pkgs/applications/blockchains/polkadot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,27 @@
}:
rustPlatform.buildRustPackage rec {
pname = "polkadot";
version = "0.8.26-1";
version = "0.8.27";

src = fetchFromGitHub {
owner = "paritytech";
repo = "polkadot";
rev = "v${version}";
sha256 = "17ji1gjrx3gzw4msaz9kgvm132y14wgh8z183l3mfw1cj44a6kqk";
sha256 = "1zkqmsclhnv14s4mxz7h49kfx8wyi3lyi0dik6jn1fh6w8zr962c";
};

cargoSha256 = "07zwlwx02xw1y20br2c4grwv7bprhynqy7gav4qh3vw117ijpiqk";
cargoSha256 = "1j0pr09y5pc43a4rz1zq3h9vmd874zz6z0wd279lpm6p2m0077cs";

nativeBuildInputs = [ clang ];

LIBCLANG_PATH = "${llvmPackages.libclang}/lib";
PROTOC = "${protobuf}/bin/protoc";

# NOTE: We don't build the WASM runtimes since this would require a more
# complicated rust environment setup. The resulting binary is still useful for
# live networks since those just use the WASM blob from the network chainspec.
BUILD_DUMMY_WASM_BINARY = 1;
# complicated rust environment setup and this is only needed for developer
# environments. The resulting binary is useful for end-users of live networks
# since those just use the WASM blob from the network chainspec.
SKIP_WASM_BUILD = 1;

# We can't run the test suite since we didn't compile the WASM runtimes.
doCheck = false;
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/misc/syncthingtray/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ mkDerivation
, stdenv
, lib
, fetchFromGitHub
, qtbase
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/chromium/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ let
base = rec {
name = "${packageName}-unwrapped-${version}";
inherit (upstream-info) version;
inherit channel packageName buildType buildPath;
inherit packageName buildType buildPath;

src = fetchurl {
url = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/networking/gmailctl/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv
{ lib
, buildGoModule
, fetchFromGitHub
}:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv
{ lib
, fetchFromGitHub
, python3Packages
, gobject-introspection
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/4th/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
pname = "4th";
Expand Down Expand Up @@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
"MANDIR=${placeholder "out"}/share/man"
];

meta = with stdenv.lib; {
meta = with lib; {
description = "A portable Forth compiler";
homepage = "https://thebeez.home.xs4all.nl/4tH/index.html";
license = licenses.lgpl3;
Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/compilers/abcl/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{stdenv, fetchurl, ant, jre, jdk}:
{lib, stdenv, fetchurl, ant, jre, jdk}:
stdenv.mkDerivation rec {
pname = "abcl";
version = "1.8.0";
Expand Down Expand Up @@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
meta = {
inherit version;
description = "A JVM-based Common Lisp implementation";
license = stdenv.lib.licenses.gpl3 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.gpl3 ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
homepage = "https://common-lisp.net/project/armedbear/";
};
}
4 changes: 2 additions & 2 deletions pkgs/development/compilers/acme/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchsvn }:
{ lib, stdenv, fetchsvn }:

stdenv.mkDerivation rec {
pname = "acme";
Expand All @@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
--replace "= gcc" "?= gcc"
'';

meta = with stdenv.lib; {
meta = with lib; {
description = "A multi-platform cross assembler for 6502/6510/65816 CPUs";
homepage = "https://sourceforge.net/projects/acme-crossass/";
license = licenses.gpl2Plus;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sourcePerArch:

{ swingSupport ? true # not used for now
, stdenv
, lib, stdenv
, fetchurl
}:

Expand Down Expand Up @@ -43,11 +43,11 @@ let cpuName = stdenv.hostPlatform.parsed.cpu.name;

passthru.home = result;

meta = with stdenv.lib; {
meta = with lib; {
license = licenses.gpl2Classpath;
description = "AdoptOpenJDK, prebuilt OpenJDK binary";
platforms = [ "x86_64-darwin" ]; # some inherit jre.meta.platforms
maintainers = with stdenv.lib.maintainers; [ taku0 ];
maintainers = with lib.maintainers; [ taku0 ];
};

}; in result
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ let result = stdenv.mkDerivation rec {

passthru.home = result;

meta = with stdenv.lib; {
meta = with lib; {
license = licenses.gpl2Classpath;
description = "AdoptOpenJDK, prebuilt OpenJDK binary";
platforms = lib.mapAttrsToList (arch: _: arch + "-linux") sourcePerArch; # some inherit jre.meta.platforms
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cargo, rustc, autoreconfHook, jdk, glib, xulrunner, zip, pkg-config, npapi_sdk, bash, bc }:
{ lib, stdenv, fetchFromGitHub, cargo, rustc, autoreconfHook, jdk, glib, xulrunner, zip, pkg-config, npapi_sdk, bash, bc }:

stdenv.mkDerivation rec {
pname = "adoptopenjdk-icedtea-web";
Expand Down Expand Up @@ -58,6 +58,6 @@ stdenv.mkDerivation rec {
based on the NetX project.
'';
homepage = "https://github.com/adoptopenjdk/icedtea-web";
platforms = stdenv.lib.platforms.linux;
platforms = lib.platforms.linux;
};
}
6 changes: 3 additions & 3 deletions pkgs/development/compilers/aldor/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchgit, stdenv, gmp, which, flex, bison, makeWrapper
{ fetchgit, lib, stdenv, gmp, which, flex, bison, makeWrapper
, autoconf, automake, libtool, jdk, perl }:

stdenv.mkDerivation {
Expand Down Expand Up @@ -32,7 +32,7 @@ stdenv.mkDerivation {
broken = true;
homepage = "http://www.aldor.org/";
description = "Programming language with an expressive type system";
license = stdenv.lib.licenses.asl20;
license = lib.licenses.asl20;

longDescription = ''
Aldor is a programming language with an expressive type system well-suited
Expand All @@ -47,6 +47,6 @@ stdenv.mkDerivation {
and powerful properties of functional, object-oriented and aspect-oriented styles.
'';

platforms = stdenv.lib.platforms.linux;
platforms = lib.platforms.linux;
};
}
6 changes: 3 additions & 3 deletions pkgs/development/compilers/aliceml/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{stdenv, gcc, glibc, fetchurl, fetchgit, libtool, autoconf, automake, file, gnumake, which, zsh, m4, pkg-config, perl, gnome2, gtk2, pango, sqlite, libxml2, zlib, gmp, smlnj }:
{lib, stdenv, gcc, glibc, fetchurl, fetchgit, libtool, autoconf, automake, file, gnumake, which, zsh, m4, pkg-config, perl, gnome2, gtk2, pango, sqlite, libxml2, zlib, gmp, smlnj }:

stdenv.mkDerivation {
name = "aliceml-1.4-7d44dc8e";
Expand Down Expand Up @@ -50,8 +50,8 @@ stdenv.mkDerivation {
programming.
'';
homepage = "https://www.ps.uni-saarland.de/alice/";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.doublec ];
license = lib.licenses.mit;
maintainers = [ lib.maintainers.doublec ];
broken = true;
};
}
4 changes: 2 additions & 2 deletions pkgs/development/compilers/apache-flex-sdk/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, jre }:
{ lib, stdenv, fetchurl, makeWrapper, jre }:

let
playerglobal_ver = "27.0";
Expand Down Expand Up @@ -47,7 +47,7 @@ in stdenv.mkDerivation rec {

fixupPhase = ":";

meta = with stdenv.lib; {
meta = with lib; {
description = "Flex SDK for Adobe Flash / ActionScript";
homepage = "https://flex.apache.org/";
license = with licenses; [ asl20 ];
Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/compilers/arachne-pnr/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, icestorm }:
{ lib, stdenv, fetchFromGitHub, icestorm }:

with builtins;

Expand Down Expand Up @@ -37,8 +37,8 @@ stdenv.mkDerivation rec {
the IceStorm [2] icepack command.
'';
homepage = "https://github.com/cseed/arachne-pnr";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ shell thoughtpolice ];
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ shell thoughtpolice ];
platforms = lib.platforms.linux;
};
}
4 changes: 2 additions & 2 deletions pkgs/development/compilers/asn1c/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl }:
{ lib, stdenv, fetchurl, perl }:

stdenv.mkDerivation rec {
pname = "asn1c";
Expand All @@ -23,7 +23,7 @@ stdenv.mkDerivation rec {

doCheck = true;

meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://lionet.info/asn1c/compiler.html";
description = "Open Source ASN.1 Compiler";
license = licenses.bsd2;
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/compilers/aspectj/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{stdenv, fetchurl, jre}:
{lib, stdenv, fetchurl, jre}:

stdenv.mkDerivation rec {
pname = "aspectj";
Expand All @@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "http://www.eclipse.org/aspectj/";
description = "A seamless aspect-oriented extension to the Java programming language";
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.epl10;
platforms = lib.platforms.unix;
license = lib.licenses.epl10;
};
}
8 changes: 4 additions & 4 deletions pkgs/development/compilers/ats/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gmp }:
{ lib, stdenv, fetchurl, gmp }:

stdenv.mkDerivation rec {
pname = "ats";
Expand All @@ -16,10 +16,10 @@ stdenv.mkDerivation rec {
meta = {
description = "Functional programming language with dependent types";
homepage = "http://www.ats-lang.org";
license = stdenv.lib.licenses.gpl3Plus;
license = lib.licenses.gpl3Plus;
# TODO: it looks like ATS requires gcc specifically. Someone with more knowledge
# will need to experiment.
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.thoughtpolice ];
};
}
10 changes: 5 additions & 5 deletions pkgs/development/compilers/ats2/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gmp
{ lib, stdenv, fetchurl, gmp
, withEmacsSupport ? true
, withContrib ? true }:

Expand All @@ -10,14 +10,14 @@ let
sha256 = "184m4hz2xszhcfc6w9fw9qibhmcvgjmikwfwkb345xypr59jm93d";
};

postInstallContrib = stdenv.lib.optionalString withContrib
postInstallContrib = lib.optionalString withContrib
''
local contribDir=$out/lib/ats2-postiats-*/ ;
mkdir -p $contribDir ;
tar -xzf "${contrib}" --strip-components 1 -C $contribDir ;
'';

postInstallEmacs = stdenv.lib.optionalString withEmacsSupport
postInstallEmacs = lib.optionalString withEmacsSupport
''
local siteLispDir=$out/share/emacs/site-lisp/ats2 ;
mkdir -p $siteLispDir ;
Expand All @@ -36,7 +36,7 @@ stdenv.mkDerivation rec {

buildInputs = [ gmp ];

setupHook = with stdenv.lib;
setupHook = with lib;
let
hookFiles =
[ ./setup-hook.sh ]
Expand All @@ -47,7 +47,7 @@ stdenv.mkDerivation rec {

postInstall = postInstallContrib + postInstallEmacs;

meta = with stdenv.lib; {
meta = with lib; {
description = "Functional programming language with dependent types";
homepage = "http://www.ats-lang.org";
license = licenses.gpl3Plus;
Expand Down
10 changes: 5 additions & 5 deletions pkgs/development/compilers/avian/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, zlib, jdk, CoreServices, Foundation }:
{ lib, stdenv, fetchFromGitHub, zlib, jdk, CoreServices, Foundation }:

stdenv.mkDerivation rec {
pname = "avian";
Expand All @@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};

buildInputs = [ zlib jdk ]
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Foundation ];
++ lib.optionals stdenv.isDarwin [ CoreServices Foundation ];

NIX_CFLAGS_COMPILE = "-Wno-error";

Expand All @@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
building self-contained applications.
'';
homepage = "https://readytalk.github.io/avian/";
license = stdenv.lib.licenses.isc;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.earldouglas ];
license = lib.licenses.isc;
platforms = lib.platforms.all;
maintainers = [ lib.maintainers.earldouglas ];
};
}
Loading

0 comments on commit d146e57

Please sign in to comment.