Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Jan 24, 2018
2 parents 9f22de7 + 9ffaa69 commit 769342b
Show file tree
Hide file tree
Showing 68 changed files with 2,735 additions and 2,148 deletions.
2 changes: 1 addition & 1 deletion nixos/release-combined.nix
Expand Up @@ -57,7 +57,7 @@ in rec {
nixos.ova.x86_64-linux

#(all nixos.tests.containers)
nixos.tests.chromium
nixos.tests.chromium.x86_64-linux
(all nixos.tests.firefox)
(all nixos.tests.firewall)
(all nixos.tests.gnome3)
Expand Down
18 changes: 8 additions & 10 deletions nixos/release.nix
Expand Up @@ -19,7 +19,8 @@ let
callTestOnTheseSystems = systems: fn: args: forTheseSystems systems (system: hydraJob (importTest fn args system));
callTest = callTestOnTheseSystems supportedSystems;

callSubTests = fn: args: let
callSubTests = callSubTestsOnTheseSystems supportedSystems;
callSubTestsOnTheseSystems = systems: fn: args: let
discover = attrs: let
subTests = filterAttrs (const (hasAttr "test")) attrs;
in mapAttrs (const (t: hydraJob t.test)) subTests;
Expand All @@ -28,10 +29,7 @@ let
${system} = test;
}) (discover (importTest fn args system));

# If the test is only for a particular system, use only the specified
# system instead of generating attributes for all available systems.
in if args ? system then discover (import fn args)
else foldAttrs mergeAttrs {} (map discoverForSystem supportedSystems);
in foldAttrs mergeAttrs {} (map discoverForSystem (intersectLists systems supportedSystems));

pkgs = import nixpkgs { system = "x86_64-linux"; };

Expand Down Expand Up @@ -230,7 +228,7 @@ in rec {
tests.boot = callSubTests tests/boot.nix {};
tests.boot-stage1 = callTest tests/boot-stage1.nix {};
tests.cadvisor = callTestOnTheseSystems ["x86_64-linux"] tests/cadvisor.nix {};
tests.chromium = (callSubTests tests/chromium.nix { system = "x86_64-linux"; }).stable;
tests.chromium = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/chromium.nix {}).stable;
tests.cjdns = callTest tests/cjdns.nix {};
tests.cloud-init = callTest tests/cloud-init.nix {};
tests.containers-ipv4 = callTest tests/containers-ipv4.nix {};
Expand All @@ -250,9 +248,9 @@ in rec {
tests.dnscrypt-proxy = callTestOnTheseSystems ["x86_64-linux"] tests/dnscrypt-proxy.nix {};
tests.ecryptfs = callTest tests/ecryptfs.nix {};
tests.etcd = callTestOnTheseSystems ["x86_64-linux"] tests/etcd.nix {};
tests.ec2-nixops = hydraJob (import tests/ec2.nix { system = "x86_64-linux"; }).boot-ec2-nixops;
tests.ec2-config = hydraJob (import tests/ec2.nix { system = "x86_64-linux"; }).boot-ec2-config;
tests.elk = callSubTests tests/elk.nix { system = "x86_64-linux"; };
tests.ec2-nixops = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-nixops;
tests.ec2-config = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/ec2.nix {}).boot-ec2-config;
tests.elk = callSubTestsOnTheseSystems ["x86_64-linux"] tests/elk.nix {};
tests.env = callTest tests/env.nix {};
tests.ferm = callTest tests/ferm.nix {};
tests.firefox = callTest tests/firefox.nix {};
Expand Down Expand Up @@ -346,7 +344,7 @@ in rec {
tests.tomcat = callTest tests/tomcat.nix {};
tests.udisks2 = callTest tests/udisks2.nix {};
tests.vault = callTest tests/vault.nix {};
tests.virtualbox = callSubTests tests/virtualbox.nix { system = "x86_64-linux"; };
tests.virtualbox = callSubTestsOnTheseSystems ["x86_64-linux"] tests/virtualbox.nix {};
tests.wordpress = callTest tests/wordpress.nix {};
tests.xfce = callTest tests/xfce.nix {};
tests.xmonad = callTest tests/xmonad.nix {};
Expand Down
5 changes: 3 additions & 2 deletions pkgs/applications/audio/faust/faust2.nix
Expand Up @@ -16,13 +16,14 @@ with stdenv.lib.strings;

let

version = "2.1.0";
version = "2.5.10";

src = fetchFromGitHub {
owner = "grame-cncm";
repo = "faust";
rev = "v${builtins.replaceStrings ["."] ["-"] version}";
sha256 = "1pmiwy287g79ipz9pppnkfrdgls3l912kpkr7dfymk9wk5y5di9m";
sha256 = "0sjhy7axa2dj1977iz6zmqvz9qzalcfnrx2fqx3xmk9hly847d6z";
fetchSubmodules = true;
};

meta = with stdenv.lib; {
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/audio/faust/faust2jack.nix
Expand Up @@ -2,6 +2,7 @@
, gtk2
, jack2Full
, opencv
, libsndfile
}:

faust.wrapWithBuildEnv {
Expand All @@ -18,6 +19,7 @@ faust.wrapWithBuildEnv {
gtk2
jack2Full
opencv
libsndfile
];

}
2 changes: 2 additions & 0 deletions pkgs/applications/audio/faust/faust2jaqt.nix
Expand Up @@ -2,6 +2,7 @@
, jack2Full
, opencv
, qt4
, libsndfile
}:

faust.wrapWithBuildEnv {
Expand All @@ -17,6 +18,7 @@ faust.wrapWithBuildEnv {
jack2Full
opencv
qt4
libsndfile
];

}
10 changes: 5 additions & 5 deletions pkgs/applications/editors/eclipse/plugins.nix
Expand Up @@ -185,16 +185,16 @@ rec {

autodetect-encoding = buildEclipsePlugin rec {
name = "autodetect-encoding-${version}";
version = "1.8.4.201708052053";
version = "1.8.5.201801191359";

srcFeature = fetchurl {
url = "https://cypher256.github.io/eclipse-encoding-plugin/features/eclipse.encoding.plugin.feature_${version}.jar";
sha256 = "1gbvib5dd75pp5mr17ckj2y66gnxjvpc067im5nsl9fyljdw867c";
url = "https://github.com/cypher256/eclipse-encoding-plugin/raw/master/eclipse.encoding.updatesite.snapshot/features/eclipse.encoding.plugin.feature_${version}.jar";
sha256 = "1m8ypsc1dwz0y6yhjgxsdi9813d38jllv7javgwvcd30g042a3kx";
};

srcPlugin = fetchurl {
url = "https://cypher256.github.io/eclipse-encoding-plugin/plugins/mergedoc.encoding_${version}.jar";
sha256 = "0728zsbfs1mc4qvx2p92hkxpnknckqk0xvqlmzivsnr62b5qd5im";
url = "https://github.com/cypher256/eclipse-encoding-plugin/raw/master/eclipse.encoding.updatesite.snapshot/plugins/mergedoc.encoding_${version}.jar";
sha256 = "1n2rzybfcwp3ss2qi0fhd8vm38vdwav8j837lqiqlfcnvzwsk86m";
};

meta = with stdenv.lib; {
Expand Down
18 changes: 9 additions & 9 deletions pkgs/applications/editors/emacs-modes/elpa-generated.nix
Expand Up @@ -564,10 +564,10 @@
debbugs = callPackage ({ cl-lib ? null, elpaBuild, fetchurl, lib, soap-client }:
elpaBuild {
pname = "debbugs";
version = "0.14";
version = "0.15";
src = fetchurl {
url = "https://elpa.gnu.org/packages/debbugs-0.14.tar";
sha256 = "07wgcvg038l88gxvjr0gjpjhyk743w22x1rqghz3gkmif0g70say";
url = "https://elpa.gnu.org/packages/debbugs-0.15.tar";
sha256 = "1x7jw2ldgkknyxg7x9fhnqkary691icnysmi3xw0g2fjrvllzhqw";
};
packageRequires = [ cl-lib soap-client ];
meta = {
Expand Down Expand Up @@ -768,10 +768,10 @@
el-search = callPackage ({ elpaBuild, emacs, fetchurl, lib, stream }:
elpaBuild {
pname = "el-search";
version = "1.4.0.17";
version = "1.5.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/el-search-1.4.0.17.tar";
sha256 = "14jacy0gjhpvia15ffa99np2wyblmadb95f17a9azl6dsn6dq1m6";
url = "https://elpa.gnu.org/packages/el-search-1.5.1.tar";
sha256 = "0bbq59d8x4ncrmpfq54w6rwpp604f1x834b81l7wflwxv7ni5msx";
};
packageRequires = [ emacs stream ];
meta = {
Expand Down Expand Up @@ -931,10 +931,10 @@
gited = callPackage ({ cl-lib ? null, elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "gited";
version = "0.3.3";
version = "0.3.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/gited-0.3.3.tar";
sha256 = "0h3ps26sy4wp1s9vpsj066fpqjqacjlprz3kb09macgsg88k2c1p";
url = "https://elpa.gnu.org/packages/gited-0.3.4.tar";
sha256 = "0s03p0z5dqhigl01hzin2qy53nm7b4ilvfm83d0ca683i9rb7hx1";
};
packageRequires = [ cl-lib emacs ];
meta = {
Expand Down

0 comments on commit 769342b

Please sign in to comment.