Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2019-11-11 12:06:42 +01:00
commit cf27abf534
129 changed files with 3181 additions and 2672 deletions

View File

@ -95,7 +95,7 @@ $ nix-build
The Android SDK gets deployed with all desired plugin versions. The Android SDK gets deployed with all desired plugin versions.
We can also deploy subsets of the Android SDK. For example, to only the the We can also deploy subsets of the Android SDK. For example, to only the
`platform-tools` package, you can evaluate the following expression: `platform-tools` package, you can evaluate the following expression:
```nix ```nix

View File

@ -1,7 +1,7 @@
--- ---
title: iOS title: iOS
author: Sander van der Burg author: Sander van der Burg
date: 2018-11-18 date: 2019-11-10
--- ---
# iOS # iOS
@ -217,3 +217,13 @@ xcode.simulateApp {
By providing the result of an `xcode.buildApp {}` function and configuring the By providing the result of an `xcode.buildApp {}` function and configuring the
app bundle id, the app gets deployed automatically and started. app bundle id, the app gets deployed automatically and started.
Troubleshooting
---------------
In some rare cases, it may happen that after a failure, changes are not picked
up. Most likely, this is caused by a derived data cache that Xcode maintains.
To wipe it you can run:
```bash
$ rm -rf ~/Library/Developer/Xcode/DerivedData
```

View File

@ -203,7 +203,7 @@ argument and returns a set that contains all attribute that should be
overwritten. overwritten.
For more complicated cases, such as when parts of the crate's For more complicated cases, such as when parts of the crate's
derivation depend on the the crate's version, the `attrs` argument of derivation depend on the crate's version, the `attrs` argument of
the override above can be read, as in the following example, which the override above can be read, as in the following example, which
patches the derivation: patches the derivation:

View File

@ -348,12 +348,12 @@ nix-build '<nixpkgs>' --arg crossSystem '{ config = "<arch>-<os&g
</para> </para>
</listitem> </listitem>
</orderedlist> </orderedlist>
In each stage, <varname>pkgsBuildHost</varname> refers the the previous stage, <varname>pkgsBuildBuild</varname> refers to the one before that, and <varname>pkgsHostTarget</varname> refers to the current one, and <varname>pkgsTargetTarget</varname> refers to the next one. When there is no previous or next stage, they instead refer to the current stage. Note how all the invariants regarding the mapping between dependency and depending packages' build host and target platforms are preserved. <varname>pkgsBuildTarget</varname> and <varname>pkgsHostHost</varname> are more complex in that the stage fitting the requirements isn't always a fixed chain of "prevs" and "nexts" away (modulo the "saturating" self-references at the ends). We just special case each instead. All the primary edges are implemented is in <filename>pkgs/stdenv/booter.nix</filename>, and secondarily aliases in <filename>pkgs/top-level/stage.nix</filename>. In each stage, <varname>pkgsBuildHost</varname> refers to the previous stage, <varname>pkgsBuildBuild</varname> refers to the one before that, and <varname>pkgsHostTarget</varname> refers to the current one, and <varname>pkgsTargetTarget</varname> refers to the next one. When there is no previous or next stage, they instead refer to the current stage. Note how all the invariants regarding the mapping between dependency and depending packages' build host and target platforms are preserved. <varname>pkgsBuildTarget</varname> and <varname>pkgsHostHost</varname> are more complex in that the stage fitting the requirements isn't always a fixed chain of "prevs" and "nexts" away (modulo the "saturating" self-references at the ends). We just special case each instead. All the primary edges are implemented is in <filename>pkgs/stdenv/booter.nix</filename>, and secondarily aliases in <filename>pkgs/top-level/stage.nix</filename>.
</para> </para>
<note> <note>
<para> <para>
Note the native stages are bootstrapped in legacy ways that predate the current cross implementation. This is why the the bootstrapping stages leading up to the final stages are ignored inthe previous paragraph. Note the native stages are bootstrapped in legacy ways that predate the current cross implementation. This is why the bootstrapping stages leading up to the final stages are ignored inthe previous paragraph.
</para> </para>
</note> </note>

View File

@ -142,7 +142,7 @@
<programlisting> <programlisting>
{ {
allowUnfreePredicate = (pkg: builtins.elem allowUnfreePredicate = (pkg: builtins.elem
(builtins.parseDrvName pkg.name).name [ (pkg.pname or (builtins.parseDrvName pkg.name).name) [
"flashplayer" "flashplayer"
"vscode" "vscode"
]); ]);

View File

@ -1401,6 +1401,12 @@
githubId = 411324; githubId = 411324;
name = "Carles Pagès"; name = "Carles Pagès";
}; };
craigem = {
email = "craige@mcwhirter.io";
github = "craigem";
githubId = "6470493";
name = "Craige McWhirter";
};
cransom = { cransom = {
email = "cransom@hubns.net"; email = "cransom@hubns.net";
github = "cransom"; github = "cransom";
@ -6518,6 +6524,12 @@
githubId = 506181; githubId = 506181;
name = "Peter Marheine"; name = "Peter Marheine";
}; };
tasmo = {
email = "tasmo@tasmo.de";
github = "tasmo";
githubId = 102685;
name = "Thomas Friese";
};
tavyc = { tavyc = {
email = "octavian.cerna@gmail.com"; email = "octavian.cerna@gmail.com";
github = "tavyc"; github = "tavyc";

View File

@ -1,4 +1,4 @@
{ config, lib, ... }: { config, lib, pkgs, ... }:
with lib; with lib;
{ {
@ -14,6 +14,10 @@ with lib;
}; };
config = mkIf config.xdg.sounds.enable { config = mkIf config.xdg.sounds.enable {
environment.systemPackages = [
pkgs.sound-theme-freedesktop
];
environment.pathsToLink = [ environment.pathsToLink = [
"/share/sounds" "/share/sounds"
]; ];

View File

@ -140,7 +140,11 @@ in
export img=$out/sd-image/${config.sdImage.imageName} export img=$out/sd-image/${config.sdImage.imageName}
echo "${pkgs.stdenv.buildPlatform.system}" > $out/nix-support/system echo "${pkgs.stdenv.buildPlatform.system}" > $out/nix-support/system
echo "file sd-image $img" >> $out/nix-support/hydra-build-products if test -n "$compressImage"; then
echo "file sd-image $img.bz2" >> $out/nix-support/hydra-build-products
else
echo "file sd-image $img" >> $out/nix-support/hydra-build-products
fi
# Gap in front of the first partition, in MiB # Gap in front of the first partition, in MiB
gap=8 gap=8

View File

@ -128,7 +128,7 @@
tcpcryptd = 93; # tcpcryptd uses a hard-coded uid. We patch it in Nixpkgs to match this choice. tcpcryptd = 93; # tcpcryptd uses a hard-coded uid. We patch it in Nixpkgs to match this choice.
firebird = 95; firebird = 95;
#keys = 96; # unused #keys = 96; # unused
haproxy = 97; #haproxy = 97; # DynamicUser as of 2019-11-08
mongodb = 98; mongodb = 98;
openldap = 99; openldap = 99;
#users = 100; # unused #users = 100; # unused
@ -443,7 +443,7 @@
#tcpcryptd = 93; # unused #tcpcryptd = 93; # unused
firebird = 95; firebird = 95;
keys = 96; keys = 96;
haproxy = 97; #haproxy = 97; # DynamicUser as of 2019-11-08
#mongodb = 98; # unused #mongodb = 98; # unused
openldap = 99; openldap = 99;
munin = 102; munin = 102;

View File

@ -101,6 +101,12 @@ in {
}; };
}; };
systemd.tmpfiles.rules = [
"d /var/spool/smtpd 711 root - - -"
"d /var/spool/smtpd/offline 770 root smtpq - -"
"d /var/spool/smtpd/purge 700 smtpq root - -"
];
systemd.services.opensmtpd = let systemd.services.opensmtpd = let
procEnv = pkgs.buildEnv { procEnv = pkgs.buildEnv {
name = "opensmtpd-procs"; name = "opensmtpd-procs";
@ -110,18 +116,6 @@ in {
in { in {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
preStart = ''
mkdir -p /var/spool/smtpd
chmod 711 /var/spool/smtpd
mkdir -p /var/spool/smtpd/offline
chown root.smtpq /var/spool/smtpd/offline
chmod 770 /var/spool/smtpd/offline
mkdir -p /var/spool/smtpd/purge
chown smtpq.root /var/spool/smtpd/purge
chmod 700 /var/spool/smtpd/purge
'';
serviceConfig.ExecStart = "${cfg.package}/sbin/smtpd -d -f ${conf} ${args}"; serviceConfig.ExecStart = "${cfg.package}/sbin/smtpd -d -f ${conf} ${args}";
environment.OPENSMTPD_PROC_PATH = "${procEnv}/libexec/opensmtpd"; environment.OPENSMTPD_PROC_PATH = "${procEnv}/libexec/opensmtpd";
}; };

View File

@ -12,11 +12,6 @@ let
samba = cfg.package; samba = cfg.package;
setupScript =
''
mkdir -p /var/lock/samba /var/log/samba /var/cache/samba /var/lib/samba/private
'';
shareConfig = name: shareConfig = name:
let share = getAttr name cfg.shares; in let share = getAttr name cfg.shares; in
"[${name}]\n " + (smbToString ( "[${name}]\n " + (smbToString (
@ -62,6 +57,7 @@ let
Type = "notify"; Type = "notify";
NotifyAccess = "all"; #may not do anything... NotifyAccess = "all"; #may not do anything...
}; };
unitConfig.RequiresMountsFor = "/var/lib/samba";
restartTriggers = [ configFile ]; restartTriggers = [ configFile ];
}; };
@ -228,8 +224,7 @@ in
systemd = { systemd = {
targets.samba = { targets.samba = {
description = "Samba Server"; description = "Samba Server";
requires = [ "samba-setup.service" ]; after = [ "network.target" ];
after = [ "samba-setup.service" "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
}; };
# Refer to https://github.com/samba-team/samba/tree/master/packaging/systemd # Refer to https://github.com/samba-team/samba/tree/master/packaging/systemd
@ -238,12 +233,13 @@ in
samba-smbd = daemonService "smbd" ""; samba-smbd = daemonService "smbd" "";
samba-nmbd = mkIf cfg.enableNmbd (daemonService "nmbd" ""); samba-nmbd = mkIf cfg.enableNmbd (daemonService "nmbd" "");
samba-winbindd = mkIf cfg.enableWinbindd (daemonService "winbindd" ""); samba-winbindd = mkIf cfg.enableWinbindd (daemonService "winbindd" "");
samba-setup = {
description = "Samba Setup Task";
script = setupScript;
unitConfig.RequiresMountsFor = "/var/lib/samba";
};
}; };
tmpfiles.rules = [
"d /var/lock/samba - - - - -"
"d /var/log/samba - - - - -"
"d /var/cache/samba - - - - -"
"d /var/lib/samba/private - - - - -"
];
}; };
security.pam.services.samba = {}; security.pam.services.samba = {};

View File

@ -1,7 +1,16 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let let
cfg = config.services.haproxy; cfg = config.services.haproxy;
haproxyCfg = pkgs.writeText "haproxy.conf" cfg.config;
haproxyCfg = pkgs.writeText "haproxy.conf" ''
global
# needed for hot-reload to work without dropping packets in multi-worker mode
stats socket /run/haproxy/haproxy.sock mode 600 expose-fd listeners level user
${cfg.config}
'';
in in
with lib; with lib;
{ {
@ -25,9 +34,7 @@ with lib;
<filename>haproxy.conf</filename>. <filename>haproxy.conf</filename>.
''; '';
}; };
}; };
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
@ -42,21 +49,16 @@ with lib;
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {
Type = "forking"; DynamicUser = true;
PIDFile = "/run/haproxy.pid"; Type = "notify";
ExecStartPre = "${pkgs.haproxy}/sbin/haproxy -c -q -f ${haproxyCfg}"; # when running the config test, don't be quiet so we can see what goes wrong
ExecStart = "${pkgs.haproxy}/sbin/haproxy -D -f ${haproxyCfg} -p /run/haproxy.pid"; ExecStartPre = "${pkgs.haproxy}/sbin/haproxy -c -f ${haproxyCfg}";
ExecReload = "-${pkgs.bash}/bin/bash -c \"exec ${pkgs.haproxy}/sbin/haproxy -D -f ${haproxyCfg} -p /run/haproxy.pid -sf $MAINPID\""; ExecStart = "${pkgs.haproxy}/sbin/haproxy -Ws -f ${haproxyCfg}";
Restart = "on-failure";
RuntimeDirectory = "haproxy";
# needed in case we bind to port < 1024
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
}; };
}; };
environment.systemPackages = [ pkgs.haproxy ];
users.users.haproxy = {
group = "haproxy";
uid = config.ids.uids.haproxy;
};
users.groups.haproxy.gid = config.ids.uids.haproxy;
}; };
} }

View File

@ -37,6 +37,7 @@ with lib;
systemd.services.tinydns = { systemd.services.tinydns = {
description = "djbdns tinydns server"; description = "djbdns tinydns server";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
path = with pkgs; [ daemontools djbdns ]; path = with pkgs; [ daemontools djbdns ];
preStart = '' preStart = ''
rm -rf /var/lib/tinydns rm -rf /var/lib/tinydns

View File

@ -217,6 +217,12 @@ in
services.xserver.updateDbusEnvironment = true; services.xserver.updateDbusEnvironment = true;
# gnome has a custom alert theme but it still
# inherits from the freedesktop theme.
environment.systemPackages = with pkgs; [
sound-theme-freedesktop
];
# Needed for themes and backgrounds # Needed for themes and backgrounds
environment.pathsToLink = [ environment.pathsToLink = [
"/share" # TODO: https://github.com/NixOS/nixpkgs/issues/47173 "/share" # TODO: https://github.com/NixOS/nixpkgs/issues/47173

View File

@ -25,6 +25,7 @@ let
[Daemon] [Daemon]
ShowDelay=0 ShowDelay=0
Theme=${cfg.theme} Theme=${cfg.theme}
${cfg.extraConfig}
''; '';
in in
@ -65,6 +66,15 @@ in
''; '';
}; };
extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
Literal string to append to <literal>configFile</literal>
and the config file generated by the plymouth module.
'';
};
}; };
}; };

View File

@ -16,6 +16,8 @@ import ./make-test.nix ({ pkgs, ...}: {
frontend http frontend http
bind *:80 bind *:80
mode http mode http
option http-use-htx
http-request use-service prometheus-exporter if { path /metrics }
use_backend http_server use_backend http_server
''; '';
}; };
@ -36,6 +38,6 @@ import ./make-test.nix ({ pkgs, ...}: {
$machine->waitForUnit('haproxy.service'); $machine->waitForUnit('haproxy.service');
$machine->waitForUnit('httpd.service'); $machine->waitForUnit('httpd.service');
$machine->succeed('curl -k http://localhost:80/index.txt | grep "We are all good!"'); $machine->succeed('curl -k http://localhost:80/index.txt | grep "We are all good!"');
$machine->succeed('curl -k http://localhost:80/metrics | grep haproxy_process_pool_allocated_bytes');
''; '';
}) })

View File

@ -1,4 +1,4 @@
import ./make-test.nix ({ pkgs, ...} : { import ./make-test-python.nix ({ pkgs, ...} : {
name = "lightdm"; name = "lightdm";
meta = with pkgs.stdenv.lib.maintainers; { meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ aszlig worldofpeace ]; maintainers = [ aszlig worldofpeace ];
@ -18,12 +18,12 @@ import ./make-test.nix ({ pkgs, ...} : {
testScript = { nodes, ... }: let testScript = { nodes, ... }: let
user = nodes.machine.config.users.users.alice; user = nodes.machine.config.users.users.alice;
in '' in ''
startAll; start_all()
$machine->waitForText(qr/${user.description}/); machine.wait_for_text("${user.description}")
$machine->screenshot("lightdm"); machine.screenshot("lightdm")
$machine->sendChars("${user.password}\n"); machine.send_chars("${user.password}\n")
$machine->waitForFile("/home/alice/.Xauthority"); machine.wait_for_file("${user.home}/.Xauthority")
$machine->succeed("xauth merge ~alice/.Xauthority"); machine.succeed("xauth merge ${user.home}/.Xauthority")
$machine->waitForWindow("^IceWM "); machine.wait_for_window("^IceWM ")
''; '';
}) })

View File

@ -1,4 +1,4 @@
import ./make-test.nix { import ./make-test-python.nix {
name = "opensmtpd"; name = "opensmtpd";
nodes = { nodes = {
@ -102,23 +102,23 @@ import ./make-test.nix {
}; };
testScript = '' testScript = ''
startAll; start_all()
$client->waitForUnit("network-online.target"); client.wait_for_unit("network-online.target")
$smtp1->waitForUnit('opensmtpd'); smtp1.wait_for_unit("opensmtpd")
$smtp2->waitForUnit('opensmtpd'); smtp2.wait_for_unit("opensmtpd")
$smtp2->waitForUnit('dovecot2'); smtp2.wait_for_unit("dovecot2")
# To prevent sporadic failures during daemon startup, make sure # To prevent sporadic failures during daemon startup, make sure
# services are listening on their ports before sending requests # services are listening on their ports before sending requests
$smtp1->waitForOpenPort(25); smtp1.wait_for_open_port(25)
$smtp2->waitForOpenPort(25); smtp2.wait_for_open_port(25)
$smtp2->waitForOpenPort(143); smtp2.wait_for_open_port(143)
$client->succeed('send-a-test-mail'); client.succeed("send-a-test-mail")
$smtp1->waitUntilFails('smtpctl show queue | egrep .'); smtp1.wait_until_fails("smtpctl show queue | egrep .")
$smtp2->waitUntilFails('smtpctl show queue | egrep .'); smtp2.wait_until_fails("smtpctl show queue | egrep .")
$client->succeed('check-mail-landed >&2'); client.succeed("check-mail-landed >&2")
''; '';
meta.timeout = 30; meta.timeout = 30;

View File

@ -1,4 +1,4 @@
import ./make-test.nix ({ pkgs, ... }: import ./make-test-python.nix ({ pkgs, ... }:
{ {
name = "samba"; name = "samba";
@ -36,12 +36,12 @@ import ./make-test.nix ({ pkgs, ... }:
testScript = testScript =
'' ''
$server->start; server.start()
$server->waitForUnit("samba.target"); server.wait_for_unit("samba.target")
$server->succeed("mkdir -p /public; echo bar > /public/foo"); server.succeed("mkdir -p /public; echo bar > /public/foo")
$client->start; client.start()
$client->waitForUnit("remote-fs.target"); client.wait_for_unit("remote-fs.target")
$client->succeed("[[ \$(cat /public/foo) = bar ]]"); client.succeed("[[ $(cat /public/foo) = bar ]]")
''; '';
}) })

View File

@ -3,7 +3,7 @@
pkgs ? import ../.. { inherit system config; } pkgs ? import ../.. { inherit system config; }
}: }:
with import ../lib/testing.nix { inherit system pkgs; }; with import ../lib/testing-python.nix { inherit system pkgs; };
let let
inherit (pkgs) lib; inherit (pkgs) lib;
@ -26,13 +26,13 @@ let
testScript = { nodes, ... }: let testScript = { nodes, ... }: let
user = nodes.machine.config.users.users.alice; user = nodes.machine.config.users.users.alice;
in '' in ''
startAll; start_all()
$machine->waitForText(qr/select your user/i); machine.wait_for_text("select your user")
$machine->screenshot("sddm"); machine.screenshot("sddm")
$machine->sendChars("${user.password}\n"); machine.send_chars("${user.password}\n")
$machine->waitForFile("/home/alice/.Xauthority"); machine.wait_for_file("${user.home}/.Xauthority")
$machine->succeed("xauth merge ~alice/.Xauthority"); machine.succeed("xauth merge ${user.home}/.Xauthority")
$machine->waitForWindow("^IceWM "); machine.wait_for_window("^IceWM ")
''; '';
}; };
@ -57,11 +57,13 @@ let
services.xserver.desktopManager.default = "none"; services.xserver.desktopManager.default = "none";
}; };
testScript = { ... }: '' testScript = { nodes, ... }: let
startAll; user = nodes.machine.config.users.users.alice;
$machine->waitForFile("/home/alice/.Xauthority"); in ''
$machine->succeed("xauth merge ~alice/.Xauthority"); start_all()
$machine->waitForWindow("^IceWM "); machine.wait_for_file("${user.home}/.Xauthority")
machine.succeed("xauth merge ${user.home}/.Xauthority")
machine.wait_for_window("^IceWM ")
''; '';
}; };
}; };

View File

@ -1,4 +1,4 @@
import ./make-test.nix ({ lib, ...} : { import ./make-test-python.nix ({ lib, ...} : {
name = "tinydns"; name = "tinydns";
meta = { meta = {
maintainers = with lib.maintainers; [ basvandijk ]; maintainers = with lib.maintainers; [ basvandijk ];
@ -19,8 +19,8 @@ import ./make-test.nix ({ lib, ...} : {
}; };
}; };
testScript = '' testScript = ''
$nameserver->start; nameserver.start()
$nameserver->waitForUnit("tinydns.service"); nameserver.wait_for_unit("tinydns.service")
$nameserver->succeed("host bla.foo.bar | grep '1\.2\.3\.4'"); nameserver.succeed("host bla.foo.bar | grep '1\.2\.3\.4'")
''; '';
}) })

View File

@ -1,4 +1,6 @@
{ stdenv { stdenv
, mkDerivation
, lib
, fetchzip , fetchzip
, pkgconfig , pkgconfig
, qtbase , qtbase
@ -6,7 +8,7 @@
, python3Packages , python3Packages
}: }:
stdenv.mkDerivation rec { mkDerivation rec {
version = "0.9.0"; version = "0.9.0";
pname = "cadence"; pname = "cadence";
@ -15,65 +17,56 @@
sha256 = "08vcggypkdfr70v49innahs5s11hi222dhhnm5wcqzdgksphqzwx"; sha256 = "08vcggypkdfr70v49innahs5s11hi222dhhnm5wcqzdgksphqzwx";
}; };
nativeBuildInputs = [ makeWrapper pkgconfig ]; nativeBuildInputs = [
buildInputs = [ qtbase ]; pkgconfig
];
makeFlags = '' buildInputs = [
PREFIX="" qtbase
DESTDIR=$(out) ];
'';
propagatedBuildInputs = with python3Packages; [ pyqt5_with_qtwebkit ]; makeFlags = [
"PREFIX=''"
"DESTDIR=${placeholder "out"}"
];
postInstall = '' propagatedBuildInputs = with python3Packages; [
# replace with our own wrappers. They need to be changed manually since it wouldn't work otherwise pyqt5_with_qtwebkit
rm $out/bin/cadence ];
makeWrapper ${python3Packages.python.interpreter} $out/bin/cadence \
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \ dontWrapQtApps = true;
--add-flags "-O $out/share/cadence/src/cadence.py"
rm $out/bin/claudia # Replace with our own wrappers. They need to be changed manually since it wouldn't work otherwise.
makeWrapper ${python3Packages.python.interpreter} $out/bin/claudia \ preFixup = let
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \ outRef = placeholder "out";
--add-flags "-O $out/share/cadence/src/claudia.py" prefix = "${outRef}/share/cadence/src";
rm $out/bin/catarina scriptAndSource = lib.mapAttrs' (script: source:
makeWrapper ${python3Packages.python.interpreter} $out/bin/catarina \ lib.nameValuePair ("${outRef}/bin/" + script) ("${prefix}/" + source)
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \ ) {
--add-flags "-O $out/share/cadence/src/catarina.py" "cadence" = "cadence.py";
rm $out/bin/catia "claudia" = "claudia.py";
makeWrapper ${python3Packages.python.interpreter} $out/bin/catia \ "catarina" = "catarina.py";
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \ "catia" = "catia.py";
--add-flags "-O $out/share/cadence/src/catia.py" "cadence-jacksettings" = "jacksettings.py";
rm $out/bin/cadence-jacksettings "cadence-aloop-daemon" = "cadence_aloop_daemon.py";
makeWrapper ${python3Packages.python.interpreter} $out/bin/cadence-jacksettings \ "cadence-logs" = "logs.py";
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \ "cadence-render" = "render.py";
--add-flags "-O $out/share/cadence/src/jacksettings.py" "claudia-launcher" = "claudia_launcher.py";
rm $out/bin/cadence-aloop-daemon "cadence-session-start" = "cadence_session_start.py";
makeWrapper ${python3Packages.python.interpreter} $out/bin/cadence-aloop-daemon \ };
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \ in lib.mapAttrsToList (script: source: ''
--add-flags "-O $out/share/cadence/src/cadence_aloop_daemon.py" rm -f ${script}
rm $out/bin/cadence-logs makeWrapper ${python3Packages.python.interpreter} ${script} \
makeWrapper ${python3Packages.python.interpreter} $out/bin/cadence-logs \ --set PYTHONPATH "$PYTHONPATH:${outRef}/share/cadence" \
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \ ''${qtWrapperArgs[@]} \
--add-flags "-O $out/share/cadence/src/logs.py" --add-flags "-O ${source}"
rm $out/bin/cadence-render '') scriptAndSource;
makeWrapper ${python3Packages.python.interpreter} $out/bin/cadence-render \
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \
--add-flags "-O $out/share/cadence/src/render.py"
rm $out/bin/claudia-launcher
makeWrapper ${python3Packages.python.interpreter} $out/bin/claudia-launcher \
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \
--add-flags "-O $out/share/cadence/src/claudia_launcher.py"
rm $out/bin/cadence-session-start
makeWrapper ${python3Packages.python.interpreter} $out/bin/cadence-session-start \
--set PYTHONPATH "$PYTHONPATH:$out/share/cadence" \
--add-flags "-O $out/share/cadence/src/cadence_session_start.py"
'';
meta = { meta = {
homepage = https://github.com/falkTX/Cadence/; homepage = https://github.com/falkTX/Cadence/;
description = "Collection of tools useful for audio production"; description = "Collection of tools useful for audio production";
license = stdenv.lib.licenses.gpl2Plus; license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ genesis ]; maintainers = with stdenv.lib.maintainers; [ genesis worldofpeace ];
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
}; };
} }

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation {
buildPhase = '' buildPhase = ''
cd lv2 cd lv2
substituteInPlace GNUmakefile --replace "/usr/lib/lv2" "$out/lib/lv2" substituteInPlace GNUmakefile --replace "/usr/lib/lv2" "$out/lib/lv2"
make make SIMD=0
''; '';
preInstall = "mkdir -p $out/lib/lv2"; preInstall = "mkdir -p $out/lib/lv2";

View File

@ -2,11 +2,11 @@
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Iris"; pname = "Mopidy-Iris";
version = "3.41.1"; version = "3.42.2";
src = pythonPackages.fetchPypi { src = pythonPackages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1bdcxsvb756rchyp9cj1y5x1w0w6p2hp7grgar5c4cyh3kshc2kj"; sha256 = "1v1dy857kxxn1si0x7p3qz63l1af5pln1jji1f7fis6id8iy7wfm";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -1,27 +1,27 @@
{ mkDerivation, lib, makeDesktopItem, fetchFromGitHub { stdenv, wrapQtAppsHook, makeDesktopItem, fetchFromGitHub
, qtbase, qmake, qtmultimedia, qttools , qtbase, qmake, qtmultimedia, qttools
, qtgraphicaleffects, qtdeclarative , qtgraphicaleffects, qtdeclarative
, qtlocation, qtquickcontrols, qtquickcontrols2 , qtlocation, qtquickcontrols, qtquickcontrols2
, qtwebchannel, qtwebengine, qtx11extras, qtxmlpatterns , qtwebchannel, qtwebengine, qtx11extras, qtxmlpatterns
, monero, unbound, readline, boost, libunwind , monero, unbound, readline, boost, libunwind
, libsodium, pcsclite, zeromq, cppzmq, pkgconfig , libsodium, pcsclite, zeromq, cppzmq, pkgconfig
, hidapi , hidapi, randomx
}: }:
with lib; with stdenv.lib;
mkDerivation rec { stdenv.mkDerivation rec {
pname = "monero-gui"; pname = "monero-gui";
version = "0.14.1.2"; version = "0.15.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "monero-project"; owner = "monero-project";
repo = "monero-gui"; repo = "monero-gui";
rev = "v${version}"; rev = "v${version}";
sha256 = "1rm043r6y2mzy8pclnzbjjfxgps8pkfa2b92p66k8y8rdmgq6m1k"; sha256 = "1shpnly2dym5jhvk8zk10p69mz062dihx979djg74q6hgkhhhqsh";
}; };
nativeBuildInputs = [ qmake pkgconfig ]; nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ];
buildInputs = [ buildInputs = [
qtbase qtmultimedia qtgraphicaleffects qtbase qtmultimedia qtgraphicaleffects
@ -30,7 +30,7 @@ mkDerivation rec {
qtwebchannel qtwebengine qtx11extras qtwebchannel qtwebengine qtx11extras
qtxmlpatterns monero unbound readline qtxmlpatterns monero unbound readline
boost libunwind libsodium pcsclite zeromq boost libunwind libsodium pcsclite zeromq
cppzmq hidapi cppzmq hidapi randomx
]; ];
patches = [ ./move-log-file.patch ]; patches = [ ./move-log-file.patch ];

View File

@ -1,43 +1,41 @@
{ stdenv, fetchgit { stdenv, fetchFromGitHub
, cmake, pkgconfig, git , cmake, pkgconfig
, boost, miniupnpc, openssl, unbound, cppzmq , boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline, libsodium, hidapi , zeromq, pcsclite, readline, libsodium, hidapi
, python3Packages , python3Packages, randomx, rapidjson
, CoreData, IOKit, PCSC , CoreData, IOKit, PCSC
}: }:
assert stdenv.isDarwin -> IOKit != null; assert stdenv.isDarwin -> IOKit != null;
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "monero"; pname = "monero";
version = "0.14.1.0"; version = "0.15.0.0";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/monero-project/monero.git"; owner = "monero-project";
rev = "v${version}"; repo = "monero";
sha256 = "1asa197fad81jfv12qgaa7y7pdr1r1pda96m9pvivkh4v30cx0nh"; rev = "v${version}";
sha256 = "19y4kcj4agws7swfa3draysb1y18c3xb13r8cg0faxx1dlm0zbnr";
fetchSubmodules = true;
}; };
nativeBuildInputs = [ cmake pkgconfig git ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ buildInputs = [
boost miniupnpc openssl unbound boost miniupnpc openssl unbound
cppzmq zeromq pcsclite readline cppzmq zeromq pcsclite readline
libsodium hidapi libsodium hidapi randomx rapidjson
python3Packages.protobuf python3Packages.protobuf
] ++ optionals stdenv.isDarwin [ IOKit CoreData PCSC ]; ] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit CoreData PCSC ];
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_BUILD_TYPE=Release"
"-DBUILD_GUI_DEPS=ON" "-DBUILD_GUI_DEPS=ON"
"-DReadline_ROOT_DIR=${readline.dev}" "-DReadline_ROOT_DIR=${readline.dev}"
] ++ optional stdenv.isDarwin "-DBoost_USE_MULTITHREADED=OFF"; ] ++ stdenv.lib.optional stdenv.isDarwin "-DBoost_USE_MULTITHREADED=OFF";
hardeningDisable = [ "fortify" ]; meta = with stdenv.lib; {
meta = {
description = "Private, secure, untraceable currency"; description = "Private, secure, untraceable currency";
homepage = https://getmonero.org/; homepage = https://getmonero.org/;
license = licenses.bsd3; license = licenses.bsd3;

View File

@ -0,0 +1,21 @@
{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonApplication rec {
pname = "epr";
version = "2.3.0b";
src = fetchFromGitHub {
owner = "wustho";
repo = pname;
rev = "v${version}";
sha256 = "1a6md3015284hzmx0sby5kl59p7lwv73sq7sid35vrr15zrl0aw7";
};
meta = with lib; {
description = "CLI Epub Reader";
homepage = "https://github.com/wustho/epr";
license = licenses.mit;
maintainers = [ maintainers.filalex77 ];
platforms = platforms.all;
};
}

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "kanboard"; pname = "kanboard";
version = "1.2.10"; version = "1.2.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kanboard"; owner = "kanboard";
repo = "kanboard"; repo = "kanboard";
rev = "v${version}"; rev = "v${version}";
sha256 = "0k45vfiacvwmrglpqwjq22pvdg4n0mf75x0r8nb79bmxp8sk0j0c"; sha256 = "0if5nh4m4y3xlvlv86jph7ix5nvpgc1zjkp4cq5iig6z0041bw98";
}; };
dontBuild = true; dontBuild = true;

View File

@ -26,6 +26,8 @@
, withKeePassKeeShareSecure ? true , withKeePassKeeShareSecure ? true
, withKeePassSSHAgent ? true , withKeePassSSHAgent ? true
, withKeePassNetworking ? false , withKeePassNetworking ? false
, withKeePassTouchID ? true
, withKeePassFDOSecrets ? true
}: }:
with stdenv.lib; with stdenv.lib;
@ -69,6 +71,8 @@ stdenv.mkDerivation rec {
++ (optional withKeePassKeeShare "-DWITH_XC_KEESHARE=ON") ++ (optional withKeePassKeeShare "-DWITH_XC_KEESHARE=ON")
++ (optional withKeePassKeeShareSecure "-DWITH_XC_KEESHARE_SECURE=ON") ++ (optional withKeePassKeeShareSecure "-DWITH_XC_KEESHARE_SECURE=ON")
++ (optional withKeePassNetworking "-DWITH_XC_NETWORKING=ON") ++ (optional withKeePassNetworking "-DWITH_XC_NETWORKING=ON")
++ (optional (withKeePassTouchID && stdenv.isDarwin) "-DWITH_XC_TOUCHID=ON")
++ (optional (withKeePassFDOSecrets && stdenv.isLinux) "-DWITH_XC_FDOSECRETS=ON")
++ (optional withKeePassSSHAgent "-DWITH_XC_SSHAGENT=ON"); ++ (optional withKeePassSSHAgent "-DWITH_XC_SSHAGENT=ON");
doCheck = true; doCheck = true;

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "verbiste"; pname = "verbiste";
version = "0.1.46"; version = "0.1.47";
src = fetchurl { src = fetchurl {
url = "https://perso.b2b2c.ca/~sarrazip/dev/${pname}-${version}.tar.gz"; url = "https://perso.b2b2c.ca/~sarrazip/dev/${pname}-${version}.tar.gz";
sha256 = "13l8b8mbkdds955sn42hzrjzj48lg1drpd7vhpcjxadckbvlh1p0"; sha256 = "02kzin3pky2q2jnihrch8y0hy043kqqmzxq8j741x80kl0j1qxkm";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];

View File

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "wego"; pname = "wego";
version = "20170403-${stdenv.lib.strings.substring 0 7 rev}"; version = "unstable-2017-04-03";
rev = "415efdfab5d5ee68300bf261a0c6f630c6c2584c"; rev = "415efdfab5d5ee68300bf261a0c6f630c6c2584c";
goPackagePath = "github.com/schachmat/wego"; goPackagePath = "github.com/schachmat/wego";

View File

@ -82,11 +82,11 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "brave"; pname = "brave";
version = "0.69.128"; version = "0.69.135";
src = fetchurl { src = fetchurl {
url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb"; url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
sha256 = "1w5p2hbn14k239fbqrbxkw9h3p8wm7cdyjcyvrsss57fj00j8s4r"; sha256 = "1ahxciiilpaz2zdmi25lpw0x2mgwvd8acjn7h11i2ciqw0xbl3iy";
}; };
dontConfigure = true; dontConfigure = true;

View File

@ -93,19 +93,19 @@ let
fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ]; fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ];
# Upstream source # Upstream source
version = "9.0"; version = "9.0.1";
lang = "en-US"; lang = "en-US";
srcs = { srcs = {
x86_64-linux = fetchurl { x86_64-linux = fetchurl {
url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"; url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz";
sha256 = "0aajbk65lpcazn8mdk7ngaqp0sykql8zjlkhznphxxw9v59mq3b7"; sha256 = "09iasj13wn3d1dygpxn4www4rx8wnxxlm9h6df9lzf4wll15px55";
}; };
i686-linux = fetchurl { i686-linux = fetchurl {
url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"; url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz";
sha256 = "08ahs9985ndcq1ywz06q4znai6a3ivibjk473kymzl6k40q1c9y2"; sha256 = "1vz3pvqi114c9lkyhqy754ngi90708c187xwiyr9786ff89sjw5i";
}; };
}; };
in in
@ -397,7 +397,7 @@ stdenv.mkDerivation rec {
longDescription = tor-browser-bundle.meta.longDescription; longDescription = tor-browser-bundle.meta.longDescription;
homepage = "https://www.torproject.org/"; homepage = "https://www.torproject.org/";
platforms = attrNames srcs; platforms = attrNames srcs;
maintainers = with maintainers; [ offline matejc doublec thoughtpolice joachifm ]; maintainers = with maintainers; [ offline matejc doublec thoughtpolice joachifm hax404 ];
hydraPlatforms = []; hydraPlatforms = [];
# MPL2.0+, GPL+, &c. While it's not entirely clear whether # MPL2.0+, GPL+, &c. While it's not entirely clear whether
# the compound is "libre" in a strict sense (some components place certain # the compound is "libre" in a strict sense (some components place certain

View File

@ -17,11 +17,11 @@ let
vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi"; vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "vivaldi"; pname = "vivaldi";
version = "2.9.1705.38-1"; version = "2.9.1705.41-1";
src = fetchurl { src = fetchurl {
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}_amd64.deb"; url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}_amd64.deb";
sha256 = "0jj2kfdl4788l132ncz3jf1pnjig7dc9gaxjmgv51n1ahmmx8shi"; sha256 = "0c6cvhh05scmgpjy7f5wps62arhf5nsdnw9dllzqxpbsii1p6rv5";
}; };
unpackPhase = '' unpackPhase = ''

View File

@ -0,0 +1,79 @@
{ stdenv
, fetchFromGitLab
, meson
, ninja
, pkgconfig
, libhandy
, modemmanager
, gtk3
, gom
, gsound
, evolution-data-server
, desktop-file-utils
, libpeas
, dbus
, xorg
, xvfb_run
, libxml2
}:
stdenv.mkDerivation rec {
pname = "calls-unstable";
version = "2019-10-09";
src = fetchFromGitLab {
domain = "source.puri.sm";
owner = "Librem5";
repo = pname;
rev = "4b4cfa04266ebbe2f3da5abd9624ea07aa159fea";
sha256 = "0qvnddjpkh6gsywzdi24lmjlbwi0q54m1xa6hiaf1ch1j7kcv8fr";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
desktop-file-utils
];
buildInputs = [
modemmanager
libhandy
evolution-data-server
gom
gsound
gtk3
libhandy
libpeas
libxml2
];
checkInputs = [
dbus
xvfb_run
xorg.xauth
];
mesonFlags = [
"-Dgtk_doc=false"
];
doCheck = true;
checkPhase = ''
runHook preCheck
NO_AT_BRIDGE=1 \
xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
--config-file=${dbus.daemon}/share/dbus-1/session.conf \
meson test --print-errorlogs
runHook postCheck
'';
meta = with stdenv.lib; {
description = "A phone dialer and call handler";
homepage = https://source.puri.sm/Librem5/calls;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ craigem lheckemann ];
platforms = platforms.linux;
};
}

View File

@ -4,27 +4,31 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-acme"; repo = "terraform-provider-acme";
version = "1.3.5"; rev = "v1.5.0";
sha256 = "0xjxxz3vxq7vk7sv6b5p57z5x92dmrm44v6ksffcg76ngc40nrxk"; version = "1.5.0";
sha256 = "1h53bgflchavnn4laf801d920bsgqqg0ph4slnf7y1fpb0mz5vdv";
}; };
alicloud = alicloud =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-alicloud"; repo = "terraform-provider-alicloud";
version = "1.54.0"; rev = "v1.60.0";
sha256 = "01pmhwdnhfsk785ja11hxn5l5fmklnkiv12kv2pw2280cdljfcv4"; version = "1.60.0";
sha256 = "14k96ccjrjiqfrdrj9kd090ms1p15z71qv60gm05bhffviyplmgw";
}; };
archive = archive =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-archive"; repo = "terraform-provider-archive";
version = "1.2.2"; rev = "v1.3.0";
sha256 = "1saprj2r74b63z03n80m3mfj3vhgvlm4gp2hzqzjbdgibxsz4jaw"; version = "1.3.0";
sha256 = "1hwg8ai4bvsmgnl669608lr4v940xnyig1xshps490f47c8hqy6y";
}; };
arukas = arukas =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-arukas"; repo = "terraform-provider-arukas";
rev = "v1.1.0";
version = "1.1.0"; version = "1.1.0";
sha256 = "1akl9fzgm5qv01vz18xjzyqjnlxw699qq4x8vr96j16l1zf10h99"; sha256 = "1akl9fzgm5qv01vz18xjzyqjnlxw699qq4x8vr96j16l1zf10h99";
}; };
@ -32,6 +36,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-atlas"; repo = "terraform-provider-atlas";
rev = "v0.1.1";
version = "0.1.1"; version = "0.1.1";
sha256 = "0k73vv14vnjl5qm33w54s5zzi0mmk1kn2zs3qkfq71aqi9ml7d14"; sha256 = "0k73vv14vnjl5qm33w54s5zzi0mmk1kn2zs3qkfq71aqi9ml7d14";
}; };
@ -39,41 +44,47 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-aws"; repo = "terraform-provider-aws";
version = "2.23.0"; rev = "v2.34.0";
sha256 = "0yscy0qmdl07air0b16i6zd0w8y3z20pk5l53pwm78ssdxn3w6qc"; version = "2.34.0";
sha256 = "1kmy6hn1d3padfnix17ibmrm1339q4li0740dlfgjlxjv179bv34";
}; };
azuread = azuread =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-azuread"; repo = "terraform-provider-azuread";
version = "0.5.1"; rev = "v0.6.0";
sha256 = "0bjy6wdfzsxchqclgp7c06b49b5h60nips69hcpwd45564iql5fh"; version = "0.6.0";
sha256 = "1s3k2plka1lzfij4vhr30vc549zysa6v8j5mphra7fjxy236v40j";
}; };
azurerm = azurerm =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-azurerm"; repo = "terraform-provider-azurerm";
version = "1.32.1"; rev = "v1.36.1";
sha256 = "0ydzibmvz52i62pk0g96rl7vxhff5izrsgdwk6lgc56nw63w2l8g"; version = "1.36.1";
sha256 = "1mnbmbfsnc859j6ahcph80z0v1jl82dnbjqmqg2q0kiappz2g2lm";
}; };
azurestack = azurestack =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-azurestack"; repo = "terraform-provider-azurestack";
version = "0.8.1"; rev = "v0.9.0";
sha256 = "1sbmjrqzzn8rf9xhaax2ykyg199sggx80apx0xvd4ab82c3ldyfw"; version = "0.9.0";
sha256 = "1msm7jwzry0vmas3l68h6p0migrsm6d18zpxcncv197m8xbvg324";
}; };
bigip = bigip =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-bigip"; repo = "terraform-provider-bigip";
version = "0.12.3"; rev = "v1.0.0";
sha256 = "1zlwk7jp5r45b3rwkxsq9mqf4nym3ifx56vhcvyc9a3w25s0ss8p"; version = "1.0.0";
sha256 = "0dz5dfv3glx7898a9bi9vi3g0ghyi96pc45brrj41and5835jvdc";
}; };
bitbucket = bitbucket =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-bitbucket"; repo = "terraform-provider-bitbucket";
rev = "v1.1.0";
version = "1.1.0"; version = "1.1.0";
sha256 = "06bjagbgpgfphwym015wl00wx6qf7lsdig0fhpxqaykvlkn3sg49"; sha256 = "06bjagbgpgfphwym015wl00wx6qf7lsdig0fhpxqaykvlkn3sg49";
}; };
@ -81,6 +92,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-brightbox"; repo = "terraform-provider-brightbox";
rev = "v1.2.0";
version = "1.2.0"; version = "1.2.0";
sha256 = "0s1b2k58r2kmjrdqrkw2dlfpby79i81gml9rpa10y372bwq314zd"; sha256 = "0s1b2k58r2kmjrdqrkw2dlfpby79i81gml9rpa10y372bwq314zd";
}; };
@ -88,6 +100,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-chef"; repo = "terraform-provider-chef";
rev = "v0.2.0";
version = "0.2.0"; version = "0.2.0";
sha256 = "0ihn4706fflmf0585w22l7arzxsa9biq4cgh8nlhlp5y0zy934ns"; sha256 = "0ihn4706fflmf0585w22l7arzxsa9biq4cgh8nlhlp5y0zy934ns";
}; };
@ -95,6 +108,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-circonus"; repo = "terraform-provider-circonus";
rev = "v0.2.0";
version = "0.2.0"; version = "0.2.0";
sha256 = "1vcia3p31cgdwjs06k4244bk7ib2qp1f2lhc7hmyhdfi1c8jym45"; sha256 = "1vcia3p31cgdwjs06k4244bk7ib2qp1f2lhc7hmyhdfi1c8jym45";
}; };
@ -102,6 +116,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-clc"; repo = "terraform-provider-clc";
rev = "v0.1.0";
version = "0.1.0"; version = "0.1.0";
sha256 = "0gvsjnwk6xkgxai1gxsjf0hsjxbv8d8jg5hq8yd3hjhc6785fgnf"; sha256 = "0gvsjnwk6xkgxai1gxsjf0hsjxbv8d8jg5hq8yd3hjhc6785fgnf";
}; };
@ -109,13 +124,15 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-cloudflare"; repo = "terraform-provider-cloudflare";
version = "1.17.1"; rev = "v2.0.1";
sha256 = "0kmkk5fhgsvjakqrfs7p92dcljn04asxq15af1r9n5csq54q7na3"; version = "2.0.1";
sha256 = "18cxyxgv6x5s1xsd5l460hnl1xdvrvkwb36lhvk3dgziaw2xxr81";
}; };
cloudscale = cloudscale =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-cloudscale"; repo = "terraform-provider-cloudscale";
rev = "v2.0.0";
version = "2.0.0"; version = "2.0.0";
sha256 = "145hj4pbi5zrkgamicy3m1n3380fpd2ndd6ym7mwd65d95g39vwb"; sha256 = "145hj4pbi5zrkgamicy3m1n3380fpd2ndd6ym7mwd65d95g39vwb";
}; };
@ -123,6 +140,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-cloudstack"; repo = "terraform-provider-cloudstack";
rev = "v0.3.0";
version = "0.3.0"; version = "0.3.0";
sha256 = "0zmyww6z3j839ydlmv254hr8gcsixng4lcvmiwkhxb3hj1nw8hcw"; sha256 = "0zmyww6z3j839ydlmv254hr8gcsixng4lcvmiwkhxb3hj1nw8hcw";
}; };
@ -130,6 +148,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-cobbler"; repo = "terraform-provider-cobbler";
rev = "v1.1.0";
version = "1.1.0"; version = "1.1.0";
sha256 = "08ljqibfi6alpvv8f7pzvjl2k4w6br6g6ac755x4xw4ycrr24xw9"; sha256 = "08ljqibfi6alpvv8f7pzvjl2k4w6br6g6ac755x4xw4ycrr24xw9";
}; };
@ -137,27 +156,31 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-consul"; repo = "terraform-provider-consul";
version = "2.5.0"; rev = "v2.6.0";
sha256 = "1nmldxn4y87fyb308dajjzcyvxrr6ka5nicyw84a8s7pixzbqh6q"; version = "2.6.0";
sha256 = "1c7qpgf2vh4crs69alzwwaicsz29b2y72x4xjmfb9dg5cy7gk1i5";
}; };
datadog = datadog =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-datadog"; repo = "terraform-provider-datadog";
version = "2.1.0"; rev = "v2.5.0";
sha256 = "0k7apad2r07gw9kf0zzqc8wa2wcmxihi3x8sdssl32qjib20qwv1"; version = "2.5.0";
sha256 = "0l5jix165ghfj72l3mr76d5b5lx5pgr45zimk8lr0fwn79f4bs74";
}; };
digitalocean = digitalocean =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-digitalocean"; repo = "terraform-provider-digitalocean";
version = "1.6.0"; rev = "v1.10.0";
sha256 = "06cxm3qcym8jwp4nl1bzk3p9fbaz26bvddqzn3p8l57c802qqds6"; version = "1.10.0";
sha256 = "1c53g32mk41lvq4ikfj04m89nhzrdk8d6h35aq3z07yyqp6ap2a0";
}; };
dme = dme =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-dme"; repo = "terraform-provider-dme";
rev = "v0.1.0";
version = "0.1.0"; version = "0.1.0";
sha256 = "1ipqw1sbx0i9rhxawsysrqxvf10z8ra2y86xwd4iz0f12x9drblv"; sha256 = "1ipqw1sbx0i9rhxawsysrqxvf10z8ra2y86xwd4iz0f12x9drblv";
}; };
@ -165,6 +188,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-dns"; repo = "terraform-provider-dns";
rev = "v2.2.0";
version = "2.2.0"; version = "2.2.0";
sha256 = "11xdxj6hfclaq9glbh14nihmrsk220crm9ld8bdv77w0bppmrrch"; sha256 = "11xdxj6hfclaq9glbh14nihmrsk220crm9ld8bdv77w0bppmrrch";
}; };
@ -172,6 +196,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-dnsimple"; repo = "terraform-provider-dnsimple";
rev = "v0.2.0";
version = "0.2.0"; version = "0.2.0";
sha256 = "0jj82fffqaz7gramj5d4avx7vka6w190yz4r9q7628qh8ih2pfhz"; sha256 = "0jj82fffqaz7gramj5d4avx7vka6w190yz4r9q7628qh8ih2pfhz";
}; };
@ -179,13 +204,15 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-docker"; repo = "terraform-provider-docker";
version = "2.1.1"; rev = "v2.5.0";
sha256 = "0px3xj76ay5ixpmynas49z31xmk4zmpn0917y6a20kr2x2abi9zb"; version = "2.5.0";
sha256 = "1nril7qy1nm1dq19vg6mm0zc0sgkjrm1s39n7p9gxf4s4j78ig1n";
}; };
dyn = dyn =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-dyn"; repo = "terraform-provider-dyn";
rev = "v1.2.0";
version = "1.2.0"; version = "1.2.0";
sha256 = "1a3kxmbib2y0nl7gnxknbhsflj5kfknxnm3gjxxrb2h5d2kvqy48"; sha256 = "1a3kxmbib2y0nl7gnxknbhsflj5kfknxnm3gjxxrb2h5d2kvqy48";
}; };
@ -193,6 +220,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-external"; repo = "terraform-provider-external";
rev = "v1.2.0";
version = "1.2.0"; version = "1.2.0";
sha256 = "1kx28bffhd1pg3m0cbldclc8l9zic16mqrk7gybcls9vyds5gbvc"; sha256 = "1kx28bffhd1pg3m0cbldclc8l9zic16mqrk7gybcls9vyds5gbvc";
}; };
@ -200,48 +228,55 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-fastly"; repo = "terraform-provider-fastly";
version = "0.9.0"; rev = "v0.11.0";
sha256 = "0g3rgi6s9hyb6vzl682n8zqz5virdxvxh04v88n9iy5r7hwrxxzg"; version = "0.11.0";
sha256 = "0wq8l1lkfpv5nfd04dsjaa9wv09373i6wwnapifx1wncjyhs4jd4";
}; };
flexibleengine = flexibleengine =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-flexibleengine"; repo = "terraform-provider-flexibleengine";
version = "1.6.0"; rev = "v1.9.0";
sha256 = "0vz68nhpy93zsdssxzr41flrwhjqh7wcjrc4nklg6kmr99n6jcc6"; version = "1.9.0";
sha256 = "1y66xy5yqdjdrh3zkw1q7ml5b2rsyy4ayc4m026c4mmh0x1vfk9y";
}; };
github = github =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-github"; repo = "terraform-provider-github";
version = "2.2.0"; rev = "v2.2.1";
sha256 = "1h44v7428z3v3hv6ywi3n0yhnvgx9cr6vgqb1n2w1qf7k2f0jkzx"; version = "2.2.1";
sha256 = "1dg5jgd3cdz98wfd71l58wsp949mvs2lrcqh1amgql0s90pwjmvg";
}; };
gitlab = gitlab =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-gitlab"; repo = "terraform-provider-gitlab";
version = "2.2.0"; rev = "v2.3.0";
sha256 = "0iz5ggjkcip86cz2zmsryad34hly542grwzlm5rvpcmfw5csjadw"; version = "2.3.0";
sha256 = "012pbgfdmwyq8y8ddrhyf14jc6s7v24f1w3mrpi6mp4glqc5yfqx";
}; };
google = google =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-google"; repo = "terraform-provider-google";
version = "2.12.0"; rev = "v2.19.0";
sha256 = "15fdpmdikm77hlfksdbcblysb82sd51vw4ninx60hzgddqp6ll4m"; version = "2.19.0";
sha256 = "00pqkysic3x8iygcxb232dwbpmy5ldf7fdfi6ldiv3g6gbvlcaf7";
}; };
google-beta = google-beta =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-google-beta"; repo = "terraform-provider-google-beta";
version = "2.12.0"; rev = "v2.19.0";
sha256 = "11aky7jvm7i39pnj3ypy42d9yk9akqb3wjb03hyllzfddwhvay5q"; version = "2.19.0";
sha256 = "03im9h7r2vyx4y9qnc3l0hsvcqy7rai5dlkmj1za3npm98vpx2d7";
}; };
grafana = grafana =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-grafana"; repo = "terraform-provider-grafana";
rev = "v1.5.0";
version = "1.5.0"; version = "1.5.0";
sha256 = "0zy3bqgpxymp2zygaxzllk1ysdankwxa1sy1djfgr4fs2nlggkwi"; sha256 = "0zy3bqgpxymp2zygaxzllk1ysdankwxa1sy1djfgr4fs2nlggkwi";
}; };
@ -249,13 +284,15 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-hcloud"; repo = "terraform-provider-hcloud";
version = "1.12.0"; rev = "v1.14.0";
sha256 = "1r61s7chq636fcjv67g0vjlc35xx0ycy58hg6b5i5rdc9737v7hp"; version = "1.14.0";
sha256 = "13zxrjx4im25g7m45z95d3py85nzs2k8r9grilxshr6x95bxk2f0";
}; };
hedvig = hedvig =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-hedvig"; repo = "terraform-provider-hedvig";
rev = "v1.0.4";
version = "1.0.4"; version = "1.0.4";
sha256 = "0y6brzznxp8khdfbnpmnbjqf140411z0pvnp88p8mj2kmbk7kkjd"; sha256 = "0y6brzznxp8khdfbnpmnbjqf140411z0pvnp88p8mj2kmbk7kkjd";
}; };
@ -263,20 +300,23 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-helm"; repo = "terraform-provider-helm";
version = "0.10.2"; rev = "v0.10.4";
sha256 = "1xp8dx6ncskmfa9bjd54434f4a7pnjz5r3yvnh1hmv3i5ykfxzdn"; version = "0.10.4";
sha256 = "0xl0wgh1j6yhymadqvlj21qddxfzaxk3d5wpzskfmhfk732795rc";
}; };
heroku = heroku =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-heroku"; repo = "terraform-provider-heroku";
version = "2.1.2"; rev = "v2.2.1";
sha256 = "0n8id5rw4hzsiic9yv4rzm709npagv9sfp6dd1ax6np5kai78b87"; version = "2.2.1";
sha256 = "145kfm4asca0ksprb076mjdhs5ahrlrad8cqz8spxra5fa3j46sq";
}; };
http = http =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-http"; repo = "terraform-provider-http";
rev = "v1.1.1";
version = "1.1.1"; version = "1.1.1";
sha256 = "0ah4wi9gm5m7z0wyy6vn3baz2iw2sq7ah7q0lb9srwr887aai3x0"; sha256 = "0ah4wi9gm5m7z0wyy6vn3baz2iw2sq7ah7q0lb9srwr887aai3x0";
}; };
@ -284,13 +324,15 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-huaweicloud"; repo = "terraform-provider-huaweicloud";
version = "1.7.0"; rev = "v1.9.0";
sha256 = "1yhyyh33hvzs74pryb383p1w0c0d4vn23pnm6snxi1cw49wgiiyf"; version = "1.9.0";
sha256 = "06blhsbv5pxlb1m07qanrq5qmbai33dlk89ghzscrqwnvv1nnszr";
}; };
icinga2 = icinga2 =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-icinga2"; repo = "terraform-provider-icinga2";
rev = "v0.2.0";
version = "0.2.0"; version = "0.2.0";
sha256 = "02ladn2w75k35vn8llj3zh9hbpnnnvpm47c9f29zshfs04acwbq0"; sha256 = "02ladn2w75k35vn8llj3zh9hbpnnnvpm47c9f29zshfs04acwbq0";
}; };
@ -298,6 +340,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-ignition"; repo = "terraform-provider-ignition";
rev = "v1.1.0";
version = "1.1.0"; version = "1.1.0";
sha256 = "0vpjbb70wnlrvw7z2zc92fbisgjk49ivdmv10ahyqlgvc23js5va"; sha256 = "0vpjbb70wnlrvw7z2zc92fbisgjk49ivdmv10ahyqlgvc23js5va";
}; };
@ -305,6 +348,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-influxdb"; repo = "terraform-provider-influxdb";
rev = "v1.3.0";
version = "1.3.0"; version = "1.3.0";
sha256 = "19af40g8hgz2rdz6523v0fs71ww7qdlf2mh5j9vb7pfzriqwa5k9"; sha256 = "19af40g8hgz2rdz6523v0fs71ww7qdlf2mh5j9vb7pfzriqwa5k9";
}; };
@ -312,13 +356,15 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-kubernetes"; repo = "terraform-provider-kubernetes";
version = "1.8.1"; rev = "v1.9.0";
sha256 = "0jcc3i10x0qz7sj8l5yv98jc2g32a6yhdpc45sq33wmhcvp1fsn4"; version = "1.9.0";
sha256 = "1ai8w853k4pgr43g9dwdsimw0g0c6vg6vg2f20d9ch7bx8ii4nhf";
}; };
librato = librato =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-librato"; repo = "terraform-provider-librato";
rev = "v0.1.0";
version = "0.1.0"; version = "0.1.0";
sha256 = "0bxadwj5s7bvc4vlymn3w6qckf14hz82r7q98w2nh55sqr52d923"; sha256 = "0bxadwj5s7bvc4vlymn3w6qckf14hz82r7q98w2nh55sqr52d923";
}; };
@ -326,6 +372,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-linode"; repo = "terraform-provider-linode";
rev = "v1.8.0";
version = "1.8.0"; version = "1.8.0";
sha256 = "1jgh2ij58a5mr6ns604cfpvfvr19qr0q51j57gvchz53iv683m9q"; sha256 = "1jgh2ij58a5mr6ns604cfpvfvr19qr0q51j57gvchz53iv683m9q";
}; };
@ -333,13 +380,15 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-local"; repo = "terraform-provider-local";
version = "1.3.0"; rev = "v1.4.0";
sha256 = "1z6b52vdq7wzzipldys28z45glwgj9k15ighjix1dy78mzi0p99n"; version = "1.4.0";
sha256 = "1k1kbdn99ypn1pi6vqbs1l9a8vvf4vs32wl8waa16i26514sz1wk";
}; };
logentries = logentries =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-logentries"; repo = "terraform-provider-logentries";
rev = "v1.0.0";
version = "1.0.0"; version = "1.0.0";
sha256 = "04xprkb9zwdjyzmsdf10bgmn8sa8q7jw0izz8lw0cc9hag97qgbq"; sha256 = "04xprkb9zwdjyzmsdf10bgmn8sa8q7jw0izz8lw0cc9hag97qgbq";
}; };
@ -347,6 +396,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-logicmonitor"; repo = "terraform-provider-logicmonitor";
rev = "v1.2.1";
version = "1.2.1"; version = "1.2.1";
sha256 = "1fcv5g92l6xr4x69h9rg48zazjr99wrz9mkmr122fyq9s7kdd98y"; sha256 = "1fcv5g92l6xr4x69h9rg48zazjr99wrz9mkmr122fyq9s7kdd98y";
}; };
@ -354,20 +404,23 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-mailgun"; repo = "terraform-provider-mailgun";
version = "0.1.0"; rev = "v0.4.1";
sha256 = "1hjhjfxqbr43wa248c6hc91lx5b2gdw4vl92l2i6aqp17rbc0wfj"; version = "0.4.1";
sha256 = "1l76pg4hmww9zg2n4rkhm5dwjh42fxri6d41ih1bf670krkxwsmz";
}; };
mysql = mysql =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-mysql"; repo = "terraform-provider-mysql";
version = "1.7.0"; rev = "v1.8.0";
sha256 = "19l1ihp5jlaahm8zncjlrnfw8d8gcpnq3z6pn421j1x0d5v5vw9b"; version = "1.8.0";
sha256 = "1llcg2mp6jbj386liinly62pgy934v0c2g5z976n0xwfdiybyhwx";
}; };
netlify = netlify =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-netlify"; repo = "terraform-provider-netlify";
rev = "v0.3.0";
version = "0.3.0"; version = "0.3.0";
sha256 = "0mmbli6d3fbpyvvdfsg32f1w83g8ga3x21b36rgmx3mn156r7yij"; sha256 = "0mmbli6d3fbpyvvdfsg32f1w83g8ga3x21b36rgmx3mn156r7yij";
}; };
@ -375,27 +428,31 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-newrelic"; repo = "terraform-provider-newrelic";
version = "1.5.1"; rev = "v1.5.2";
sha256 = "1xrwh9m1sig4hd2vvb7apy2gh8rz15wdrajggzmmpc1z1rlhf90p"; version = "1.5.2";
sha256 = "1q2vlpzxz04xhmf2wi5pc501454qwzh59kdhfhs8yjg1d1489jng";
}; };
nomad = nomad =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-nomad"; repo = "terraform-provider-nomad";
version = "1.4.1"; rev = "v1.4.2";
sha256 = "1v4wwinnb2qc71jgil4607kgdccjivssabqgb5l3yk8pwfidgdnr"; version = "1.4.2";
sha256 = "0h0snkzqdi4g5lp78f5pq98x6556ldwgkg9p9jkmrg04y7928w5v";
}; };
ns1 = ns1 =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-ns1"; repo = "terraform-provider-ns1";
version = "1.5.0"; rev = "v1.6.0";
sha256 = "1m6f1hsx2gcb5b50sm8cj04hkmn71xlxji8qwlswasz2sg1sllrx"; version = "1.6.0";
sha256 = "1v075wc48pq9kp9rp4kanlfshnxgan9h914nqalq90xgzyl2gf3v";
}; };
nsxt = nsxt =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-nsxt"; repo = "terraform-provider-nsxt";
rev = "v1.1.1";
version = "1.1.1"; version = "1.1.1";
sha256 = "19bbycify25bshpyq65qjxnl72b6wmwwwdb7hxl94hhbgx2c9z29"; sha256 = "19bbycify25bshpyq65qjxnl72b6wmwwwdb7hxl94hhbgx2c9z29";
}; };
@ -403,6 +460,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-null"; repo = "terraform-provider-null";
rev = "v2.1.2";
version = "2.1.2"; version = "2.1.2";
sha256 = "0di1hxmd3s80sz8hl5q2i425by8fbk15f0r4jmnm6vra0cq89jw2"; sha256 = "0di1hxmd3s80sz8hl5q2i425by8fbk15f0r4jmnm6vra0cq89jw2";
}; };
@ -410,20 +468,23 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-nutanix"; repo = "terraform-provider-nutanix";
version = "1.0.1"; rev = "v1.0.2";
sha256 = "1g7p6qg32g75x8fgspgxcdsa086mz3yabdgv1k68rykhw3zbri5d"; version = "1.0.2";
sha256 = "17sgsxsh8minirks08c6gz52cf7ndn220sx4xzi6bq64yi6qw2yc";
}; };
oci = oci =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-oci"; repo = "terraform-provider-oci";
version = "3.37.0-rc1"; rev = "v3.50.0-rc1";
sha256 = "0ahqnh9qzixp434qn2ckj8p32kb9x26l1xz8yr84h6sqfrn58bcv"; version = "3.50.0-rc1";
sha256 = "0nzz62zyx5xf2qlvjcbsqnafdhmq194yhyipcab1n2ckji8zb03z";
}; };
oneandone = oneandone =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-oneandone"; repo = "terraform-provider-oneandone";
rev = "v1.3.0";
version = "1.3.0"; version = "1.3.0";
sha256 = "0c412nqg3k17124i51nn3ffra6gcll904h37h7hyvz97cdblcncn"; sha256 = "0c412nqg3k17124i51nn3ffra6gcll904h37h7hyvz97cdblcncn";
}; };
@ -431,6 +492,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-opc"; repo = "terraform-provider-opc";
rev = "v1.3.7";
version = "1.3.7"; version = "1.3.7";
sha256 = "01g09w8mqfp1d8phplsdj0vz63q5bgq9fqwy2kp4vrnwb70dq52w"; sha256 = "01g09w8mqfp1d8phplsdj0vz63q5bgq9fqwy2kp4vrnwb70dq52w";
}; };
@ -438,34 +500,39 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-openstack"; repo = "terraform-provider-openstack";
version = "1.21.1"; rev = "v1.24.0";
sha256 = "0nvhn2bnk11sz4i98yw7rpxi8b3c2y04qq37ybvqx2jyi3n9kj30"; version = "1.24.0";
sha256 = "1w82ix6l6ad7q0zl00hys8c4gm27nnk12wm2n8i3prwpjnrar70m";
}; };
opentelekomcloud = opentelekomcloud =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-opentelekomcloud"; repo = "terraform-provider-opentelekomcloud";
version = "1.11.0"; rev = "v1.13.1";
sha256 = "175j2bbw3bdbjq1b7b1kwsr8iay9aafz165d0brfpb8gf096y7xa"; version = "1.13.1";
sha256 = "1mxbfskxf9zwm55r3s6fhk634pnyk0sx5pgwk3kmw4sgjv88i1ny";
}; };
opsgenie = opsgenie =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-opsgenie"; repo = "terraform-provider-opsgenie";
version = "0.1.0"; rev = "v0.2.4";
sha256 = "0zs0cl6jl4rijcs6vv5k8k5pyf0zs52dlgqcnb1gzslh8sg5pdkm"; version = "0.2.4";
sha256 = "1kgvbx39v6f3hszwrqjsaq3wvwzkxf4gwwfix2m6bprfr5q5vn0d";
}; };
oraclepaas = oraclepaas =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-oraclepaas"; repo = "terraform-provider-oraclepaas";
version = "1.5.2"; rev = "v1.5.3";
sha256 = "0m886wfg5ski8s1zr7g1h1m6q5ai08jk35ymipxpb6ipx781qvvk"; version = "1.5.3";
sha256 = "0xb03b5jgm06rgrllib6zj1nkh54zv2mqjnyfflgnazpf4c1ia15";
}; };
ovh = ovh =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-ovh"; repo = "terraform-provider-ovh";
rev = "v0.5.0";
version = "0.5.0"; version = "0.5.0";
sha256 = "07n8ismxbv0gngh4kibqhr4ndqkrg6gxbpj3zl764rrwp54gwgbw"; sha256 = "07n8ismxbv0gngh4kibqhr4ndqkrg6gxbpj3zl764rrwp54gwgbw";
}; };
@ -473,41 +540,47 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-packet"; repo = "terraform-provider-packet";
version = "2.3.0"; rev = "v2.6.1";
sha256 = "1v2758wjhrn7rhwdx658w3sf1q5lp4cawl6llbv4p16c5fyzwwc2"; version = "2.6.1";
sha256 = "198lkw5b4xfyf82yzym66fna7j0wl3hzvkdr9b9q7f0nffx47xri";
}; };
pagerduty = pagerduty =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-pagerduty"; repo = "terraform-provider-pagerduty";
version = "1.3.1"; rev = "v1.4.1";
sha256 = "1x29ya0xcjj2b3x2q2q7iyqric8vswf18a5bwhwv2017c1g4n299"; version = "1.4.1";
sha256 = "0dmafnlziyczad907isjqzsn1fyjzc8pdigp3m6114bbnca0ry5k";
}; };
panos = panos =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-panos"; repo = "terraform-provider-panos";
version = "1.5.2"; rev = "v1.6.0";
sha256 = "0sycgr4k4dlhxj5klmgg2xcw3xha06332ij8cfzz4xvgdq0xky3j"; version = "1.6.0";
sha256 = "0qszdyrj84c8i195y45cnanzmkn8ypi1gi5a03pf3gsf2fdcj9gq";
}; };
postgresql = postgresql =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-postgresql"; repo = "terraform-provider-postgresql";
version = "1.1.0"; rev = "v1.3.0";
sha256 = "1dxspqajfy8dmplasazi4s34f47n1qz7qg2dr9ypdvd3jp63072w"; version = "1.3.0";
sha256 = "14ma5lm6ng52dfl8bl4rmpy8ylnkbvnbskvkr6r5sn28x51p601y";
}; };
powerdns = powerdns =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-powerdns"; repo = "terraform-provider-powerdns";
version = "1.0.0"; rev = "v1.2.0";
sha256 = "1qh4z69b0sqxwjjgc8xis165gdszav9yc85ba6pgyl3wbymkld30"; version = "1.2.0";
sha256 = "1108hq4z4is305hnbkn95gv0f5lx5l27wvxvq0g03fcdqdimkrfn";
}; };
profitbricks = profitbricks =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-profitbricks"; repo = "terraform-provider-profitbricks";
rev = "v1.4.4";
version = "1.4.4"; version = "1.4.4";
sha256 = "0pzcl3pdhaykihvv1v38zrv607mydchvkzrzhwcakgmdkp3vq54i"; sha256 = "0pzcl3pdhaykihvv1v38zrv607mydchvkzrzhwcakgmdkp3vq54i";
}; };
@ -515,6 +588,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-rabbitmq"; repo = "terraform-provider-rabbitmq";
rev = "v1.1.0";
version = "1.1.0"; version = "1.1.0";
sha256 = "0xihc44923kx8c3v6wrvczzbhmbjkhy7dhgx3sy5sqhmm22y0gys"; sha256 = "0xihc44923kx8c3v6wrvczzbhmbjkhy7dhgx3sy5sqhmm22y0gys";
}; };
@ -522,6 +596,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-rancher"; repo = "terraform-provider-rancher";
rev = "v1.4.0";
version = "1.4.0"; version = "1.4.0";
sha256 = "106arszmdjmgrz4iv01bbf72jarn7zjqvmc43b6n1s3lzd7jnfpc"; sha256 = "106arszmdjmgrz4iv01bbf72jarn7zjqvmc43b6n1s3lzd7jnfpc";
}; };
@ -529,13 +604,15 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-random"; repo = "terraform-provider-random";
version = "2.2.0"; rev = "v2.2.1";
sha256 = "0vg33jbvyxvg4dwcwjb2p57jjkq7qj50d356r4a1f2ysl2axwwjw"; version = "2.2.1";
sha256 = "1qklsxj443vsj61lwl7qf7xwgnllwcvb2yk6s0kn9g3iq63pcv30";
}; };
rightscale = rightscale =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-rightscale"; repo = "terraform-provider-rightscale";
rev = "v1.3.1";
version = "1.3.1"; version = "1.3.1";
sha256 = "0abwxaghrxpahpsk6kd02fjh0rhck4xsdrzcpv629yh8ip9rzcaj"; sha256 = "0abwxaghrxpahpsk6kd02fjh0rhck4xsdrzcpv629yh8ip9rzcaj";
}; };
@ -543,6 +620,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-rundeck"; repo = "terraform-provider-rundeck";
rev = "v0.4.0";
version = "0.4.0"; version = "0.4.0";
sha256 = "1x131djsny8w84yf7w2il33wlc3ysy3k399dziii2lmq4h8sgrpr"; sha256 = "1x131djsny8w84yf7w2il33wlc3ysy3k399dziii2lmq4h8sgrpr";
}; };
@ -550,6 +628,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-runscope"; repo = "terraform-provider-runscope";
rev = "v0.6.0";
version = "0.6.0"; version = "0.6.0";
sha256 = "1fsph2cnyvzdwa5hwdjabfk4azmc3x8a7afpwpawxfdvqhgpr595"; sha256 = "1fsph2cnyvzdwa5hwdjabfk4azmc3x8a7afpwpawxfdvqhgpr595";
}; };
@ -557,20 +636,23 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-scaleway"; repo = "terraform-provider-scaleway";
version = "1.10.0"; rev = "v1.12.0";
sha256 = "0sbcvcd413f53b25piymmh4rfmlmqsxdscpar8gf2dx6mrsacgf0"; version = "1.12.0";
sha256 = "0044fq5jkdx2ryc2bxqajkrngs6z81kd2narg4zxvfn0r1bfswvc";
}; };
selectel = selectel =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-selectel"; repo = "terraform-provider-selectel";
version = "2.3.0"; rev = "v3.0.0";
sha256 = "0n0nqlajcx44zxbc2k58lv3jy2y6p9zqkby2vy5a2856kcksm7pf"; version = "3.0.0";
sha256 = "0fr97j85inaqvdqmlfk3xcq73zvncn001nsd03pp2ws30qqa8p7r";
}; };
skytap = skytap =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-skytap"; repo = "terraform-provider-skytap";
rev = "v0.11.1";
version = "0.11.1"; version = "0.11.1";
sha256 = "1mlv6jp6lp47chcnsmx8dzy01bxpb9jx1wl122lxd88app9nxq1k"; sha256 = "1mlv6jp6lp47chcnsmx8dzy01bxpb9jx1wl122lxd88app9nxq1k";
}; };
@ -578,6 +660,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-softlayer"; repo = "terraform-provider-softlayer";
rev = "v0.0.1";
version = "0.0.1"; version = "0.0.1";
sha256 = "1xcg5zm2n1pc3l7ng94k589r7ykv6fxsmr5qn9xmmpdf912rdnfq"; sha256 = "1xcg5zm2n1pc3l7ng94k589r7ykv6fxsmr5qn9xmmpdf912rdnfq";
}; };
@ -585,13 +668,15 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-spotinst"; repo = "terraform-provider-spotinst";
version = "1.13.3"; rev = "v1.13.4";
sha256 = "0s75xlw8y3rz1ik11dnh3dzkk1jfklvq3wsf2fam0789z2j1zr1m"; version = "1.13.4";
sha256 = "063lhm065y6qh9b2k11qjnqyfg5zrx6wa3bqrm7d1dqcha1i6d9f";
}; };
statuscake = statuscake =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-statuscake"; repo = "terraform-provider-statuscake";
rev = "v1.0.0";
version = "1.0.0"; version = "1.0.0";
sha256 = "1x295va6c72465cxps0kx3rrb7s9aip2cniy6icsg1b2yrsb9b26"; sha256 = "1x295va6c72465cxps0kx3rrb7s9aip2cniy6icsg1b2yrsb9b26";
}; };
@ -599,6 +684,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-telefonicaopencloud"; repo = "terraform-provider-telefonicaopencloud";
rev = "v1.0.0";
version = "1.0.0"; version = "1.0.0";
sha256 = "1761wkjz3d2458xl7855lxklyxgyk05fddh92rp6975y0ca6xa5m"; sha256 = "1761wkjz3d2458xl7855lxklyxgyk05fddh92rp6975y0ca6xa5m";
}; };
@ -606,6 +692,7 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-template"; repo = "terraform-provider-template";
rev = "v2.1.2";
version = "2.1.2"; version = "2.1.2";
sha256 = "18w1mmma81m9j7yf6q500w8v9ss28w6sw2ynssl99pyw2gwmd04q"; sha256 = "18w1mmma81m9j7yf6q500w8v9ss28w6sw2ynssl99pyw2gwmd04q";
}; };
@ -613,13 +700,15 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-tencentcloud"; repo = "terraform-provider-tencentcloud";
version = "1.15.0"; rev = "v1.22.0";
sha256 = "1ics91fxsl1z1wqd961wdn2s22ck25yphp341qlbs8ln2dcwk8r7"; version = "1.22.0";
sha256 = "0lamj77n9b5m80201wim0zcjgdcbihcaq27z49himh2qi5j8lxiz";
}; };
terraform = terraform =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-terraform"; repo = "terraform-provider-terraform";
rev = "v1.0.2";
version = "1.0.2"; version = "1.0.2";
sha256 = "1aj6g6l68n9kqmxfjlkwwxnac7fhha6wrmvsw4yylf0qyssww75v"; sha256 = "1aj6g6l68n9kqmxfjlkwwxnac7fhha6wrmvsw4yylf0qyssww75v";
}; };
@ -627,34 +716,39 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-tfe"; repo = "terraform-provider-tfe";
version = "0.10.1"; rev = "v0.11.1";
sha256 = "09hrdschgydnziq1sv6ql7gc4qwx8j4dnmx4fdw8452qpszk17n2"; version = "0.11.1";
sha256 = "0iagddaivpd7cxgf8ha2pk0m66gi4a804s86fsxla0j1knmmyra0";
}; };
tls = tls =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-tls"; repo = "terraform-provider-tls";
version = "2.0.1"; rev = "v2.1.1";
sha256 = "08fh4k5fvkijl2ds8mxdc5fxlwhs11y5s48vvxdskklvkjhygzc7"; version = "2.1.1";
sha256 = "1qsx540pjcq4ra034q2dwnw5nmzab5h1c3vm20ppg5dkhhyiizq8";
}; };
triton = triton =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-triton"; repo = "terraform-provider-triton";
version = "0.5.1"; rev = "v0.6.0";
sha256 = "1bn5x6nmhfkrzpxhyfclls85l9qqffvzx1xsgcb3368lhwzarn2f"; version = "0.6.0";
sha256 = "10z032fa64sd8d6r4v2f4m7gp93v8wb2zk2r13fflzg5rfk5740z";
}; };
ucloud = ucloud =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-ucloud"; repo = "terraform-provider-ucloud";
version = "1.11.1"; rev = "v1.14.1";
sha256 = "1la5kapdwpd2f6x00yc9j25rl8qkrndgqpzp2jp6mcbj5zif82ns"; version = "1.14.1";
sha256 = "04vi87q2fhy907l7rwsbq5p6l9vm6avm1hbf9qwddkbxx2kjjf64";
}; };
ultradns = ultradns =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-ultradns"; repo = "terraform-provider-ultradns";
rev = "v0.1.0";
version = "0.1.0"; version = "0.1.0";
sha256 = "0bq2y6bxdax7qnmq6vxh8pz9sqy1r3m05dv7q5dbv2xvba1b88hj"; sha256 = "0bq2y6bxdax7qnmq6vxh8pz9sqy1r3m05dv7q5dbv2xvba1b88hj";
}; };
@ -662,41 +756,71 @@
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-vault"; repo = "terraform-provider-vault";
version = "2.2.0"; rev = "v2.5.0";
sha256 = "0k9frx29pjrrx67cwzsrnj0x90ff5k99l5yzfgb58sajkz1j8nln"; version = "2.5.0";
sha256 = "0h3q2zifjgm05kvdans88dl8wx9hr21c1s64fmfs4an07gkg8947";
}; };
vcd = vcd =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-vcd"; repo = "terraform-provider-vcd";
version = "2.4.0"; rev = "v2.5.0";
sha256 = "020wmdl5cbma9r7sv3bx6v8b59w5nwkzgwj4xm7a2s6kn8jygr2x"; version = "2.5.0";
sha256 = "0h78ij9rkx43i9kdcfy7waa6xyn2j40zgm6im3zp0yswy6vjlcyq";
}; };
vsphere = vsphere =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-vsphere"; repo = "terraform-provider-vsphere";
version = "1.12.0"; rev = "v1.13.0";
sha256 = "0g3pnk2b4dmz5bkr7xjpp45dwy767k6a02rjva38xls185qs7i7c"; version = "1.13.0";
sha256 = "10gl042l5mlmklhjjknwln1qcwl65xz8sbg1acyv8xkb6nsaxcf1";
}; };
yandex = yandex =
{ {
owner = "terraform-providers"; owner = "terraform-providers";
repo = "terraform-provider-yandex"; repo = "terraform-provider-yandex";
version = "0.9.0"; rev = "v0.23.0";
sha256 = "0x3l0pbpdsm43jsx42xzc46r9j40l7szkcf851q16wsxf70lchqr"; version = "0.23.0";
sha256 = "0vv8lp834q8i7fam2s8pvs7slfwlf8m4g080i9cij5z2lgipja32";
};
segment =
{
owner = "ajbosco";
repo = "terraform-provider-segment";
rev = "v0.2.0";
version = "0.2.0";
sha256 = "0ic5b9djhnb1bs2bz3zdprgy3r55dng09xgc4d9l9fyp85g2amaz";
};
pass =
{
owner = "camptocamp";
repo = "terraform-provider-pass";
rev = "1.2.1";
version = "1.2.1";
sha256 = "1hf5mvgz5ycp7shiy8px205d9kwswfjmclg7mlh9a55bkraffahk";
}; };
matchbox = matchbox =
{ {
owner = "poseidon"; owner = "poseidon";
repo = "terraform-provider-matchbox"; repo = "terraform-provider-matchbox";
rev = "v0.3.0";
version = "0.3.0"; version = "0.3.0";
sha256 = "1nq7k8qa7rv8xyryjigwpwcwvj1sw85c4j46rkfdv70b6js25jz3"; sha256 = "1nq7k8qa7rv8xyryjigwpwcwvj1sw85c4j46rkfdv70b6js25jz3";
}; };
wavefront =
{
owner = "spaceapegames";
repo = "terraform-provider-wavefront";
rev = "v2.1.1";
version = "2.1.1";
sha256 = "0cbs74kd820i8f13a9jfbwh2y5zmmx3c2mp07qy7m0xx3m78jksn";
};
nixos = nixos =
{ {
owner = "tweag"; owner = "tweag";
repo = "terraform-provider-nixos"; repo = "terraform-provider-nixos";
rev = "v0.0.1";
version = "0.0.1"; version = "0.0.1";
sha256 = "00vz6qjq1pk39iqg4356b8g3c6slla9jifkv2knk46gc9q93q0lf"; sha256 = "00vz6qjq1pk39iqg4356b8g3c6slla9jifkv2knk46gc9q93q0lf";
}; };
@ -704,21 +828,8 @@
{ {
owner = "tweag"; owner = "tweag";
repo = "terraform-provider-secret"; repo = "terraform-provider-secret";
version = "1.0.0"; rev = "v1.1.0";
sha256 = "03q78d0g3b4j4213qjlacj1adh7hjwcqcqrwm8c2r2k5w9kb25k0"; version = "1.1.0";
}; sha256 = "09gv0fpsrxzgna0xrhrdk8d4va9s0gvdbz596r306qxb4mip4w3r";
segment =
{
owner = "ajbosco";
repo = "terraform-provider-segment";
version = "0.2.0";
sha256 = "0ic5b9djhnb1bs2bz3zdprgy3r55dng09xgc4d9l9fyp85g2amaz";
};
wavefront =
{
owner = "spaceapegames";
repo = "terraform-provider-wavefront";
version = "2.1.0";
sha256 = "1ir2wkg5mfng7h5544kar1arkjb5ffjhki5qr25a5x0rpwlg99sx";
}; };
} }

View File

@ -9,13 +9,12 @@ let
toDrv = data: toDrv = data:
buildGoPackage rec { buildGoPackage rec {
inherit (data) owner repo version sha256; inherit (data) owner repo rev version sha256;
name = "${repo}-${version}"; name = "${repo}-${version}";
goPackagePath = "github.com/${owner}/${repo}"; goPackagePath = "github.com/${owner}/${repo}";
subPackages = [ "." ]; subPackages = [ "." ];
src = fetchFromGitHub { src = fetchFromGitHub {
inherit owner repo sha256; inherit owner repo rev sha256;
rev = "v${version}";
}; };

View File

@ -9,17 +9,10 @@
# include all terraform-providers # include all terraform-providers
terraform-providers terraform-provider- terraform-provider-\\(azure-classic\\|scaffolding\\) terraform-providers terraform-provider- terraform-provider-\\(azure-classic\\|scaffolding\\)
# include terraform-provider-matchbox # include providers from individual repos
poseidon/terraform-provider-matchbox
# include terraform-provider-nixos
tweag/terraform-provider-nixos
# include terraform-provider-secret
tweag/terraform-provider-secret
# include terraform-provider-segment
ajbosco/terraform-provider-segment ajbosco/terraform-provider-segment
camptocamp/terraform-provider-pass
# include terraform-provider-wavefront poseidon/terraform-provider-matchbox
spaceapegames/terraform-provider-wavefront spaceapegames/terraform-provider-wavefront
tweag/terraform-provider-nixos
tweag/terraform-provider-secret

View File

@ -58,12 +58,14 @@ prefetch_github() {
echo_entry() { echo_entry() {
local owner=$1 local owner=$1
local repo=$2 local repo=$2
local version=${3:1} local rev=$3
local version=$(echo $3 | sed 's/^v//')
local sha256=$4 local sha256=$4
cat <<EOF cat <<EOF
{ {
owner = "$owner"; owner = "$owner";
repo = "$repo"; repo = "$repo";
rev = "$rev";
version = "$version"; version = "$version";
sha256 = "$sha256"; sha256 = "$sha256";
}; };

View File

@ -0,0 +1,32 @@
{ stdenv
, mkDerivation
, fetchurl
, libxml2
, libisds
, qmake
, qtbase
, qtsvg
, pkg-config
}:
mkDerivation rec {
pname = "datovka";
version = "4.14.0";
src = fetchurl {
url = "https://secure.nic.cz/files/datove_schranky/${version}/${pname}-${version}.tar.xz";
sha256 = "0q7zlq522wdgwxgd3jxmxvr3awclcy0mbw3qaymwzn2b8d35168r";
};
buildInputs = [ libisds qmake qtbase qtsvg libxml2 ];
nativeBuildInputs = [ pkg-config ];
meta = with stdenv.lib; {
description = "Client application for operating Czech government-provided Databox infomation system";
homepage = "https://www.datovka.cz/";
license = licenses.lgpl3;
maintainers = [ maintainers.mmahut ];
platforms = platforms.linux;
};
}

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, gettext, makeWrapper, tcl, which, writeScript { stdenv, fetchFromGitHub, gettext, makeWrapper, tcl, which, writeScript
, ncurses, perl , cyrus_sasl, gss, gpgme, kerberos, libidn, libxml2, notmuch, openssl , ncurses, perl , cyrus_sasl, gss, gpgme, kerberos, libidn, libxml2, notmuch, openssl
, lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, mailcap, runtimeShell , lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, mailcap, runtimeShell, sqlite
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
cyrus_sasl gss gpgme kerberos libidn ncurses cyrus_sasl gss gpgme kerberos libidn ncurses
notmuch openssl perl lmdb notmuch openssl perl lmdb
mailcap mailcap sqlite
]; ];
nativeBuildInputs = [ nativeBuildInputs = [
@ -50,6 +50,7 @@ stdenv.mkDerivation rec {
''; '';
configureFlags = [ configureFlags = [
"--enable-autocrypt"
"--gpgme" "--gpgme"
"--gss" "--gss"
"--lmdb" "--lmdb"

View File

@ -5,8 +5,8 @@
let let
sha256 = { sha256 = {
x86_64-linux = "0mixw2sk7li1hjagibwzdgbfnrih5acricczqmfks1gsinjqrn82"; x86_64-linux = "1zdbgbbdavaqx4y02sw9y7i1r9wkxqccrqkn0sp5847a26cpk9k9";
i386-linux = "1gshd4vm8ysn636r1z44vmzdzrgybsmj8ma4zdabvs9jsbm2da3c"; i386-linux = "11qwyxvy3c3n7hvksmlsfl9vvqaqkv3kwbk5rgjyy7vy8vn4kjmk";
}.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported"); }.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
arch = { arch = {
@ -28,7 +28,7 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "anydesk"; pname = "anydesk";
version = "5.1.2"; version = "5.4.1";
src = fetchurl { src = fetchurl {
url = "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz"; url = "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz";
@ -40,7 +40,7 @@ in stdenv.mkDerivation rec {
gnome2.gtkglext libGLU_combined freetype fontconfig gnome2.gtkglext libGLU_combined freetype fontconfig
pangox_compat polkit polkit_gnome pulseaudio pangox_compat polkit polkit_gnome pulseaudio
] ++ (with xorg; [ ] ++ (with xorg; [
libxcb libX11 libXdamage libXext libXfixes libXi libXmu libxcb libxkbfile libX11 libXdamage libXext libXfixes libXi libXmu
libXrandr libXtst libXt libICE libSM libXrender libXrandr libXtst libXt libICE libSM libXrender
]); ]);

View File

@ -6,11 +6,11 @@
mkDerivation rec { mkDerivation rec {
pname = "teamviewer"; pname = "teamviewer";
version = "14.6.2452"; version = "14.7.1965";
src = fetchurl { src = fetchurl {
url = "https://dl.tvcdn.de/download/linux/version_14x/teamviewer_${version}_amd64.deb"; url = "https://dl.tvcdn.de/download/linux/version_14x/teamviewer_${version}_amd64.deb";
sha256 = "0j677bqwvlczbja9msayqpdgandb2mvyvcr0vasc3hhnmnk70ahw"; sha256 = "056050x173y450apl096vw8g3b3kvrd2b4xpj706nw6jdxsnhfbp";
}; };
unpackPhase = '' unpackPhase = ''

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pam, python3, libxslt, perl, ArchiveZip, gettext { stdenv, fetchurl, pam, python3, libxslt, perl, ArchiveZip, gettext
, IOCompress, zlib, libjpeg, expat, freetype, libwpd , IOCompress, zlib, libjpeg, expat, freetype, libwpd
, libxml2, db, sablotron, curl, fontconfig, libsndfile, neon , libxml2, db, curl, fontconfig, libsndfile, neon
, bison, flex, zip, unzip, gtk3, gtk2, libmspack, getopt, file, cairo, which , bison, flex, zip, unzip, gtk3, gtk2, libmspack, getopt, file, cairo, which
, icu, boost, jdk, ant, cups, xorg, libcmis, fontforge , icu, boost, jdk, ant, cups, xorg, libcmis, fontforge
, openssl, gperf, cppunit, GConf, ORBit2, poppler, utillinux , openssl, gperf, cppunit, GConf, ORBit2, poppler, utillinux
@ -363,7 +363,7 @@ in stdenv.mkDerivation rec {
libXdmcp libpthreadstubs libGLU_combined mythes gst_all_1.gstreamer libXdmcp libpthreadstubs libGLU_combined mythes gst_all_1.gstreamer
gst_all_1.gst-plugins-base glib libmysqlclient gst_all_1.gst-plugins-base glib libmysqlclient
neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
python3 sablotron sane-backends unzip vigra which zip zlib python3 sane-backends unzip vigra which zip zlib
mdds bluez5 libcmis libwps libabw libzmf mdds bluez5 libcmis libwps libabw libzmf
libxshmfence libatomic_ops graphite2 harfbuzz gpgme utillinux libxshmfence libatomic_ops graphite2 harfbuzz gpgme utillinux
librevenge libe-book libmwaw glm glew ncurses epoxy librevenge libe-book libmwaw glm glew ncurses epoxy

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, pam, python3, libxslt, perl, ArchiveZip, gettext { stdenv, fetchurl, pam, python3, libxslt, perl, ArchiveZip, gettext
, IOCompress, zlib, libjpeg, expat, freetype, libwpd , IOCompress, zlib, libjpeg, expat, freetype, libwpd
, libxml2, db, sablotron, curl, fontconfig, libsndfile, neon , libxml2, db, curl, fontconfig, libsndfile, neon
, bison, flex, zip, unzip, gtk3, gtk2, libmspack, getopt, file, cairo, which , bison, flex, zip, unzip, gtk3, gtk2, libmspack, getopt, file, cairo, which
, icu, boost, jdk, ant, cups, xorg, libcmis, fontforge , icu, boost, jdk, ant, cups, xorg, libcmis, fontforge
, openssl, gperf, cppunit, GConf, ORBit2, poppler, utillinux , openssl, gperf, cppunit, GConf, ORBit2, poppler, utillinux
@ -360,7 +360,7 @@ in stdenv.mkDerivation rec {
libXdmcp libpthreadstubs libGLU_combined mythes gst_all_1.gstreamer libXdmcp libpthreadstubs libGLU_combined mythes gst_all_1.gstreamer
gst_all_1.gst-plugins-base glib libmysqlclient gst_all_1.gst-plugins-base glib libmysqlclient
neon nspr nss openldap openssl ORBit2 pam perl poppler neon nspr nss openldap openssl ORBit2 pam perl poppler
python3 sablotron sane-backends unzip vigra which zip zlib python3 sane-backends unzip vigra which zip zlib
mdds bluez5 libcmis libwps libabw libzmf mdds bluez5 libcmis libwps libabw libzmf
libxshmfence libatomic_ops graphite2 harfbuzz gpgme utillinux libxshmfence libatomic_ops graphite2 harfbuzz gpgme utillinux
librevenge libe-book libmwaw glm glew ncurses epoxy librevenge libe-book libmwaw glm glew ncurses epoxy

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "bcompare"; pname = "bcompare";
version = "4.3.1.24438"; version = "4.3.2.24472";
src = fetchurl { src = fetchurl {
url = "https://www.scootersoftware.com/${pname}-${version}_amd64.deb"; url = "https://www.scootersoftware.com/${pname}-${version}_amd64.deb";
sha256 = "19rbcl0l49qbzn4bisdl9ibj0qm83kjkclva4qcy7jaqna9g7qrh"; sha256 = "1msygg01yi0n8lpk8sl226p09ls7wvd3z3k067mdgrss8rjy5va5";
}; };
unpackPhase = '' unpackPhase = ''

View File

@ -11,20 +11,19 @@
, granite , granite
, gettext , gettext
, clutter-gtk , clutter-gtk
, libunity
, elementary-icon-theme , elementary-icon-theme
, wrapGAppsHook , wrapGAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "switchboard"; pname = "switchboard";
version = "2.3.6"; version = "2.3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0lsrn636b0f9a58jbid6mlhgrf8ajnh7phwmhgxz55sz7k7qa58g"; sha256 = "160aar5dqd019vn28cm0d0ijj1i6mwpqkl7a1l4lpasw12drxwxz";
}; };
passthru = { passthru = {
@ -49,7 +48,6 @@ stdenv.mkDerivation rec {
granite granite
gtk3 gtk3
libgee libgee
libunity
]; ];
patches = [ patches = [

View File

@ -1,13 +1,9 @@
diff --git a/lib/PlugsManager.vala b/lib/PlugsManager.vala diff --git a/lib/PlugsManager.vala b/lib/PlugsManager.vala
index 75d0eaf..c227908 100644 index 8b21e7b..bc36321 100644
--- a/lib/PlugsManager.vala --- a/lib/PlugsManager.vala
+++ b/lib/PlugsManager.vala +++ b/lib/PlugsManager.vala
@@ -34,10 +34,18 @@ public class Switchboard.PlugsManager : GLib.Object { @@ -36,7 +36,15 @@ public class Switchboard.PlugsManager : GLib.Object {
private Gee.LinkedList<Switchboard.Plug> plugs;
public signal void plug_added (Switchboard.Plug plug);
-
+
private PlugsManager () { private PlugsManager () {
plugs = new Gee.LinkedList<Switchboard.Plug> (); plugs = new Gee.LinkedList<Switchboard.Plug> ();
- var base_folder = File.new_for_path (Build.PLUGS_DIR); - var base_folder = File.new_for_path (Build.PLUGS_DIR);

View File

@ -17,13 +17,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wingpanel-indicator-keyboard"; pname = "wingpanel-indicator-keyboard";
version = "2.1.2"; version = "2.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0lrd474m6p8di73hqjilqnnl7qg72ky5narkgcvm4lk8dyi78mz0"; sha256 = "0jc12xfaj3micpjssxc7m6hzssvyq26ln5az05x5f1j6v8lccbyn";
}; };
passthru = { passthru = {

View File

@ -212,7 +212,14 @@ in rec {
binary = binaryCrystal_0_29; binary = binaryCrystal_0_29;
}; };
crystal = crystal_0_30; crystal_0_31 = generic {
version = "0.31.1";
sha256 = "1dswxa32w16gnc6yjym12xj7ibg0g6zk3ngvl76lwdjqb1h6lwz8";
doCheck = false; # 5 checks are failing now
binary = crystal_0_30;
};
crystal = crystal_0_31;
crystal2nix = callPackage ./crystal2nix.nix {}; crystal2nix = callPackage ./crystal2nix.nix {};
} }

View File

@ -7,6 +7,7 @@
, profiledCompiler ? false , profiledCompiler ? false
, staticCompiler ? false , staticCompiler ? false
, enableShared ? true , enableShared ? true
, enableLTO ? true
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man); required for Java , perl ? null # optional, for texi2pod (then pod2man); required for Java
, gmp, mpfr, libmpc, gettext, which , gmp, mpfr, libmpc, gettext, which
@ -96,69 +97,8 @@ let version = "4.8.5";
/* Cross-gcc settings (build == host != target) */ /* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
crossConfigureFlags =
# Ensure that -print-prog-name is able to find the correct programs.
[ "--with-as=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-as"
"--with-ld=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-ld" ] ++
(if crossMingw && crossStageStatic then [
"--with-headers=${libcCross}/include"
"--with-gcc"
"--with-gnu-as"
"--with-gnu-ld"
"--with-gnu-ld"
"--disable-shared"
"--disable-nls"
"--disable-debug"
"--enable-sjlj-exceptions"
"--enable-threads=win32"
"--disable-win32-registry"
"--disable-libmpx" # requires libc
] else if crossStageStatic then [
"--disable-libssp"
"--disable-nls"
"--without-headers"
"--disable-threads"
"--disable-libgomp"
"--disable-libquadmath"
"--disable-shared"
"--disable-libatomic" # requires libc
"--disable-decimal-float" # requires libc
"--disable-libmpx" # requires libc
] else [
(if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
else "--with-headers=${getDev libcCross}${libcCross.incdir or "/include"}")
"--enable-__cxa_atexit"
"--enable-long-long"
] ++
(if crossMingw then [
"--enable-threads=win32"
"--enable-sjlj-exceptions"
"--enable-hash-synchronization"
"--enable-libssp"
"--disable-nls"
"--with-dwarf2"
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] else
optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"
]
++ optional (targetPlatform.libc == "newlib") "--with-newlib"
++ optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
++ [
"--enable-threads=${if targetPlatform.isUnix then "posix"
else if targetPlatform.isWindows then "win32"
else "single"}"
"--enable-nls"
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
]));
stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final"; stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else ""; crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
bootstrap = targetPlatform == hostPlatform;
in in
@ -232,98 +172,45 @@ stdenv.mkDerivation ({
++ (optional hostPlatform.isDarwin gnused) ++ (optional hostPlatform.isDarwin gnused)
; ;
preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' preConfigure = import ../common/pre-configure.nix {
export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` inherit (stdenv) lib;
export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" inherit version hostPlatform langJava langGo;
export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" };
export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
'';
dontDisableStatic = true; dontDisableStatic = true;
# TODO(@Ericson2314): Always pass "--target" and always prefix. # TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target"; configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configureFlags = configureFlags = import ../common/configure-flags.nix {
# Basic dependencies inherit
[ stdenv
"--with-gmp-include=${gmp.dev}/include" targetPackages
"--with-gmp-lib=${gmp.out}/lib" crossStageStatic libcCross
"--with-mpfr-include=${mpfr.dev}/include" version
"--with-mpfr-lib=${mpfr.out}/lib"
"--with-mpc=${libmpc}"
] ++
optional (libelf != null) "--with-libelf=${libelf}" ++
optional (!(crossMingw && crossStageStatic))
"--with-native-system-header-dir=${getDev stdenv.cc.libc}/include" ++
# Basic configuration gmp mpfr libmpc libelf isl
[ cloog
"--enable-lto"
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"
"--enable-static"
"--enable-languages=${
concatStrings (intersperse ","
( optional langC "c"
++ optional langCC "c++"
++ optional langFortran "fortran"
++ optional langJava "java"
++ optional langGo "go"
++ optional langObjC "objc"
++ optional langObjCpp "obj-c++"
++ optionals crossDarwin [ "objc" "obj-c++" ]
)
)
}"
] ++
(if (enableMultilib || targetPlatform.isAvr) enableLTO
then ["--enable-multilib" "--disable-libquadmath"] enableMultilib
else ["--disable-multilib"]) ++ enablePlugin
optional (!enableShared) "--disable-shared" ++ enableShared
(if enablePlugin
then ["--enable-plugin"]
else ["--disable-plugin"]) ++
# Optional features langC
optional (isl != null) "--with-isl=${isl}" ++ langCC
optionals (cloog != null) [ langFortran
"--with-cloog=${cloog}" langJava javaAwtGtk javaAntlr javaEcj
"--disable-cloog-version-check" langGo
"--enable-cloog-backend=isl" langObjC
] ++ langObjCpp
;
# Java options };
optionals langJava [
"--with-ecj-jar=${javaEcj}"
# Follow Sun's layout for the convenience of IcedTea/OpenJDK. See
# <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>.
"--enable-java-home"
"--with-java-home=\${prefix}/lib/jvm/jre"
] ++
optional javaAwtGtk "--enable-java-awt=gtk" ++
optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}" ++
(import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
optional (targetPlatform != hostPlatform) crossConfigureFlags ++
optional (!bootstrap) "--disable-bootstrap" ++
# Platform-specific flags
optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" ++
optionals hostPlatform.isSunOS [
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
;
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
buildFlags = optional buildFlags = optional
(bootstrap && hostPlatform == buildPlatform) (targetPlatform == hostPlatform && hostPlatform == buildPlatform)
(if profiledCompiler then "profiledbootstrap" else "bootstrap"); (if profiledCompiler then "profiledbootstrap" else "bootstrap");
dontStrip = !stripped; dontStrip = !stripped;

View File

@ -7,6 +7,7 @@
, profiledCompiler ? false , profiledCompiler ? false
, staticCompiler ? false , staticCompiler ? false
, enableShared ? true , enableShared ? true
, enableLTO ? true
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man); required for Java , perl ? null # optional, for texi2pod (then pod2man); required for Java
, gmp, mpfr, libmpc, gettext, which , gmp, mpfr, libmpc, gettext, which
@ -101,72 +102,8 @@ let version = "4.9.4";
/* Cross-gcc settings (build == host != target) */ /* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
crossConfigureFlags =
# Ensure that -print-prog-name is able to find the correct programs.
[ "--with-as=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-as"
"--with-ld=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-ld" ] ++
(if crossMingw && crossStageStatic then [
"--with-headers=${libcCross}/include"
"--with-gcc"
"--with-gnu-as"
"--with-gnu-ld"
"--with-gnu-ld"
"--disable-shared"
"--disable-nls"
"--disable-debug"
"--enable-sjlj-exceptions"
"--enable-threads=win32"
"--disable-win32-registry"
"--disable-libmpx" # requires libc
] else if crossStageStatic then [
"--disable-libssp"
"--disable-nls"
"--without-headers"
"--disable-threads"
"--disable-libgomp"
"--disable-libquadmath"
"--disable-shared"
"--disable-libatomic" # requires libc
"--disable-decimal-float" # requires libc
"--disable-libmpx" # requires libc
] else [
(if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
else "--with-headers=${getDev libcCross}${libcCross.incdir or "/include"}")
"--enable-__cxa_atexit"
"--enable-long-long"
] ++
(if crossMingw then [
"--enable-threads=win32"
"--enable-sjlj-exceptions"
"--enable-hash-synchronization"
"--enable-libssp"
"--disable-nls"
"--with-dwarf2"
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] else
optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.
"--disable-libsanitizer"
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"
]
++ optional (targetPlatform.libc == "newlib") "--with-newlib"
++ optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
++ [
"--enable-threads=${if targetPlatform.isUnix then "posix"
else if targetPlatform.isWindows then "win32"
else "single"}"
"--enable-nls"
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
]));
stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final"; stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else ""; crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
bootstrap = targetPlatform == hostPlatform;
in in
@ -241,102 +178,45 @@ stdenv.mkDerivation ({
++ (optional hostPlatform.isDarwin gnused) ++ (optional hostPlatform.isDarwin gnused)
; ;
preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' preConfigure = import ../common/pre-configure.nix {
sed -i -e "s/-lrt//g" libstdc++-v3/configure inherit (stdenv) lib;
export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` inherit version hostPlatform langJava langGo;
export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" };
export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET"
export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
''
+ stdenv.lib.optionalString (langJava || langGo) ''
export lib=$out;
'';
dontDisableStatic = true; dontDisableStatic = true;
# TODO(@Ericson2314): Always pass "--target" and always prefix. # TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target"; configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configureFlags = configureFlags = import ../common/configure-flags.nix {
# Basic dependencies inherit
[ stdenv
"--with-gmp-include=${gmp.dev}/include" targetPackages
"--with-gmp-lib=${gmp.out}/lib" crossStageStatic libcCross
"--with-mpfr-include=${mpfr.dev}/include" version
"--with-mpfr-lib=${mpfr.out}/lib"
"--with-mpc=${libmpc}"
] ++
optional (libelf != null) "--with-libelf=${libelf}" ++
optional (!(crossMingw && crossStageStatic))
"--with-native-system-header-dir=${getDev stdenv.cc.libc}/include" ++
# Basic configuration gmp mpfr libmpc libelf isl
[ cloog
"--enable-lto"
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"
"--enable-static"
"--enable-languages=${
concatStrings (intersperse ","
( optional langC "c"
++ optional langCC "c++"
++ optional langFortran "fortran"
++ optional langJava "java"
++ optional langGo "go"
++ optional langObjC "objc"
++ optional langObjCpp "obj-c++"
++ optionals crossDarwin [ "objc" "obj-c++" ]
)
)
}"
] ++
(if (enableMultilib || targetPlatform.isAvr) enableLTO
then ["--enable-multilib" "--disable-libquadmath"] enableMultilib
else ["--disable-multilib"]) ++ enablePlugin
optional (!enableShared) "--disable-shared" ++ enableShared
(if enablePlugin
then ["--enable-plugin"]
else ["--disable-plugin"]) ++
# Optional features langC
optional (isl != null) "--with-isl=${isl}" ++ langCC
optionals (cloog != null) [ langFortran
"--with-cloog=${cloog}" langJava javaAwtGtk javaAntlr javaEcj
"--disable-cloog-version-check" langGo
"--enable-cloog-backend=isl" langObjC
] ++ langObjCpp
;
# Java options };
optionals langJava [
"--with-ecj-jar=${javaEcj}"
# Follow Sun's layout for the convenience of IcedTea/OpenJDK. See
# <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>.
"--enable-java-home"
"--with-java-home=\${prefix}/lib/jvm/jre"
] ++
optional javaAwtGtk "--enable-java-awt=gtk" ++
optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}" ++
(import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
optional (targetPlatform != hostPlatform) crossConfigureFlags ++
optional (!bootstrap) "--disable-bootstrap" ++
# Platform-specific flags
optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" ++
optionals hostPlatform.isSunOS [
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
;
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
buildFlags = optional buildFlags = optional
(bootstrap && hostPlatform == buildPlatform) (targetPlatform == hostPlatform && hostPlatform == buildPlatform)
(if profiledCompiler then "profiledbootstrap" else "bootstrap"); (if profiledCompiler then "profiledbootstrap" else "bootstrap");
dontStrip = !stripped; dontStrip = !stripped;

View File

@ -7,6 +7,7 @@
, profiledCompiler ? false , profiledCompiler ? false
, staticCompiler ? false , staticCompiler ? false
, enableShared ? true , enableShared ? true
, enableLTO ? true
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man); required for Java , perl ? null # optional, for texi2pod (then pod2man); required for Java
, gmp, mpfr, libmpc, gettext, which , gmp, mpfr, libmpc, gettext, which
@ -88,72 +89,8 @@ let version = "5.5.0";
/* Cross-gcc settings (build == host != target) */ /* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
crossConfigureFlags =
# Ensure that -print-prog-name is able to find the correct programs.
[ "--with-as=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-as"
"--with-ld=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-ld" ] ++
(if crossMingw && crossStageStatic then [
"--with-headers=${libcCross}/include"
"--with-gcc"
"--with-gnu-as"
"--with-gnu-ld"
"--with-gnu-ld"
"--disable-shared"
"--disable-nls"
"--disable-debug"
"--enable-sjlj-exceptions"
"--enable-threads=win32"
"--disable-win32-registry"
"--disable-libmpx" # requires libc
] else if crossStageStatic then [
"--disable-libssp"
"--disable-nls"
"--without-headers"
"--disable-threads"
"--disable-libgomp"
"--disable-libquadmath"
"--disable-shared"
"--disable-libatomic" # requires libc
"--disable-decimal-float" # requires libc
"--disable-libmpx" # requires libc
] else [
(if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
else "--with-headers=${getDev libcCross}${libcCross.incdir or "/include"}")
"--enable-__cxa_atexit"
"--enable-long-long"
] ++
(if crossMingw then [
"--enable-threads=win32"
"--enable-sjlj-exceptions"
"--enable-hash-synchronization"
"--enable-libssp"
"--disable-nls"
"--with-dwarf2"
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] else
optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.
"--disable-libsanitizer"
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"
]
++ optional (targetPlatform.libc == "newlib") "--with-newlib"
++ optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
++ [
"--enable-threads=${if targetPlatform.isUnix then "posix"
else if targetPlatform.isWindows then "win32"
else "single"}"
"--enable-nls"
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
]));
stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final"; stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else ""; crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
bootstrap = targetPlatform == hostPlatform;
in in
@ -249,99 +186,44 @@ stdenv.mkDerivation ({
NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl"; NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl";
preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' preConfigure = import ../common/pre-configure.nix {
export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` inherit (stdenv) lib;
export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" inherit version hostPlatform langJava langGo;
export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" };
export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
'';
dontDisableStatic = true; dontDisableStatic = true;
# TODO(@Ericson2314): Always pass "--target" and always prefix. # TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target"; configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configureFlags = configureFlags = import ../common/configure-flags.nix {
# Basic dependencies inherit
[ stdenv
"--with-gmp-include=${gmp.dev}/include" targetPackages
"--with-gmp-lib=${gmp.out}/lib" crossStageStatic libcCross
"--with-mpfr-include=${mpfr.dev}/include" version
"--with-mpfr-lib=${mpfr.out}/lib"
"--with-mpc=${libmpc}"
] ++
optional (libelf != null) "--with-libelf=${libelf}" ++
optional (!(crossMingw && crossStageStatic))
"--with-native-system-header-dir=${getDev stdenv.cc.libc}/include" ++
# Basic configuration gmp mpfr libmpc libelf isl
[
"--enable-lto"
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"
"--enable-static"
"--enable-languages=${
concatStrings (intersperse ","
( optional langC "c"
++ optional langCC "c++"
++ optional langFortran "fortran"
++ optional langJava "java"
++ optional langGo "go"
++ optional langObjC "objc"
++ optional langObjCpp "obj-c++"
++ optionals crossDarwin [ "objc" "obj-c++" ]
)
)
}"
] ++
(if (enableMultilib || targetPlatform.isAvr) enableLTO
then ["--enable-multilib" "--disable-libquadmath"] enableMultilib
else ["--disable-multilib"]) ++ enablePlugin
optional (!enableShared) "--disable-shared" ++ enableShared
(if enablePlugin
then ["--enable-plugin"]
else ["--disable-plugin"]) ++
# Optional features langC
optional (isl != null) "--with-isl=${isl}" ++ langCC
langFortran
# Java options langJava javaAwtGtk javaAntlr javaEcj
optionals langJava [ langGo
"--with-ecj-jar=${javaEcj}" langObjC
langObjCpp
# Follow Sun's layout for the convenience of IcedTea/OpenJDK. See ;
# <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>. };
"--enable-java-home"
"--with-java-home=\${prefix}/lib/jvm/jre"
] ++
optional javaAwtGtk "--enable-java-awt=gtk" ++
optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}" ++
(import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
optional (targetPlatform != hostPlatform) crossConfigureFlags ++
optional (!bootstrap) "--disable-bootstrap" ++
# Platform-specific flags
optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" ++
optionals hostPlatform.isSunOS [
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
++ optionals (targetPlatform == hostPlatform && targetPlatform.libc == "musl") [
"--disable-libsanitizer"
"--disable-symvers"
"libat_cv_have_ifunc=no"
"--disable-gnu-indirect-function"
]
;
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
buildFlags = optional buildFlags = optional
(bootstrap && hostPlatform == buildPlatform) (targetPlatform == hostPlatform && hostPlatform == buildPlatform)
(if profiledCompiler then "profiledbootstrap" else "bootstrap"); (if profiledCompiler then "profiledbootstrap" else "bootstrap");
dontStrip = !stripped; dontStrip = !stripped;

View File

@ -7,6 +7,7 @@
, profiledCompiler ? false , profiledCompiler ? false
, staticCompiler ? false , staticCompiler ? false
, enableShared ? true , enableShared ? true
, enableLTO ? true
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man); required for Java , perl ? null # optional, for texi2pod (then pod2man); required for Java
, gmp, mpfr, libmpc, gettext, which , gmp, mpfr, libmpc, gettext, which
@ -85,74 +86,8 @@ let version = "6.5.0";
/* Cross-gcc settings (build == host != target) */ /* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
crossConfigureFlags =
# Ensure that -print-prog-name is able to find the correct programs.
[ "--with-as=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-as"
"--with-ld=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-ld" ] ++
(if crossMingw && crossStageStatic then [
"--with-headers=${libcCross}/include"
"--with-gcc"
"--with-gnu-as"
"--with-gnu-ld"
"--with-gnu-ld"
"--disable-shared"
"--disable-nls"
"--disable-debug"
"--enable-sjlj-exceptions"
"--enable-threads=win32"
"--disable-win32-registry"
"--disable-libmpx" # requires libc
] else if crossStageStatic then [
"--disable-libssp"
"--disable-nls"
"--without-headers"
"--disable-threads"
"--disable-libgomp"
"--disable-libquadmath"
"--disable-shared"
"--disable-libatomic" # requires libc
"--disable-decimal-float" # requires libc
"--disable-libmpx" # requires libc
] else [
(if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
else "--with-headers=${getDev libcCross}${libcCross.incdir or "/include"}")
"--enable-__cxa_atexit"
"--enable-long-long"
] ++
(if crossMingw then [
"--enable-threads=win32"
"--enable-sjlj-exceptions"
"--enable-hash-synchronization"
"--enable-libssp"
"--disable-nls"
"--with-dwarf2"
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] else
optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.
"--disable-libsanitizer"
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"
# musl at least, disable: https://git.buildroot.net/buildroot/commit/?id=873d4019f7fb00f6a80592224236b3ba7d657865
"--disable-libmpx"
]
++ optional (targetPlatform.libc == "newlib") "--with-newlib"
++ optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
++ [
"--enable-threads=${if targetPlatform.isUnix then "posix"
else if targetPlatform.isWindows then "win32"
else "single"}"
"--enable-nls"
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
]));
stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final"; stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else ""; crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
bootstrap = targetPlatform == hostPlatform;
in in
@ -253,102 +188,44 @@ stdenv.mkDerivation ({
NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl"; NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl";
preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' preConfigure = import ../common/pre-configure.nix {
export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` inherit (stdenv) lib;
export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" inherit version hostPlatform langJava langGo;
export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" };
export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
''
+ stdenv.lib.optionalString (langJava || langGo) ''
export lib=$out;
'';
dontDisableStatic = true; dontDisableStatic = true;
# TODO(@Ericson2314): Always pass "--target" and always prefix. # TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target"; configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configureFlags = configureFlags = import ../common/configure-flags.nix {
# Basic dependencies inherit
[ stdenv
"--with-gmp-include=${gmp.dev}/include" targetPackages
"--with-gmp-lib=${gmp.out}/lib" crossStageStatic libcCross
"--with-mpfr-include=${mpfr.dev}/include" version
"--with-mpfr-lib=${mpfr.out}/lib"
"--with-mpc=${libmpc}"
] ++
optional (libelf != null) "--with-libelf=${libelf}" ++
optional (!(crossMingw && crossStageStatic))
"--with-native-system-header-dir=${getDev stdenv.cc.libc}/include" ++
# Basic configuration gmp mpfr libmpc libelf isl
[
"--enable-lto"
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"
"--enable-static"
"--enable-languages=${
concatStrings (intersperse ","
( optional langC "c"
++ optional langCC "c++"
++ optional langFortran "fortran"
++ optional langJava "java"
++ optional langGo "go"
++ optional langObjC "objc"
++ optional langObjCpp "obj-c++"
++ optionals crossDarwin [ "objc" "obj-c++" ]
)
)
}"
] ++
(if (enableMultilib || targetPlatform.isAvr) enableLTO
then ["--enable-multilib" "--disable-libquadmath"] enableMultilib
else ["--disable-multilib"]) ++ enablePlugin
optional (!enableShared) "--disable-shared" ++ enableShared
(if enablePlugin
then ["--enable-plugin"]
else ["--disable-plugin"]) ++
# Optional features langC
optional (isl != null) "--with-isl=${isl}" ++ langCC
langFortran
# Java options langJava javaAwtGtk javaAntlr javaEcj
optionals langJava [ langGo
"--with-ecj-jar=${javaEcj}" langObjC
langObjCpp
# Follow Sun's layout for the convenience of IcedTea/OpenJDK. See ;
# <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>. };
"--enable-java-home"
"--with-java-home=\${prefix}/lib/jvm/jre"
] ++
optional javaAwtGtk "--enable-java-awt=gtk" ++
optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}" ++
(import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++
optional (targetPlatform != hostPlatform) crossConfigureFlags ++
optional (!bootstrap) "--disable-bootstrap" ++
# Platform-specific flags
optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" ++
optionals hostPlatform.isSunOS [
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
++ optionals (targetPlatform == hostPlatform && targetPlatform.libc == "musl") [
"--disable-libsanitizer"
"--disable-symvers"
"libat_cv_have_ifunc=no"
"--disable-gnu-indirect-function"
]
;
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
buildFlags = optional buildFlags = optional
(bootstrap && hostPlatform == buildPlatform) (targetPlatform == hostPlatform && hostPlatform == buildPlatform)
(if profiledCompiler then "profiledbootstrap" else "bootstrap"); (if profiledCompiler then "profiledbootstrap" else "bootstrap");
dontStrip = !stripped; dontStrip = !stripped;

View File

@ -63,75 +63,8 @@ let version = "7.4.0";
/* Cross-gcc settings (build == host != target) */ /* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
crossConfigureFlags =
# Ensure that -print-prog-name is able to find the correct programs.
[ "--with-as=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-as"
"--with-ld=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-ld" ] ++
(if crossMingw && crossStageStatic then [
"--with-headers=${getDev libcCross}${libcCross.incdir or "/include"}"
"--with-gcc"
"--with-gnu-as"
"--with-gnu-ld"
"--with-gnu-ld"
"--disable-shared"
"--disable-nls"
"--disable-debug"
"--enable-sjlj-exceptions"
"--enable-threads=win32"
"--disable-win32-registry"
"--disable-libmpx" # requires libc
] else if crossStageStatic then [
"--disable-libssp"
"--disable-nls"
"--without-headers"
"--disable-threads"
"--disable-libgomp"
"--disable-libquadmath"
"--disable-shared"
"--disable-libatomic" # requires libc
"--disable-decimal-float" # requires libc
"--disable-libmpx" # requires libc
] else [
(if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
else "--with-headers=${getDev libcCross}${libcCross.incdir or "/include"}")
"--enable-__cxa_atexit"
"--enable-long-long"
] ++
(if crossMingw then [
"--enable-threads=win32"
"--enable-sjlj-exceptions"
"--enable-hash-synchronization"
"--enable-libssp"
"--disable-nls"
"--with-dwarf2"
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] else
optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.
"--disable-libsanitizer"
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"
# musl at least, disable: https://git.buildroot.net/buildroot/commit/?id=873d4019f7fb00f6a80592224236b3ba7d657865
"--disable-libmpx"
]
++ optional (targetPlatform.libc == "newlib") "--with-newlib"
++ optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
++ [
"--enable-threads=${if targetPlatform.isUnix then "posix"
else if targetPlatform.isWindows then "win32"
else "single"}"
"--enable-nls"
# No final libdecnumber (it may work only in 386)
"--disable-decimal-float"
]));
stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final"; stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
crossNameAddon = if targetPlatform != hostPlatform then "${targetPlatform.config}${stageNameAddon}-" else ""; crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
bootstrap = targetPlatform == hostPlatform;
in in
@ -231,88 +164,45 @@ stdenv.mkDerivation ({
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (stdenv.cc.isClang && langFortran) "-Wno-unused-command-line-argument"; NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (stdenv.cc.isClang && langFortran) "-Wno-unused-command-line-argument";
NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl"; NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl";
preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' preConfigure = import ../common/pre-configure.nix {
export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` inherit (stdenv) lib;
export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" inherit version hostPlatform langGo;
export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" };
export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
'';
dontDisableStatic = true; dontDisableStatic = true;
# TODO(@Ericson2314): Always pass "--target" and always prefix. # TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target"; configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configureFlags = configureFlags = import ../common/configure-flags.nix {
# Basic dependencies inherit
[ stdenv
"--with-gmp-include=${gmp.dev}/include" targetPackages
"--with-gmp-lib=${gmp.out}/lib" crossStageStatic libcCross
"--with-mpfr-include=${mpfr.dev}/include" version
"--with-mpfr-lib=${mpfr.out}/lib"
"--with-mpc=${libmpc}"
] ++
optional (libelf != null) "--with-libelf=${libelf}" ++
optional (!(crossMingw && crossStageStatic))
"--with-native-system-header-dir=${getDev stdenv.cc.libc}/include" ++
# Basic configuration gmp mpfr libmpc libelf isl
[
(if enableLTO then "--enable-lto" else "--disable-lto")
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"
"--enable-static"
"--enable-languages=${
concatStrings (intersperse ","
( optional langC "c"
++ optional langCC "c++"
++ optional langFortran "fortran"
++ optional langGo "go"
++ optional langObjC "objc"
++ optional langObjCpp "obj-c++"
++ optionals crossDarwin [ "objc" "obj-c++" ]
)
)
}"
] ++
(if (enableMultilib || targetPlatform.isAvr) enableLTO
then ["--enable-multilib" "--disable-libquadmath"] enableMultilib
else ["--disable-multilib"]) ++ enablePlugin
optional (!enableShared) "--disable-shared" ++ enableShared
(if enablePlugin
then ["--enable-plugin"]
else ["--disable-plugin"]) ++
# Optional features langC
optional (isl != null) "--with-isl=${isl}" ++ langCC
langFortran
(import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++ langGo
optional (targetPlatform != hostPlatform) crossConfigureFlags ++ langObjC
optional (!bootstrap) "--disable-bootstrap" ++ langObjCpp
;
# Platform-specific flags } ++ optional (targetPlatform.isAarch64) "--enable-fix-cortex-a53-843419"
optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" ++
optionals hostPlatform.isSunOS [
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
++ optionals (targetPlatform == hostPlatform && targetPlatform.libc == "musl") [
"--disable-libsanitizer"
"--disable-symvers"
"libat_cv_have_ifunc=no"
"--disable-gnu-indirect-function"
]
++ optional (targetPlatform.isAarch64) "--enable-fix-cortex-a53-843419"
++ optional targetPlatform.isNetBSD "--disable-libcilkrts" ++ optional targetPlatform.isNetBSD "--disable-libcilkrts"
; ;
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
buildFlags = optional buildFlags = optional
(bootstrap && hostPlatform == buildPlatform) (targetPlatform == hostPlatform && hostPlatform == buildPlatform)
(if profiledCompiler then "profiledbootstrap" else "bootstrap"); (if profiledCompiler then "profiledbootstrap" else "bootstrap");
dontStrip = !stripped; dontStrip = !stripped;

View File

@ -55,79 +55,13 @@ let version = "8.3.0";
/* Cross-gcc settings (build == host != target) */ /* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
crossConfigureFlags =
# Ensure that -print-prog-name is able to find the correct programs.
[ "--with-as=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-as"
"--with-ld=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-ld" ] ++
(if crossMingw && crossStageStatic then [
"--with-headers=${libcCross}/include"
"--with-gcc"
"--with-gnu-as"
"--with-gnu-ld"
"--with-gnu-ld"
"--disable-shared"
"--disable-nls"
"--disable-debug"
"--enable-sjlj-exceptions"
"--enable-threads=win32"
"--disable-win32-registry"
"--disable-libmpx" # requires libc
] else if crossStageStatic then [
"--disable-libssp"
"--disable-nls"
"--without-headers"
"--disable-threads"
"--disable-libgomp"
"--disable-libquadmath"
"--disable-shared"
"--disable-libatomic" # requires libc
"--disable-decimal-float" # requires libc
"--disable-libmpx" # requires libc
] else [
(if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
else "--with-headers=${getDev libcCross}${libcCross.incdir or "/include"}")
"--enable-__cxa_atexit"
"--enable-long-long"
] ++
(if crossMingw then [
"--enable-threads=win32"
"--enable-sjlj-exceptions"
"--enable-hash-synchronization"
"--enable-libssp"
"--disable-nls"
"--with-dwarf2"
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] else
optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.
"--disable-libsanitizer"
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"
# musl at least, disable: https://git.buildroot.net/buildroot/commit/?id=873d4019f7fb00f6a80592224236b3ba7d657865
"--disable-libmpx"
]
++ optional (targetPlatform.libc == "newlib") "--with-newlib"
++ optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
++ [
"--enable-threads=${if targetPlatform.isUnix then "posix"
else if targetPlatform.isWindows then "win32"
else "single"}"
"--enable-nls"
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
]));
stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final"; stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else ""; crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
bootstrap = targetPlatform == hostPlatform;
in in
stdenv.mkDerivation ({ stdenv.mkDerivation ({
name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon; name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh; builder = ../builder.sh;
@ -221,86 +155,43 @@ stdenv.mkDerivation ({
NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl"; NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl";
preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' preConfigure = import ../common/pre-configure.nix {
export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` inherit (stdenv) lib;
export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" inherit version hostPlatform langGo;
export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" };
export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
'';
dontDisableStatic = true; dontDisableStatic = true;
# TODO(@Ericson2314): Always pass "--target" and always prefix. # TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target"; configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configureFlags = configureFlags = import ../common/configure-flags.nix {
# Basic dependencies inherit
[ stdenv
"--with-gmp-include=${gmp.dev}/include" targetPackages
"--with-gmp-lib=${gmp.out}/lib" crossStageStatic libcCross
"--with-mpfr-include=${mpfr.dev}/include" version
"--with-mpfr-lib=${mpfr.out}/lib"
"--with-mpc=${libmpc}"
] ++
optional (libelf != null) "--with-libelf=${libelf}" ++
optional (!(crossMingw && crossStageStatic))
"--with-native-system-header-dir=${getDev stdenv.cc.libc}/include" ++
# Basic configuration gmp mpfr libmpc libelf isl
[
(if enableLTO then "--enable-lto" else "--disable-lto")
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"
"--enable-static"
"--enable-languages=${
concatStrings (intersperse ","
( optional langC "c"
++ optional langCC "c++"
++ optional langFortran "fortran"
++ optional langGo "go"
++ optional langObjC "objc"
++ optional langObjCpp "obj-c++"
++ optionals crossDarwin [ "objc" "obj-c++" ]
)
)
}"
] ++
(if (enableMultilib || targetPlatform.isAvr) enableLTO
then ["--enable-multilib" "--disable-libquadmath"] enableMultilib
else ["--disable-multilib"]) ++ enablePlugin
optional (!enableShared) "--disable-shared" ++ enableShared
(if enablePlugin
then ["--enable-plugin"]
else ["--disable-plugin"]) ++
# Optional features langC
optional (isl != null) "--with-isl=${isl}" ++ langCC
langFortran
(import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++ langGo
optional (targetPlatform != hostPlatform) crossConfigureFlags ++ langObjC
optional (!bootstrap) "--disable-bootstrap" ++ langObjCpp
;
# Platform-specific flags };
optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" ++
optionals hostPlatform.isSunOS [
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
++ optionals (targetPlatform == hostPlatform && targetPlatform.libc == "musl") [
"--disable-libsanitizer"
"--disable-symvers"
"libat_cv_have_ifunc=no"
"--disable-gnu-indirect-function"
]
;
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
buildFlags = optional buildFlags = optional
(bootstrap && hostPlatform == buildPlatform) (targetPlatform == hostPlatform && hostPlatform == buildPlatform)
(if profiledCompiler then "profiledbootstrap" else "bootstrap"); (if profiledCompiler then "profiledbootstrap" else "bootstrap");
dontStrip = !stripped; dontStrip = !stripped;

View File

@ -6,6 +6,7 @@
, profiledCompiler ? false , profiledCompiler ? false
, staticCompiler ? false , staticCompiler ? false
, enableShared ? true , enableShared ? true
, enableLTO ? true
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man) , perl ? null # optional, for texi2pod (then pod2man)
, gmp, mpfr, libmpc, gettext, which , gmp, mpfr, libmpc, gettext, which
@ -53,79 +54,13 @@ let version = "9.2.0";
/* Cross-gcc settings (build == host != target) */ /* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
crossConfigureFlags =
# Ensure that -print-prog-name is able to find the correct programs.
[ "--with-as=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-as"
"--with-ld=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-ld" ] ++
(if crossMingw && crossStageStatic then [
"--with-headers=${libcCross}/include"
"--with-gcc"
"--with-gnu-as"
"--with-gnu-ld"
"--with-gnu-ld"
"--disable-shared"
"--disable-nls"
"--disable-debug"
"--enable-sjlj-exceptions"
"--enable-threads=win32"
"--disable-win32-registry"
"--disable-libmpx" # requires libc
] else if crossStageStatic then [
"--disable-libssp"
"--disable-nls"
"--without-headers"
"--disable-threads"
"--disable-libgomp"
"--disable-libquadmath"
"--disable-shared"
"--disable-libatomic" # requires libc
"--disable-decimal-float" # requires libc
"--disable-libmpx" # requires libc
] else [
(if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
else "--with-headers=${getDev libcCross}${libcCross.incdir or "/include"}")
"--enable-__cxa_atexit"
"--enable-long-long"
] ++
(if crossMingw then [
"--enable-threads=win32"
"--enable-sjlj-exceptions"
"--enable-hash-synchronization"
"--enable-libssp"
"--disable-nls"
"--with-dwarf2"
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] else
optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.
"--disable-libsanitizer"
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"
# musl at least, disable: https://git.buildroot.net/buildroot/commit/?id=873d4019f7fb00f6a80592224236b3ba7d657865
"--disable-libmpx"
]
++ optional (targetPlatform.libc == "newlib") "--with-newlib"
++ optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
++ [
"--enable-threads=${if targetPlatform.isUnix then "posix"
else if targetPlatform.isWindows then "win32"
else "single"}"
"--enable-nls"
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
]));
stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final"; stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else ""; crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
bootstrap = targetPlatform == hostPlatform;
in in
stdenv.mkDerivation ({ stdenv.mkDerivation ({
name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon; name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh; builder = ../builder.sh;
@ -219,86 +154,43 @@ stdenv.mkDerivation ({
NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl"; NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl";
preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' preConfigure = import ../common/pre-configure.nix {
export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` inherit (stdenv) lib;
export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" inherit version hostPlatform langGo;
export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" };
export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
'';
dontDisableStatic = true; dontDisableStatic = true;
# TODO(@Ericson2314): Always pass "--target" and always prefix. # TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target"; configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configureFlags = configureFlags = import ../common/configure-flags.nix {
# Basic dependencies inherit
[ stdenv
"--with-gmp-include=${gmp.dev}/include" targetPackages
"--with-gmp-lib=${gmp.out}/lib" crossStageStatic libcCross
"--with-mpfr-include=${mpfr.dev}/include" version
"--with-mpfr-lib=${mpfr.out}/lib"
"--with-mpc=${libmpc}"
] ++
optional (libelf != null) "--with-libelf=${libelf}" ++
optional (!(crossMingw && crossStageStatic))
"--with-native-system-header-dir=${getDev stdenv.cc.libc}/include" ++
# Basic configuration gmp mpfr libmpc libelf isl
[
"--enable-lto"
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"
"--enable-static"
"--enable-languages=${
concatStrings (intersperse ","
( optional langC "c"
++ optional langCC "c++"
++ optional langFortran "fortran"
++ optional langGo "go"
++ optional langObjC "objc"
++ optional langObjCpp "obj-c++"
++ optionals crossDarwin [ "objc" "obj-c++" ]
)
)
}"
] ++
(if (enableMultilib || targetPlatform.isAvr) enableLTO
then ["--enable-multilib" "--disable-libquadmath"] enableMultilib
else ["--disable-multilib"]) ++ enablePlugin
optional (!enableShared) "--disable-shared" ++ enableShared
(if enablePlugin
then ["--enable-plugin"]
else ["--disable-plugin"]) ++
# Optional features langC
optional (isl != null) "--with-isl=${isl}" ++ langCC
langFortran
(import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++ langGo
optional (targetPlatform != hostPlatform) crossConfigureFlags ++ langObjC
optional (!bootstrap) "--disable-bootstrap" ++ langObjCpp
;
# Platform-specific flags };
optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}" ++
optionals hostPlatform.isSunOS [
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
++ optionals (targetPlatform == hostPlatform && targetPlatform.libc == "musl") [
"--disable-libsanitizer"
"--disable-symvers"
"libat_cv_have_ifunc=no"
"--disable-gnu-indirect-function"
]
;
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
buildFlags = optional buildFlags = optional
(bootstrap && hostPlatform == buildPlatform) (targetPlatform == hostPlatform && hostPlatform == buildPlatform)
(if profiledCompiler then "profiledbootstrap" else "bootstrap"); (if profiledCompiler then "profiledbootstrap" else "bootstrap");
dontStrip = !stripped; dontStrip = !stripped;

View File

@ -0,0 +1,174 @@
{ stdenv
, targetPackages
, crossStageStatic, libcCross
, version
, gmp, mpfr, libmpc, libelf, isl
, cloog ? null
, enableLTO
, enableMultilib
, enablePlugin
, enableShared
, langC
, langCC
, langFortran
, langJava ? false, javaAwtGtk ? false, javaAntlr ? null, javaEcj ? null
, langGo
, langObjC
, langObjCpp
}:
assert cloog != null -> stdenv.lib.versionOlder version "5";
assert langJava -> stdenv.lib.versionOlder version "6";
let
inherit (stdenv)
buildPlatform hostPlatform targetPlatform
lib;
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
crossConfigureFlags =
# Ensure that -print-prog-name is able to find the correct programs.
[
"--with-as=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-as"
"--with-ld=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-ld"
]
++ (if crossStageStatic then [
"--disable-libssp"
"--disable-nls"
"--without-headers"
"--disable-threads"
"--disable-libgomp"
"--disable-libquadmath"
"--disable-shared"
"--disable-libatomic" # requires libc
"--disable-decimal-float" # requires libc
"--disable-libmpx" # requires libc
] ++ lib.optionals crossMingw [
"--with-headers=${libcCross}/include"
"--with-gcc"
"--with-gnu-as"
"--with-gnu-ld"
"--disable-debug"
"--enable-sjlj-exceptions"
"--disable-win32-registry"
] else [
(if crossDarwin then "--with-sysroot=${lib.getLib libcCross}/share/sysroot"
else "--with-headers=${lib.getDev libcCross}${libcCross.incdir or "/include"}")
"--enable-__cxa_atexit"
"--enable-long-long"
"--enable-threads=${if targetPlatform.isUnix then "posix"
else if targetPlatform.isWindows then "win32"
else "single"}"
"--enable-nls"
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
] ++ lib.optionals (targetPlatform.libc == "uclibc" || targetPlatform.libc == "musl") [
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.
"--disable-libsanitizer"
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"
] ++ lib.optionals (targetPlatform.libc == "musl") [
# musl at least, disable: https://git.buildroot.net/buildroot/commit/?id=873d4019f7fb00f6a80592224236b3ba7d657865
"--disable-libmpx"
] ++ lib.optionals crossMingw [
"--enable-sjlj-exceptions"
"--enable-hash-synchronization"
"--enable-libssp"
"--disable-nls"
"--with-dwarf2"
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] ++ lib.optional (targetPlatform.libc == "newlib") "--with-newlib"
++ lib.optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
);
configureFlags =
# Basic dependencies
[
"--with-gmp-include=${gmp.dev}/include"
"--with-gmp-lib=${gmp.out}/lib"
"--with-mpfr-include=${mpfr.dev}/include"
"--with-mpfr-lib=${mpfr.out}/lib"
"--with-mpc=${libmpc}"
]
++ lib.optional (libelf != null) "--with-libelf=${libelf}"
++ lib.optional (!(crossMingw && crossStageStatic))
"--with-native-system-header-dir=${lib.getDev stdenv.cc.libc}/include"
# Basic configuration
++ [
(lib.enableFeature enableLTO "lto")
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"
"--enable-static"
"--enable-languages=${
lib.concatStrings (lib.intersperse ","
( lib.optional langC "c"
++ lib.optional langCC "c++"
++ lib.optional langFortran "fortran"
++ lib.optional langJava "java"
++ lib.optional langGo "go"
++ lib.optional langObjC "objc"
++ lib.optional langObjCpp "obj-c++"
++ lib.optionals crossDarwin [ "objc" "obj-c++" ]
)
)
}"
]
++ (if (enableMultilib || targetPlatform.isAvr)
then ["--enable-multilib" "--disable-libquadmath"]
else ["--disable-multilib"])
++ lib.optional (!enableShared) "--disable-shared"
++ [
(lib.enableFeature enablePlugin "plugin")
]
# Optional features
++ lib.optional (isl != null) "--with-isl=${isl}"
++ lib.optionals (cloog != null) [
"--with-cloog=${cloog}"
"--disable-cloog-version-check"
"--enable-cloog-backend=isl"
]
# Java options
++ lib.optionals langJava [
"--with-ecj-jar=${javaEcj}"
# Follow Sun's layout for the convenience of IcedTea/OpenJDK. See
# <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>.
"--enable-java-home"
"--with-java-home=\${prefix}/lib/jvm/jre"
]
++ lib.optional javaAwtGtk "--enable-java-awt=gtk"
++ lib.optional (langJava && javaAntlr != null) "--with-antlr-jar=${javaAntlr}"
++ (import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; })
++ lib.optional (targetPlatform != hostPlatform) crossConfigureFlags
++ lib.optional (targetPlatform != hostPlatform) "--disable-bootstrap"
# Platform-specific flags
++ lib.optional (targetPlatform == hostPlatform && targetPlatform.isx86_32) "--with-arch=${stdenv.hostPlatform.parsed.cpu.name}"
++ lib.optionals hostPlatform.isSunOS [
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
++ lib.optionals (targetPlatform == hostPlatform && targetPlatform.libc == "musl") [
"--disable-libsanitizer"
"--disable-symvers"
"libat_cv_have_ifunc=no"
"--disable-gnu-indirect-function"
]
;
in configureFlags

View File

@ -0,0 +1,12 @@
{ lib, version, hostPlatform, langJava ? false, langGo }:
assert langJava -> lib.versionOlder version "7";
lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) ''
export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g`
export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET"
export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET"
export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
'' + lib.optionalString (lib.versionOlder version "7" && (langJava || langGo)) ''
export lib=$out;
''

View File

@ -6,6 +6,7 @@
, profiledCompiler ? false , profiledCompiler ? false
, staticCompiler ? false , staticCompiler ? false
, enableShared ? true , enableShared ? true
, enableLTO ? true
, texinfo ? null , texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man) , perl ? null # optional, for texi2pod (then pod2man)
, gmp, mpfr, libmpc, gettext, which , gmp, mpfr, libmpc, gettext, which
@ -50,77 +51,13 @@ let version = "7-20170409";
/* Cross-gcc settings (build == host != target) */ /* Cross-gcc settings (build == host != target) */
crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt"; crossMingw = targetPlatform != hostPlatform && targetPlatform.libc == "msvcrt";
crossDarwin = targetPlatform != hostPlatform && targetPlatform.libc == "libSystem";
crossConfigureFlags =
# Ensure that -print-prog-name is able to find the correct programs.
[ "--with-as=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-as"
"--with-ld=${targetPackages.stdenv.cc.bintools}/bin/${targetPlatform.config}-ld" ] ++
(if crossMingw && crossStageStatic then [
"--with-headers=${libcCross}/include"
"--with-gcc"
"--with-gnu-as"
"--with-gnu-ld"
"--with-gnu-ld"
"--disable-shared"
"--disable-nls"
"--disable-debug"
"--enable-sjlj-exceptions"
"--enable-threads=win32"
"--disable-win32-registry"
"--disable-libmpx" # requires libc
] else if crossStageStatic then [
"--disable-libssp"
"--disable-nls"
"--without-headers"
"--disable-threads"
"--disable-libgomp"
"--disable-libquadmath"
"--disable-shared"
"--disable-libatomic" # requires libc
"--disable-decimal-float" # requires libc
"--disable-libmpx" # requires libc
] else [
(if crossDarwin then "--with-sysroot=${getLib libcCross}/share/sysroot"
else "--with-headers=${getDev libcCross}/include")
"--enable-__cxa_atexit"
"--enable-long-long"
] ++
(if crossMingw then [
"--enable-threads=win32"
"--enable-sjlj-exceptions"
"--enable-hash-synchronization"
"--enable-libssp"
"--disable-nls"
"--with-dwarf2"
# To keep ABI compatibility with upstream mingw-w64
"--enable-fully-dynamic-string"
] else
optionals (targetPlatform.libc == "uclibc") [
# libsanitizer requires netrom/netrom.h which is not
# available in uclibc.
"--disable-libsanitizer"
# In uclibc cases, libgomp needs an additional '-ldl'
# and as I don't know how to pass it, I disable libgomp.
"--disable-libgomp"
]
++ optional (targetPlatform.libc == "newlib") "--with-newlib"
++ optional (targetPlatform.libc == "avrlibc") "--with-avrlibc"
++ [
"--enable-threads=${if targetPlatform.isUnix then "posix"
else if targetPlatform.isWindows then "win32"
else "single"}"
"--enable-nls"
"--disable-decimal-float" # No final libdecnumber (it may work only in 386)
]));
stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final"; stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else ""; crossNameAddon = if targetPlatform != hostPlatform then "-${targetPlatform.config}" + stageNameAddon else "";
bootstrap = targetPlatform == hostPlatform;
in in
stdenv.mkDerivation ({ stdenv.mkDerivation ({
name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon; name = crossNameAddon + "${name}${if stripped then "" else "-debug"}-${version}";
builder = ../builder.sh; builder = ../builder.sh;
@ -184,82 +121,44 @@ stdenv.mkDerivation ({
NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl"; NIX_LDFLAGS = stdenv.lib.optionalString hostPlatform.isSunOS "-lm -ldl";
preConfigure = stdenv.lib.optionalString (hostPlatform.isSunOS && hostPlatform.is64bit) '' preConfigure = import ../common/pre-configure.nix {
export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g` inherit (stdenv) lib;
export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET" inherit version hostPlatform langGo;
export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET" };
export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
'';
dontDisableStatic = true; dontDisableStatic = true;
# TODO(@Ericson2314): Always pass "--target" and always prefix. # TODO(@Ericson2314): Always pass "--target" and always prefix.
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target"; configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (targetPlatform != hostPlatform) "target";
configureFlags = configureFlags = import ../common/configure-flags.nix {
# Basic dependencies inherit
[ stdenv
"--with-gmp-include=${gmp.dev}/include" targetPackages
"--with-gmp-lib=${gmp.out}/lib" crossStageStatic libcCross
"--with-mpfr-include=${mpfr.dev}/include" version
"--with-mpfr-lib=${mpfr.out}/lib"
"--with-mpc=${libmpc}"
] ++
optional (libelf != null) "--with-libelf=${libelf}" ++
optional (!(crossMingw && crossStageStatic))
"--with-native-system-header-dir=${getDev stdenv.cc.libc}/include" ++
# Basic configuration gmp mpfr libmpc libelf isl
[
"--enable-lto"
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"
"--enable-static"
"--enable-languages=${
concatStrings (intersperse ","
( optional langC "c"
++ optional langCC "c++"
++ optional langFortran "fortran"
++ optional langGo "go"
++ optional langObjC "objc"
++ optional langObjCpp "obj-c++"
++ optionals crossDarwin [ "objc" "obj-c++" ]
)
)
}"
] ++
(if enableMultilib enableLTO
then ["--enable-multilib" "--disable-libquadmath"] enableMultilib
else ["--disable-multilib"]) ++ enablePlugin
optional (!enableShared) "--disable-shared" ++ enableShared
(if enablePlugin
then ["--enable-plugin"]
else ["--disable-plugin"]) ++
# Optional features langC
optional (isl != null) "--with-isl=${isl}" ++ langCC
langFortran
langGo
(import ../common/platform-flags.nix { inherit (stdenv) lib targetPlatform; }) ++ langObjC
optional (targetPlatform != hostPlatform) crossConfigureFlags ++ langObjCpp
optional (!bootstrap) "--disable-bootstrap" ++ ;
};
# Platform-specific flags
optional (targetPlatform == hostPlatform && targetPlatform.isi686) "--with-arch=i686" ++
optionals hostPlatform.isSunOS [
"--enable-long-long" "--enable-libssp" "--enable-threads=posix" "--disable-nls" "--enable-__cxa_atexit"
# On Illumos/Solaris GNU as is preferred
"--with-gnu-as" "--without-gnu-ld"
]
;
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
buildFlags = if bootstrap then buildFlags = optional
(if profiledCompiler then "profiledbootstrap" else "bootstrap") (targetPlatform == hostPlatform && hostPlatform == buildPlatform)
else ""; (if profiledCompiler then "profiledbootstrap" else "bootstrap");
dontStrip = !stripped; dontStrip = !stripped;
NIX_STRIP_DEBUG = !stripped; NIX_STRIP_DEBUG = !stripped;

View File

@ -0,0 +1,44 @@
{ stdenv
, fetchurl
, unzip
, jdk
, ant
, makeWrapper
, jre
, callPackage
}:
stdenv.mkDerivation rec {
pname = "jasmin";
version = "2.4";
src = fetchurl {
url = "mirror://sourceforge/jasmin/jasmin-${version}/jasmin-${version}.zip";
sha256 = "17a41vr96glcdrdbk88805wwvv1r6w8wg7if23yhd0n6rrl0r8ga";
};
nativeBuildInputs = [ unzip jdk ant makeWrapper ];
buildPhase = "ant all";
installPhase =
''
install -Dm644 jasmin.jar $out/share/java/jasmin.jar
mkdir -p $out/bin
makeWrapper ${jre}/bin/java $out/bin/jasmin \
--add-flags "-jar $out/share/java/jasmin.jar"
'';
passthru.tests = {
minimal-module = callPackage ./test-assemble-hello-world {};
};
meta = with stdenv.lib; {
description = "An assembler for the Java Virtual Machine";
homepage = "http://jasmin.sourceforge.net/";
downloadPage = "https://sourceforge.net/projects/jasmin/files/latest/download";
license = licenses.bsd3;
maintainers = with maintainers; [ fgaz ];
platforms = platforms.all;
};
}

View File

@ -0,0 +1,31 @@
.class public HelloWorld
.super java/lang/Object
;
; standard initializer (calls java.lang.Object's initializer)
;
.method public <init>()V
aload_0
invokenonvirtual java/lang/Object/<init>()V
return
.end method
;
; main() - prints out Hello World
;
.method public static main([Ljava/lang/String;)V
.limit stack 2 ; up to two items can be pushed
; push System.out onto the stack
getstatic java/lang/System/out Ljava/io/PrintStream;
; push a string onto the stack
ldc "Hello World!"
; call the PrintStream.println() method.
invokevirtual java/io/PrintStream/println(Ljava/lang/String;)V
; done
return
.end method

View File

@ -0,0 +1,12 @@
{ stdenv, jasmin, jre }:
stdenv.mkDerivation {
name = "jasmin-test-assemble-hello-world";
meta.timeout = 60;
buildCommand = ''
${jasmin}/bin/jasmin ${./HelloWorld.j}
${jre}/bin/java HelloWorld | grep "Hello World"
touch $out
'';
}

View File

@ -16,6 +16,15 @@ stdenv.mkDerivation rec {
sha256 = "09qgy36z0jc9w05373m4n0vm4j54almdzql6z9p9zr9pdp61syf3"; sha256 = "09qgy36z0jc9w05373m4n0vm4j54almdzql6z9p9zr9pdp61syf3";
}; };
patches = [
(fetchpatch {
name = "CVE-2019-17545.patch";
url = "https://github.com/OSGeo/gdal/commit/8cd2d2eb6327cf782a74dae263ffa6f89f46c93d.patch";
stripLen = 1;
sha256 = "06h88a659jcqf6ps1m91qy78s6s9krbkwnz28f5qh7032vlp6qpw";
})
];
buildInputs = [ unzip libjpeg libtiff libgeotiff libpng proj openssl sqlite buildInputs = [ unzip libjpeg libtiff libgeotiff libpng proj openssl sqlite
libspatialite poppler hdf4 qhull giflib expat libxml2 proj ] libspatialite poppler hdf4 qhull giflib expat libxml2 proj ]
++ (with pythonPackages; [ python numpy wrapPython ]) ++ (with pythonPackages; [ python numpy wrapPython ])

View File

@ -20,7 +20,15 @@ stdenv.mkDerivation rec {
sourceRoot = "source/gdal"; sourceRoot = "source/gdal";
patches = [ ./001.3_0_1.darwin.patch ]; patches = [
./001.3_0_1.darwin.patch
(fetchpatch {
name = "CVE-2019-17545.patch";
url = "https://github.com/OSGeo/gdal/commit/148115fcc40f1651a5d15fa34c9a8c528e7147bb.patch";
stripLen = 1;
sha256 = "0hai59hhvrci9xwjw4lp3wc1brn00imngmqrbbs8v9yr3b0fzbgs";
})
];
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];

View File

@ -0,0 +1,34 @@
{ stdenv
, fetchurl
, expat
, gpgme
, libgcrypt
, libxml2
, libxslt
, curl
, docbook_xsl
}:
stdenv.mkDerivation rec {
pname = "libisds";
version = "0.11";
src = fetchurl {
url = "http://xpisar.wz.cz/${pname}/dist/${pname}-${version}.tar.xz";
sha256 = "1cy161l7rl25xji2xpb9vjpvg02bc7mwd4fpp2sx9zhpifn5dfbr";
};
configureFlags = [
"--with-docbook-xsl-stylesheets=${docbook_xsl}/xml/xsl/docbook"
];
buildInputs = [ expat gpgme libgcrypt libxml2 libxslt curl docbook_xsl ];
meta = with stdenv.lib; {
description = "Client library for accessing SOAP services of Czech government-provided Databox infomation system";
homepage = "http://xpisar.wz.cz/libisds/";
license = licenses.lgpl3;
maintainers = [ maintainers.mmahut ];
platforms = platforms.linux;
};
}

View File

@ -1,44 +1,35 @@
{ stdenv, lib, fetchFromGitHub, pkgconfig, protobuf, cmake, zlib { stdenv, lib, fetchFromGitHub, pkgconfig, cmake
, opentracing-cpp, enableGrpc ? false , opentracing-cpp, protobuf, zlib
, enableGrpc ? false, grpc ? null, openssl ? null, c-ares ? null
}: }:
let assert enableGrpc -> grpc != null;
# be sure to use the right revision based on the submodule! assert enableGrpc -> openssl != null;
common = assert enableGrpc -> c-ares != null;
fetchFromGitHub {
owner = "lightstep";
repo = "lightstep-tracer-common";
rev = "5fe3bf885bcece14c3c65df06c86c826ba45ad69";
sha256 = "1q39a0zaqbnqyhl2hza2xzc44235p65bbkfkzs2981niscmggq8w";
};
in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lightstep-tracer-cpp"; pname = "lightstep-tracer-cpp";
version = "0.8.1"; version = "0.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lightstep"; owner = "lightstep";
repo = "lightstep-tracer-cpp"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1m4kl70lhvy1bsmkdh6bf2fddz5v1ikb27vgi99i2akpq40g4fvf"; sha256 = "1x7n3b5i9a0481azy3ymfybjfvr5z0i8wm17d964hsv7ryvnapj0";
}; };
postUnpack = ''
cp -r ${common}/* $sourceRoot/lightstep-tracer-common
'';
cmakeFlags = ["-DOPENTRACING_INCLUDE_DIR=${opentracing-cpp}/include" "-DOPENTRACING_LIBRARY=${opentracing-cpp}/lib/libopentracing.so"] ++ lib.optional (!enableGrpc) [ "-DWITH_GRPC=OFF" ];
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig cmake cmake pkgconfig
]; ];
buildInputs = [ buildInputs = [
protobuf zlib opentracing-cpp protobuf zlib
] ++ lib.optionals enableGrpc [
grpc openssl c-ares c-ares.cmake-config
]; ];
cmakeFlags = lib.optionals (!enableGrpc) [ "-DWITH_GRPC=OFF" ];
meta = with lib; { meta = with lib; {
description = "Distributed tracing system built on top of the OpenTracing standard"; description = "Distributed tracing system built on top of the OpenTracing standard";
homepage = "https://lightstep.com/"; homepage = "https://lightstep.com/";

View File

@ -79,6 +79,15 @@ let
url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/qtbug-77037-workaround.patch?h=packages/qt5-webengine&id=fc77d6b3d5ec74e421b58f199efceb2593cbf951"; url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/qtbug-77037-workaround.patch?h=packages/qt5-webengine&id=fc77d6b3d5ec74e421b58f199efceb2593cbf951";
sha256 = "1gv733qfdn9746nbqqxzyjx4ijjqkkb7zb71nxax49nna5bri3am"; sha256 = "1gv733qfdn9746nbqqxzyjx4ijjqkkb7zb71nxax49nna5bri3am";
}) })
# patch for CVE-2019-13720, can be removed when it is included in the next upstream release
# https://bugreports.qt.io/browse/QTBUG-1019226
(fetchpatch {
name = "qtwebengine-CVE-2019-13720.patch";
url = "https://code.qt.io/cgit/qt/qtwebengine-chromium.git/patch/?id=d6e5fc10";
sha256 = "0ywc12m196pr6xn7l5xbascihygkjj4pbcgcn9wxvi5ssdr6z46z";
extraPrefix = "src/3rdparty/";
stripLen = 1;
})
] ]
++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch; ++ optional stdenv.isDarwin ./qtwebengine-darwin-no-platform-check.patch;
qtwebkit = [ ./qtwebkit.patch ] qtwebkit = [ ./qtwebkit.patch ]

View File

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "randomX";
version = "1.1.6";
nativeBuildInputs = [ cmake ];
src = fetchFromGitHub {
owner = "tevador";
repo = pname;
rev = "v${version}";
sha256 = "1qd0rbzgxdy87wwy0n6ca29bcq25j5ndnfgmx8iyf225m4rcwngf";
};
meta = with stdenv.lib; {
description = "Proof of work algorithm based on random code execution";
homepage = https://github.com/tevador/RandomX;
license = licenses.bsd3;
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
};
}

View File

@ -16,7 +16,7 @@ assert stdenv.isDarwin -> !enableGtk2Plugins;
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "webkitgtk"; pname = "webkitgtk";
version = "2.26.1"; version = "2.26.2";
meta = { meta = {
description = "Web content rendering engine, GTK port"; description = "Web content rendering engine, GTK port";
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz"; url = "https://webkitgtk.org/releases/${pname}-${version}.tar.xz";
sha256 = "0mfikjfjhwcnrxbzdyh3fl9bbs2azgbdnx8h5910h41b3n022jvb"; sha256 = "04k5h0sid9azsqz9pyq436v1rx4lnfrhvmcgmicqb0c0g9iz103b";
}; };
patches = optionals stdenv.isLinux [ patches = optionals stdenv.isLinux [

View File

@ -1,8 +1,8 @@
{pkgs, androidenv, xcodeenv, tiVersion ? "7.1.0.GA"}: {pkgs, androidenv, xcodeenv, tiVersion ? "8.2.1.GA"}:
rec { rec {
titaniumsdk = let titaniumsdk = let
titaniumSdkFile = if tiVersion == "7.1.0.GA" then ./titaniumsdk-7.1.nix titaniumSdkFile = if tiVersion == "8.2.1.GA" then ./titaniumsdk-8.2.nix
else if tiVersion == "7.5.1.GA" then ./titaniumsdk-7.5.nix else if tiVersion == "7.5.1.GA" then ./titaniumsdk-7.5.nix
else throw "Titanium version not supported: "+tiVersion; else throw "Titanium version not supported: "+tiVersion;
in in

View File

@ -53,14 +53,14 @@ let
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "mobilesdk-7.1.0.GA"; name = "mobilesdk-8.2.1.GA";
src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl { src = if (stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux") then fetchurl {
url = http://builds.appcelerator.com/mobile/7_1_X/mobilesdk-7.1.0.v20180314133955-linux.zip; url = https://builds.appcelerator.com/mobile/8_2_X/mobilesdk-8.2.1.v20191025070136-linux.zip;
sha256 = "18b3jnr65sdn5wj191bcl48gvhyklxmighxakv4vrz1fb59kyvqn"; sha256 = "1nvcmm6cby6bmwdiacq46n5y4zjpz9qlipakvglw27j3p4rbmkwl";
} }
else if stdenv.system == "x86_64-darwin" then fetchurl { else if stdenv.system == "x86_64-darwin" then fetchurl {
url = http://builds.appcelerator.com/mobile/7_1_X/mobilesdk-7.1.0.v20180314133955-osx.zip; url = https://builds.appcelerator.com/mobile/8_2_X/mobilesdk-8.2.1.v20191025070136-osx.zip;
sha256 = "1f62616biwsw1fqxz2sq7lpa6bsfjazffliplyf5dpnh298cnc1m"; sha256 = "1nxwmyw3vqc5wghj38kpksisy0i808x0x3pa8w3p290w709g311l";
} }
else throw "Platform: ${stdenv.system} not supported!"; else throw "Platform: ${stdenv.system} not supported!";
@ -73,7 +73,7 @@ stdenv.mkDerivation {
# Rename ugly version number # Rename ugly version number
cd mobilesdk/* cd mobilesdk/*
mv * 7.1.0.GA mv * 8.2.1.GA
cd * cd *
# Patch bundled gradle build infrastructure to make shebangs work # Patch bundled gradle build infrastructure to make shebangs work
@ -87,6 +87,13 @@ stdenv.mkDerivation {
# Patch maven central repository with our own local directory. This prevents the builder from downloading Maven artifacts # Patch maven central repository with our own local directory. This prevents the builder from downloading Maven artifacts
sed -i -e 's|mavenCentral()|maven { url "${fakeMavenRepo}" }|' android/templates/build/proguard.gradle sed -i -e 's|mavenCentral()|maven { url "${fakeMavenRepo}" }|' android/templates/build/proguard.gradle
${stdenv.lib.optionalString (stdenv.system == "x86_64-darwin") ''
# Patch the strip frameworks script in the iPhone build template to not let
# it skip the strip phase. This is caused by an assumption on the file
# permissions in which Nix deviates from the standard.
sed -i -e "s|-perm +111|-perm /111|" iphone/templates/build/strip-frameworks.sh
''}
# Patch some executables # Patch some executables
${if stdenv.system == "i686-linux" then ${if stdenv.system == "i686-linux" then

View File

@ -1,7 +1,7 @@
{stdenv, composeXcodeWrapper}: {stdenv, composeXcodeWrapper}:
{ name { name
, src , src
, sdkVersion ? "12.1" , sdkVersion ? "13.1"
, target ? null , target ? null
, configuration ? null , configuration ? null
, scheme ? null , scheme ? null

View File

@ -1,5 +1,5 @@
{stdenv}: {stdenv}:
{version ? "10.1", xcodeBaseDir ? "/Applications/Xcode.app"}: {version ? "11.1", xcodeBaseDir ? "/Applications/Xcode.app"}:
assert stdenv.isDarwin; assert stdenv.isDarwin;

View File

@ -41,6 +41,7 @@
, "git-run" , "git-run"
, "git-ssb" , "git-ssb"
, "git-standup" , "git-standup"
, "gitmoji-cli"
, "graphql-cli" , "graphql-cli"
, "grunt-cli" , "grunt-cli"
, "gtop" , "gtop"

File diff suppressed because it is too large Load Diff

View File

@ -2047,13 +2047,13 @@ let
sha512 = "w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA=="; sha512 = "w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==";
}; };
}; };
"temp-0.9.0" = { "temp-0.9.1" = {
name = "temp"; name = "temp";
packageName = "temp"; packageName = "temp";
version = "0.9.0"; version = "0.9.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/temp/-/temp-0.9.0.tgz"; url = "https://registry.npmjs.org/temp/-/temp-0.9.1.tgz";
sha512 = "YfUhPQCJoNQE5N+FJQcdPz63O3x3sdT4Xju69Gj4iZe0lBKOtnAMi0SLj9xKhGkcGhsxThvTJ/usxtFPo438zQ=="; sha512 = "WMuOgiua1xb5R56lE0eH6ivpVmg/lq2OHm4+LtT/xtEtPQ+sz6N3bBM6WZ5FvO1lO4IKIOb43qnhoc4qxP5OeA==";
}; };
}; };
"to-object-path-0.3.0" = { "to-object-path-0.3.0" = {
@ -2749,7 +2749,7 @@ in
}) })
sources."strip-ansi-3.0.1" sources."strip-ansi-3.0.1"
sources."tar-4.4.13" sources."tar-4.4.13"
sources."temp-0.9.0" sources."temp-0.9.1"
(sources."tough-cookie-2.4.3" // { (sources."tough-cookie-2.4.3" // {
dependencies = [ dependencies = [
sources."punycode-1.4.1" sources."punycode-1.4.1"

View File

@ -400,13 +400,13 @@ let
sha512 = "J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ=="; sha512 = "J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ==";
}; };
}; };
"graceful-fs-4.2.2" = { "graceful-fs-4.2.3" = {
name = "graceful-fs"; name = "graceful-fs";
packageName = "graceful-fs"; packageName = "graceful-fs";
version = "4.2.2"; version = "4.2.3";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.2.tgz"; url = "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz";
sha512 = "IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q=="; sha512 = "a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==";
}; };
}; };
"har-schema-2.0.0" = { "har-schema-2.0.0" = {
@ -1111,13 +1111,13 @@ let
sha512 = "w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA=="; sha512 = "w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==";
}; };
}; };
"temp-0.9.0" = { "temp-0.9.1" = {
name = "temp"; name = "temp";
packageName = "temp"; packageName = "temp";
version = "0.9.0"; version = "0.9.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/temp/-/temp-0.9.0.tgz"; url = "https://registry.npmjs.org/temp/-/temp-0.9.1.tgz";
sha512 = "YfUhPQCJoNQE5N+FJQcdPz63O3x3sdT4Xju69Gj4iZe0lBKOtnAMi0SLj9xKhGkcGhsxThvTJ/usxtFPo438zQ=="; sha512 = "WMuOgiua1xb5R56lE0eH6ivpVmg/lq2OHm4+LtT/xtEtPQ+sz6N3bBM6WZ5FvO1lO4IKIOb43qnhoc4qxP5OeA==";
}; };
}; };
"tough-cookie-2.4.3" = { "tough-cookie-2.4.3" = {
@ -1320,7 +1320,7 @@ in
sources."gauge-2.7.4" sources."gauge-2.7.4"
sources."getpass-0.1.7" sources."getpass-0.1.7"
sources."glob-7.1.5" sources."glob-7.1.5"
sources."graceful-fs-4.2.2" sources."graceful-fs-4.2.3"
sources."har-schema-2.0.0" sources."har-schema-2.0.0"
sources."har-validator-5.1.3" sources."har-validator-5.1.3"
sources."has-unicode-2.0.1" sources."has-unicode-2.0.1"
@ -1417,7 +1417,7 @@ in
}) })
sources."strip-ansi-3.0.1" sources."strip-ansi-3.0.1"
sources."tar-4.4.13" sources."tar-4.4.13"
sources."temp-0.9.0" sources."temp-0.9.1"
(sources."tough-cookie-2.4.3" // { (sources."tough-cookie-2.4.3" // {
dependencies = [ dependencies = [
sources."punycode-1.4.1" sources."punycode-1.4.1"

View File

@ -1,18 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder { stdenv, buildPythonPackage, fetchPypi, pythonOlder
, attrs, click, toml, appdirs, aiohttp, aiohttp-cors , attrs, click, toml, appdirs, aiohttp, aiohttp-cors
, glibcLocales, pytest }: , glibcLocales, typed-ast, pathspec, regex
, setuptools_scm, pytest }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "black"; pname = "black";
version = "19.3b0"; version = "19.10b0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "073kd5rs02lisp6n3h7yai9lix520xnaa6c7rdmp2sci9pyhz5b8"; sha256 = "0f8mr0yzj78q1dx7v6ggbgfir2wv0n5z2shfbbvfdq7910xbgvf2";
}; };
nativeBuildInputs = [ setuptools_scm ];
checkInputs = [ pytest glibcLocales ]; checkInputs = [ pytest glibcLocales ];
# Necessary for the tests to pass on Darwin with sandbox enabled. # Necessary for the tests to pass on Darwin with sandbox enabled.
@ -22,12 +24,11 @@ buildPythonPackage rec {
# Don't know why these tests fails # Don't know why these tests fails
checkPhase = '' checkPhase = ''
LC_ALL="en_US.UTF-8" pytest \ LC_ALL="en_US.UTF-8" pytest \
--deselect tests/test_black.py::BlackTestCase::test_expression_diff \
--deselect tests/test_black.py::BlackTestCase::test_cache_multiple_files \ --deselect tests/test_black.py::BlackTestCase::test_cache_multiple_files \
--deselect tests/test_black.py::BlackTestCase::test_failed_formatting_does_not_get_cached --deselect tests/test_black.py::BlackTestCase::test_failed_formatting_does_not_get_cached
''; '';
propagatedBuildInputs = [ attrs appdirs click toml aiohttp aiohttp-cors ]; propagatedBuildInputs = [ attrs appdirs click toml aiohttp aiohttp-cors pathspec regex typed-ast ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "The uncompromising Python code formatter"; description = "The uncompromising Python code formatter";

View File

@ -0,0 +1,13 @@
diff --git a/test_portend.py b/test_portend.py
index b2de8c2..3f90276 100644
--- a/test_portend.py
+++ b/test_portend.py
@@ -21,7 +21,7 @@ def socket_infos():
def id_for_info(info):
- af, = info[:1]
+ (af,) = info[:1]
return str(af)

View File

@ -10,6 +10,7 @@ buildPythonPackage rec {
sha256 = "19dc27bfb3c72471bd30a235a4d5fbefef8a7e31cab367744b5d87a205e7bfd9"; sha256 = "19dc27bfb3c72471bd30a235a4d5fbefef8a7e31cab367744b5d87a205e7bfd9";
}; };
patches = [ ./black-19.10b0.patch ];
postPatch = '' postPatch = ''
substituteInPlace pytest.ini --replace "--flake8" "" substituteInPlace pytest.ini --replace "--flake8" ""
''; '';

View File

@ -0,0 +1,13 @@
diff --git a/setup.py b/setup.py
index 5c9ce5f..84b148a 100644
--- a/setup.py
+++ b/setup.py
@@ -26,6 +26,6 @@ setup(
python_requires=">=2.7",
install_requires=[
"pytest>=3.5.0",
- 'black==19.3b0; python_version >= "3.6"',
+ 'black; python_version >= "3.6"',
"toml",
],
use_scm_version=True,

View File

@ -14,6 +14,7 @@ buildPythonPackage rec {
sha256 = "03gwwy1h3qnfh6vpfhgsa5ag53a9sw1g42sc2s8a2hilwb7yrfvm"; sha256 = "03gwwy1h3qnfh6vpfhgsa5ag53a9sw1g42sc2s8a2hilwb7yrfvm";
}; };
patches = [ ./black-version.patch ];
nativeBuildInputs = [ setuptools_scm ]; nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ black pytest toml ]; propagatedBuildInputs = [ black pytest toml ];

View File

@ -5,6 +5,7 @@
, pillow , pillow
, pymaging_png , pymaging_png
, mock , mock
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -16,7 +17,7 @@ buildPythonPackage rec {
sha256 = "505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369"; sha256 = "505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369";
}; };
propagatedBuildInputs = [ six pillow pymaging_png ]; propagatedBuildInputs = [ six pillow pymaging_png setuptools ];
checkInputs = [ mock ]; checkInputs = [ mock ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -76,6 +76,18 @@
"sha256": "0gxmknd68kajak8jr443799bfd69pp5j0jnmcbnyx5abzyq6wkzx", "sha256": "0gxmknd68kajak8jr443799bfd69pp5j0jnmcbnyx5abzyq6wkzx",
"license": "cc-by-sa-40" "license": "cc-by-sa-40"
}, },
{
"pname": "lt_core_news_sm",
"version": "2.2.0",
"sha256": "1j63xnp96qavg8c960y83z752mmvp9qx92r458lydrg1ixmffx9r",
"license": "cc-by-sa-40"
},
{
"pname": "nb_core_news_sm",
"version": "2.2.0",
"sha256": "0s0wf3kxrhdzfkgrbxjc53hzin3w8v06iivazh6bpf6rhbiwzfr0",
"license": "mit"
},
{ {
"pname": "nl_core_news_sm", "pname": "nl_core_news_sm",
"version": "2.2.1", "version": "2.2.1",

View File

@ -3,11 +3,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "spyder-kernels"; pname = "spyder-kernels";
version = "1.6.0"; version = "0.5.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "e374452af89f507b345431338c6655465b5c15d0b5e49f703be8c30bbe1d1202"; sha256 = "01354b7fa180a87212cc005553b31a7300159b108d36828e301d3782291323f7";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -14,6 +14,8 @@ buildPythonPackage rec {
sha256 = "1z7qw1h3rhca12ycv8xrzw6z2gf81v0j6lfq9kpwh472w4vk75v1"; sha256 = "1z7qw1h3rhca12ycv8xrzw6z2gf81v0j6lfq9kpwh472w4vk75v1";
}; };
nativeBuildInputs = [ pyqtwebengine.wrapQtAppsHook ];
propagatedBuildInputs = [ propagatedBuildInputs = [
jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
@ -47,6 +49,11 @@ buildPythonPackage rec {
cp -r $desktopItem/share/applications/ $out/share cp -r $desktopItem/share/applications/ $out/share
''; '';
dontWrapQtApps = true;
makeWrapperArgs = [
"\${qtWrapperArgs[@]}"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Scientific python development environment"; description = "Scientific python development environment";
longDescription = '' longDescription = ''

View File

@ -454,6 +454,7 @@ let
randomForest = [ pkgs.libiconv ]; randomForest = [ pkgs.libiconv ];
sundialr = [ pkgs.libiconv ]; sundialr = [ pkgs.libiconv ];
ucminf = [ pkgs.libiconv ]; ucminf = [ pkgs.libiconv ];
glmnet = [ pkgs.libiconv ];
}; };
packagesRequireingX = [ packagesRequireingX = [

View File

@ -0,0 +1,22 @@
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "editorconfig-checker";
version = "2.0.2";
src = fetchFromGitHub {
owner = "editorconfig-checker";
repo = "editorconfig-checker";
rev = "${version}";
sha256 = "0v2ml9r8b5admi3sv80wa1pwl9qnz03q2p84vgcmgg2nv1v6yxf3";
};
modSha256 = "09b1v9gyh6827yqlfxxxq3lcqhd5snn3n7gdlbjmga3wyp2x4g2r";
meta = with lib; {
description = "A tool to verify that your files are in harmony with your .editorconfig";
homepage = "https://editorconfig-checker.github.io/";
license = licenses.mit;
maintainers = with maintainers; [ uri-canva ];
};
}

View File

@ -2,23 +2,26 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fsatrace"; pname = "fsatrace";
version = "0.0.1-160"; version = "0.0.1-324";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jacereda"; owner = "jacereda";
repo = "fsatrace"; repo = "fsatrace";
rev = "2bf89d836e0156e68f121b0ffeedade7c9381f77"; rev = "41fbba17da580f81ababb32ec7e6e5fd49f11473";
sha256 = "0bndfmm0y738azwzf6m6xg6gjnrwcqlfjsampk67vga40yylwkbw"; sha256 = "1ihm2v723idd6m0kc1z9v73hmfvh2v0vjs8wvx5w54jaxh3lmj1y";
}; };
preConfigure = '' installDir = "libexec/${pname}-${version}";
mkdir -p $out/libexec/${pname}-${version}
export makeFlags=INSTALLDIR=$out/libexec/${pname}-${version} makeFlags = [ "INSTALLDIR=$(out)/$(installDir)" ];
preInstall = ''
mkdir -p $out/$installDir
''; '';
postInstall = '' postInstall = ''
mkdir -p $out/bin mkdir -p $out/bin
ln -s $out/libexec/${pname}-${version}/fsatrace $out/bin/ ln -s $out/$installDir/fsatrace $out/bin/fsatrace
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "lttng-tools"; pname = "lttng-tools";
version = "2.10.8"; version = "2.11.0";
src = fetchurl { src = fetchurl {
url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2"; url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
sha256 = "03dkwvmiqbr7dcnrk8hw8xd9i0vrx6xxz8wal56mfypxz52i2jk6"; sha256 = "1g0g7ypxvc7wd5x4d4ixmfgl9yk0lxax3ymm95hcjwxn5p497r6w";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];

View File

@ -4,12 +4,13 @@ with python3;
pkgs.buildPythonApplication rec { pkgs.buildPythonApplication rec {
pname = "pypi2nix"; pname = "pypi2nix";
version = "2.0.0"; version = "2.0.1";
src = pkgs.fetchPypi { src = pkgs.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0w9z07kdnfs96230jag8xgz4wx337bb3q3bvqxn3r31x8fsmz6rr"; sha256 = "138fwd3cznkfa6w3a5s4fbflh88q26hk4grlmq73dcbk06ykf84k";
}; };
checkInputs = with pkgs; [ pytest ]; checkInputs = with pkgs; [ pytest ];
buildInputs = with pkgs; [ setuptools_scm ];
propagatedBuildInputs = with pkgs; [ propagatedBuildInputs = with pkgs; [
attrs attrs
click click

View File

@ -3,7 +3,7 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "rust-bindgen"; pname = "rust-bindgen";
version = "0.51.0"; version = "0.51.1";
RUSTFLAGS = "--cap-lints warn"; # probably OK to remove after update RUSTFLAGS = "--cap-lints warn"; # probably OK to remove after update
@ -11,10 +11,10 @@ rustPlatform.buildRustPackage rec {
owner = "rust-lang"; owner = "rust-lang";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1hlak8b57pndmdfkpfl17xxc91a6b239698bcm4yzlvliyscjgz1"; sha256 = "1agqfwac2av1b1c2bfzn0hw3178s4l94fadfx8a25dy1k87wmhfm";
}; };
cargoSha256 = "1311d0wjjj99m59zd2n6r4aq6lwbbpyj54ha2z9g4yd1hn344r91"; cargoSha256 = "09m0ki1ald1csfzfvlc63r6k8m9ndxy9js6mfwqyfm4lj8kpbr3f";
libclang = llvmPackages.libclang.lib; #for substituteAll libclang = llvmPackages.libclang.lib; #for substituteAll

View File

@ -19,8 +19,8 @@ buildRustPackage rec {
cargoSha256 = "07130587drrdkrk7aqb8pl8i3p485qr6xh1m86630ydlnb9z6s6i"; cargoSha256 = "07130587drrdkrk7aqb8pl8i3p485qr6xh1m86630ydlnb9z6s6i";
buildInputs = [ makeWrapper ] nativeBuildInputs = [ makeWrapper ];
++ stdenv.lib.optional stdenv.isDarwin Security; buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
RUST_SRC_PATH = rustPlatform.rustcSrc; RUST_SRC_PATH = rustPlatform.rustcSrc;

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, autoconf, automake, zlib }: { stdenv, fetchFromGitHub, autoconf, automake, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "v0.5.1"; version = "0.5.1";
pname = "wiiload"; pname = "wiiload";
nativeBuildInputs = [ autoconf automake ]; nativeBuildInputs = [ autoconf automake ];
@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "devkitPro"; owner = "devkitPro";
repo = "wiiload"; repo = "wiiload";
rev = version; rev = "v${version}";
sha256 = "0dffy603zggkqv7g1a2jninmi64vy519gpgkdfhjnijhdm9gs5m3"; sha256 = "0dffy603zggkqv7g1a2jninmi64vy519gpgkdfhjnijhdm9gs5m3";
}; };

View File

@ -1,11 +1,9 @@
{ stdenv, makeWrapper, fetchurl, dpkg { stdenv, makeWrapper, fetchurl, dpkg, alsaLib, atk, cairo, cups, dbus, expat
, alsaLib, atk, cairo, cups, dbus, expat, fontconfig, freetype , fontconfig, freetype, gdk-pixbuf, glib, gnome2, nspr, nss, gtk3, gtk2
, gdk-pixbuf, glib, gnome2, nspr, nss, gtk3, gtk2, at-spi2-atk , at-spi2-atk, gsettings-desktop-schemas, gobject-introspection, wrapGAppsHook
, gsettings-desktop-schemas, gobject-introspection, wrapGAppsHook
, libX11, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext , libX11, libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext
, libXfixes, libXi, libXrandr, libXrender, libXtst, libxcb, nghttp2 , libXfixes, libXi, libXrandr, libXrender, libXtst, libxcb, nghttp2
, libudev0-shim, glibc, curl, openssl, autoPatchelfHook , libudev0-shim, glibc, curl, openssl, autoPatchelfHook }:
}:
let let
runtimeLibs = stdenv.lib.makeLibraryPath [ runtimeLibs = stdenv.lib.makeLibraryPath [
@ -18,19 +16,16 @@ let
]; ];
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "insomnia"; pname = "insomnia";
version = "6.6.2"; version = "7.0.3";
src = fetchurl { src = fetchurl {
url = "https://github.com/getinsomnia/insomnia/releases/download/v${version}/insomnia_${version}_amd64.deb"; url =
sha256 = "0hlny3lac7whdbpp0pcyaa30h6x9536jsg95gj9irw2qjsx74xa7"; "https://github.com/getinsomnia/insomnia/releases/download/v${version}/insomnia_${version}_amd64.deb";
sha256 = "14mkvza7q6l2hn763pjy6zavcg1fmzanys3930w32g07vq3xi97l";
}; };
nativeBuildInputs = [ nativeBuildInputs =
autoPatchelfHook [ autoPatchelfHook dpkg makeWrapper gobject-introspection wrapGAppsHook ];
dpkg
makeWrapper
gobject-introspection wrapGAppsHook
];
buildInputs = [ buildInputs = [
alsaLib alsaLib
@ -87,11 +82,11 @@ in stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://insomnia.rest/; homepage = "https://insomnia.rest/";
description = "The most intuitive cross-platform REST API Client"; description = "The most intuitive cross-platform REST API Client";
license = licenses.mit; license = licenses.mit;
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ markus1189 ]; maintainers = with maintainers; [ markus1189 babariviere ];
}; };
} }

View File

@ -8,22 +8,17 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "crawl-${version}${lib.optionalString tileMode "-tiles"}"; name = "crawl-${version}${lib.optionalString tileMode "-tiles"}";
version = "0.23.2"; version = "0.24.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "crawl"; owner = "crawl";
repo = "crawl"; repo = "crawl";
rev = version; rev = version;
sha256 = "1d6mip4rvp81839yf2xm63hf34aza5wg4g5z5hi5275j94szaacs"; sha256 = "1cdjd33z04gj70manavihc3lj9ckpmd75n09vvyw01z41s33fzs0";
}; };
patches = [ # Patch hard-coded paths and remove force library builds
./crawl_purify.patch # Patch hard-coded paths and remove force library builds patches = [ ./crawl_purify.patch ];
(fetchpatch { # Use a nice high-res app icon
url = "https://github.com/crawl/crawl/commit/2aa1166087e44e6585b26cedf1fe81b3f3ba547f.patch";
sha256 = "1jqrdv4wy18shg1fdabdb421232hg5micphkixcyzxd1lrmvadg0";
})
];
nativeBuildInputs = [ pkgconfig which perl pngcrush advancecomp ]; nativeBuildInputs = [ pkgconfig which perl pngcrush advancecomp ];

View File

@ -11,13 +11,13 @@
let let
pname = "shattered-pixel-dungeon"; pname = "shattered-pixel-dungeon";
version = "0.7.5e"; version = "0.7.5f";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "00-Evan"; owner = "00-Evan";
repo = "shattered-pixel-dungeon-gdx"; repo = "shattered-pixel-dungeon-gdx";
rev = "v${version}"; rev = "v${version}";
sha256 = "1wy5qlfsq7dqvn4g0glm1v60xildv44ww3p396wmgi390c9zg18d"; sha256 = "05awbbc7np9li50shdbpv9dgdgry6lra8d5gibwn578m2g9srbxx";
}; };
postPatch = '' postPatch = ''

View File

@ -18,11 +18,11 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
version = "1.5.10"; version = "1.6.0";
src = fetchurl { src = fetchurl {
url = "https://te4.org/dl/t-engine/t-engine4-src-${version}.tar.bz2"; url = "https://te4.org/dl/t-engine/t-engine4-src-${version}.tar.bz2";
sha256 = "0mc5dgh2x9nbili7gy6srjhb23ckalf08wqq2amyjr5rq392jvd7"; sha256 = "1z1w4ycgl5wbm0sv7577vcdfwwf4k7vaf2njzyb21rvqjizpbkwr";
}; };
prePatch = '' prePatch = ''

View File

@ -430,8 +430,8 @@ self: super: {
youcompleteme = super.youcompleteme.overrideAttrs(old: { youcompleteme = super.youcompleteme.overrideAttrs(old: {
buildPhase = '' buildPhase = ''
substituteInPlace plugin/youcompleteme.vim \ substituteInPlace plugin/youcompleteme.vim \
--replace "'ycm_python_interpreter_path', '''" \ --replace "'ycm_path_to_python_interpreter', '''" \
"'ycm_python_interpreter_path', '${python3}/bin/python'" "'ycm_path_to_python_interpreter', '${python3}/bin/python3'"
rm -r third_party/ycmd rm -r third_party/ycmd
ln -s ${ycmd}/lib/ycmd third_party ln -s ${ycmd}/lib/ycmd third_party

Some files were not shown because too many files have changed in this diff Show More