Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2019-11-16 11:45:07 +01:00
commit be7125dde7
133 changed files with 1826 additions and 2024 deletions

View File

@ -441,7 +441,7 @@ Additional information.
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
If you're cherry-picking a commit to a stable release branch, always use <command>git cherry-pick -xe</command> and ensure the message contains a clear description about why this needs to be included in the stable branch. If you're cherry-picking a commit to a stable release branch (“backporting”), always use <command>git cherry-pick -xe</command> and ensure the message contains a clear description about why this needs to be included in the stable branch.
</para> </para>
<para> <para>
An example of a cherry-picked commit would look like this: An example of a cherry-picked commit would look like this:

View File

@ -2092,6 +2092,12 @@
email = "mpcervin@uncg.edu"; email = "mpcervin@uncg.edu";
name = "Mabry Cervin"; name = "Mabry Cervin";
}; };
equirosa = {
email = "eduardo@eduardoquiros.com";
github = "equirosa";
githubId = 39096810;
name = "Eduardo Quiros";
};
eqyiel = { eqyiel = {
email = "ruben@maher.fyi"; email = "ruben@maher.fyi";
github = "eqyiel"; github = "eqyiel";
@ -2631,6 +2637,12 @@
githubId = 9705357; githubId = 9705357;
name = "Guillaume Bouchard"; name = "Guillaume Bouchard";
}; };
GuillaumeDesforges = {
email = "aceus02@gmail.com";
github = "GuillaumeDesforges";
githubId = 1882000;
name = "Guillaume Desforges";
};
guillaumekoenig = { guillaumekoenig = {
email = "guillaume.edward.koenig@gmail.com"; email = "guillaume.edward.koenig@gmail.com";
github = "guillaumekoenig"; github = "guillaumekoenig";

View File

@ -39,7 +39,7 @@
can select an alternative one by picking one of the following lines: can select an alternative one by picking one of the following lines:
<programlisting> <programlisting>
<xref linkend="opt-services.xserver.displayManager.sddm.enable"/> = true; <xref linkend="opt-services.xserver.displayManager.sddm.enable"/> = true;
<xref linkend="opt-services.xserver.displayManager.slim.enable"/> = true; <xref linkend="opt-services.xserver.displayManager.gdm.enable"/> = true;
</programlisting> </programlisting>
</para> </para>
<para> <para>

View File

@ -99,7 +99,7 @@ xlink:href="https://nixos.org/nixpkgs/manual/#sec-package-naming">
<para> <para>
As an example, we will take the case of display managers. There is a central As an example, we will take the case of display managers. There is a central
display manager module for generic display manager options and a module file display manager module for generic display manager options and a module file
per display manager backend (slim, sddm, gdm ...). per display manager backend (sddm, gdm ...).
</para> </para>
<para> <para>
@ -146,7 +146,7 @@ xlink:href="https://nixos.org/nixpkgs/manual/#sec-package-naming">
/>), and to extend />), and to extend
it in each backend module it in each backend module
(<xref (<xref
linkend='ex-option-declaration-eot-backend-slim' />, linkend='ex-option-declaration-eot-backend-gdm' />,
<xref <xref
linkend='ex-option-declaration-eot-backend-sddm' />). linkend='ex-option-declaration-eot-backend-sddm' />).
</para> </para>
@ -167,11 +167,11 @@ services.xserver.displayManager.enable = mkOption {
};</screen> };</screen>
</example> </example>
<example xml:id='ex-option-declaration-eot-backend-slim'> <example xml:id='ex-option-declaration-eot-backend-gdm'>
<title>Extending <literal>services.xserver.displayManager.enable</literal> in the <literal>slim</literal> module</title> <title>Extending <literal>services.xserver.displayManager.enable</literal> in the <literal>gdm</literal> module</title>
<screen> <screen>
services.xserver.displayManager.enable = mkOption { services.xserver.displayManager.enable = mkOption {
type = with types; nullOr (enum [ "slim" ]); type = with types; nullOr (enum [ "gdm" ]);
};</screen> };</screen>
</example> </example>

View File

@ -543,7 +543,7 @@
<listitem> <listitem>
<para> <para>
The <option>networking.useDHCP</option> option is unsupported in combination with The <option>networking.useDHCP</option> option is unsupported in combination with
<option>networking.useNetworkd</option> in anticipation of defaulting to it by default. <option>networking.useNetworkd</option> in anticipation of defaulting to it.
It has to be set to <literal>false</literal> and enabled per It has to be set to <literal>false</literal> and enabled per
interface with <option>networking.interfaces.&lt;name&gt;.useDHCP = true;</option> interface with <option>networking.interfaces.&lt;name&gt;.useDHCP = true;</option>
</para> </para>

View File

@ -71,7 +71,11 @@
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para /> <para>
The kubernetes kube-proxy now supports a new hostname configuration
<literal>services.kubernetes.proxy.hostname</literal> which has to
be set if the hostname of the node should be non default.
</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
@ -138,6 +142,13 @@
Now, all bash code is held to the same high standard, and the rather complex stateful manipulation of the options can be discarded. Now, all bash code is held to the same high standard, and the rather complex stateful manipulation of the options can be discarded.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
The SLIM Display Manager has been removed, as it has been unmaintained since 2013.
Consider migrating to a different display manager such as LightDM (current default in NixOS),
SDDM, GDM, or using the startx module which uses Xinitrc.
</para>
</listitem>
</itemizedlist> </itemizedlist>
</section> </section>

View File

@ -261,7 +261,6 @@ in rec {
inherit require; inherit require;
virtualisation.memorySize = 1024; virtualisation.memorySize = 1024;
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.slim.enable = false;
services.xserver.displayManager.auto.enable = true; services.xserver.displayManager.auto.enable = true;
services.xserver.windowManager.default = "icewm"; services.xserver.windowManager.default = "icewm";
services.xserver.windowManager.icewm.enable = true; services.xserver.windowManager.icewm.enable = true;

View File

@ -248,7 +248,6 @@ in rec {
inherit require; inherit require;
virtualisation.memorySize = 1024; virtualisation.memorySize = 1024;
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.displayManager.slim.enable = false;
services.xserver.displayManager.auto.enable = true; services.xserver.displayManager.auto.enable = true;
services.xserver.windowManager.default = "icewm"; services.xserver.windowManager.default = "icewm";
services.xserver.windowManager.icewm.enable = true; services.xserver.windowManager.icewm.enable = true;

View File

@ -75,7 +75,7 @@ in
Note that this configuration will only be successful when a display manager Note that this configuration will only be successful when a display manager
for which the <option>services.xserver.displayManager.setupCommands</option> for which the <option>services.xserver.displayManager.setupCommands</option>
option is supported is used; notably, SLiM is not supported. option is supported is used.
''; '';
}; };

View File

@ -3,7 +3,7 @@
with lib; with lib;
let let
version = "1.5.0"; version = "1.6.4";
cfg = config.services.kubernetes.addons.dns; cfg = config.services.kubernetes.addons.dns;
ports = { ports = {
dns = 10053; dns = 10053;
@ -55,9 +55,9 @@ in {
type = types.attrs; type = types.attrs;
default = { default = {
imageName = "coredns/coredns"; imageName = "coredns/coredns";
imageDigest = "sha256:e83beb5e43f8513fa735e77ffc5859640baea30a882a11cc75c4c3244a737d3c"; imageDigest = "sha256:493ee88e1a92abebac67cbd4b5658b4730e0f33512461442d8d9214ea6734a9b";
finalImageTag = version; finalImageTag = version;
sha256 = "15sbmhrxjxidj0j0cccn1qxpg6al175w43m6ngspl0mc132zqc9q"; sha256 = "0fm9zdjavpf5hni8g7fkdd3csjbhd7n7py7llxjc66sbii087028";
}; };
}; };
}; };
@ -68,7 +68,7 @@ in {
services.kubernetes.addonManager.bootstrapAddons = { services.kubernetes.addonManager.bootstrapAddons = {
coredns-cr = { coredns-cr = {
apiVersion = "rbac.authorization.k8s.io/v1beta1"; apiVersion = "rbac.authorization.k8s.io/v1";
kind = "ClusterRole"; kind = "ClusterRole";
metadata = { metadata = {
labels = { labels = {
@ -94,7 +94,7 @@ in {
}; };
coredns-crb = { coredns-crb = {
apiVersion = "rbac.authorization.k8s.io/v1beta1"; apiVersion = "rbac.authorization.k8s.io/v1";
kind = "ClusterRoleBinding"; kind = "ClusterRoleBinding";
metadata = { metadata = {
annotations = { annotations = {
@ -170,7 +170,7 @@ in {
}; };
coredns-deploy = { coredns-deploy = {
apiVersion = "extensions/v1beta1"; apiVersion = "apps/v1";
kind = "Deployment"; kind = "Deployment";
metadata = { metadata = {
labels = { labels = {

View File

@ -40,6 +40,7 @@ in
cni.config = mkDefault [{ cni.config = mkDefault [{
name = "mynet"; name = "mynet";
type = "flannel"; type = "flannel";
cniVersion = "0.3.1";
delegate = { delegate = {
isDefaultGateway = true; isDefaultGateway = true;
bridge = "docker0"; bridge = "docker0";

View File

@ -92,7 +92,7 @@ in
default = []; default = [];
example = literalExample '' example = literalExample ''
[{ [{
"cniVersion": "0.2.0", "cniVersion": "0.3.1",
"name": "mynet", "name": "mynet",
"type": "bridge", "type": "bridge",
"bridge": "cni0", "bridge": "cni0",
@ -106,7 +106,7 @@ in
] ]
} }
} { } {
"cniVersion": "0.2.0", "cniVersion": "0.3.1",
"type": "loopback" "type": "loopback"
}] }]
''; '';

View File

@ -31,6 +31,12 @@ in
type = listOf str; type = listOf str;
}; };
hostname = mkOption {
description = "Kubernetes proxy hostname override.";
default = config.networking.hostName;
type = str;
};
kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes proxy"; kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes proxy";
verbosity = mkOption { verbosity = mkOption {
@ -59,6 +65,7 @@ in
"--cluster-cidr=${top.clusterCidr}"} \ "--cluster-cidr=${top.clusterCidr}"} \
${optionalString (cfg.featureGates != []) ${optionalString (cfg.featureGates != [])
"--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \ "--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
--hostname-override=${cfg.hostname} \
--kubeconfig=${top.lib.mkKubeConfig "kube-proxy" cfg.kubeconfig} \ --kubeconfig=${top.lib.mkKubeConfig "kube-proxy" cfg.kubeconfig} \
${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \ ${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
${cfg.extraOpts} ${cfg.extraOpts}
@ -69,6 +76,8 @@ in
}; };
}; };
services.kubernetes.proxy.hostname = with config.networking; mkDefault hostName;
services.kubernetes.pki.certs = { services.kubernetes.pki.certs = {
kubeProxyClient = top.lib.mkCert { kubeProxyClient = top.lib.mkCert {
name = "kube-proxy-client"; name = "kube-proxy-client";

View File

@ -41,5 +41,7 @@ in {
Restart = "on-failure"; Restart = "on-failure";
}; };
}; };
environment.systemPackages = [ pkgs.lorri ];
}; };
} }

View File

@ -232,7 +232,6 @@ in
security.pam.services.kdm.enableKwallet = true; security.pam.services.kdm.enableKwallet = true;
security.pam.services.lightdm.enableKwallet = true; security.pam.services.lightdm.enableKwallet = true;
security.pam.services.sddm.enableKwallet = true; security.pam.services.sddm.enableKwallet = true;
security.pam.services.slim.enableKwallet = true;
xdg.portal.enable = true; xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ]; xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];

View File

@ -1,6 +1,6 @@
# This module declares the options to define a *display manager*, the # This module declares the options to define a *display manager*, the
# program responsible for handling X logins (such as xdm, gdb, or # program responsible for handling X logins (such as LightDM, GDM, or SDDM).
# SLiM). The display manager allows the user to select a *session # The display manager allows the user to select a *session
# type*. When the user logs in, the display manager starts the # type*. When the user logs in, the display manager starts the
# *session script* ("xsession" below) to launch the selected session # *session script* ("xsession" below) to launch the selected session
# type. The session type defines two things: the *desktop manager* # type. The session type defines two things: the *desktop manager*
@ -196,7 +196,6 @@ let
fi fi
'') cfg.displayManager.extraSessionFilePackages} '') cfg.displayManager.extraSessionFilePackages}
${concatMapStrings (pkg: '' ${concatMapStrings (pkg: ''
if test -d ${pkg}/share/wayland-sessions; then if test -d ${pkg}/share/wayland-sessions; then
mkdir -p "$out/share/wayland-sessions" mkdir -p "$out/share/wayland-sessions"
@ -322,7 +321,7 @@ in
execCmd = mkOption { execCmd = mkOption {
type = types.str; type = types.str;
example = literalExample '' example = literalExample ''
"''${pkgs.slim}/bin/slim" "''${pkgs.lightdm}/bin/lightdm"
''; '';
description = "Command to start the display manager."; description = "Command to start the display manager.";
}; };
@ -330,7 +329,6 @@ in
environment = mkOption { environment = mkOption {
type = types.attrsOf types.unspecified; type = types.attrsOf types.unspecified;
default = {}; default = {};
example = { SLIM_CFGFILE = "/etc/slim.conf"; };
description = "Additional environment variables needed by the display manager."; description = "Additional environment variables needed by the display manager.";
}; };

View File

@ -2,155 +2,15 @@
with lib; with lib;
let
dmcfg = config.services.xserver.displayManager;
cfg = dmcfg.slim;
slimConfig = pkgs.writeText "slim.cfg"
''
xauth_path ${dmcfg.xauthBin}
default_xserver ${dmcfg.xserverBin}
xserver_arguments ${toString dmcfg.xserverArgs}
sessiondir ${dmcfg.session.desktops}/share/xsessions
login_cmd exec ${pkgs.runtimeShell} ${dmcfg.session.wrapper} "%session"
halt_cmd ${config.systemd.package}/sbin/shutdown -h now
reboot_cmd ${config.systemd.package}/sbin/shutdown -r now
logfile /dev/stderr
${optionalString (cfg.defaultUser != null) ("default_user " + cfg.defaultUser)}
${optionalString (cfg.defaultUser != null) ("focus_password yes")}
${optionalString cfg.autoLogin "auto_login yes"}
${optionalString (cfg.consoleCmd != null) "console_cmd ${cfg.consoleCmd}"}
${cfg.extraConfig}
'';
# Unpack the SLiM theme, or use the default.
slimThemesDir =
let
unpackedTheme = pkgs.runCommand "slim-theme" { preferLocalBuild = true; }
''
mkdir -p $out
cd $out
unpackFile ${cfg.theme}
ln -s * default
'';
in if cfg.theme == null then "${pkgs.slim}/share/slim/themes" else unpackedTheme;
in
{ {
# added 2019-11-11
###### interface imports = [
(mkRemovedOptionModule [ "services" "xserver" "displayManager" "slim" ] ''
options = { The SLIM project is abandoned and their last release was in 2013.
Because of this it poses a security risk to your system.
services.xserver.displayManager.slim = { Other issues include it not fully supporting systemd and logind sessions.
Please use a different display manager such as LightDM, SDDM, or GDM.
enable = mkOption { You can also use the startx module which uses Xinitrc.
type = types.bool; '')
default = false; ];
description = ''
Whether to enable SLiM as the display manager.
'';
};
theme = mkOption {
type = types.nullOr types.path;
default = pkgs.fetchurl {
url = "https://github.com/jagajaga/nixos-slim-theme/archive/2.0.tar.gz";
sha256 = "0lldizhigx7bjhxkipii87y432hlf5wdvamnfxrryf9z7zkfypc8";
};
defaultText = ''pkgs.fetchurl {
url = "https://github.com/jagajaga/nixos-slim-theme/archive/2.0.tar.gz";
sha256 = "0lldizhigx7bjhxkipii87y432hlf5wdvamnfxrryf9z7zkfypc8";
}'';
example = literalExample ''
pkgs.fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-wave.tar.gz";
sha256 = "0ndr419i5myzcylvxb89m9grl2xyq6fbnyc3lkd711mzlmnnfxdy";
}
'';
description = ''
The theme for the SLiM login manager. If not specified, SLiM's
default theme is used. See <link
xlink:href='http://slim.berlios.de/themes01.php'/> for a
collection of themes. TODO: berlios shut down.
'';
};
defaultUser = mkOption {
type = types.nullOr types.str;
default = null;
example = "login";
description = ''
The default user to load. If you put a username here you
get it automatically loaded into the username field, and
the focus is placed on the password.
'';
};
autoLogin = mkOption {
type = types.bool;
default = false;
description = ''
Automatically log in as the default user.
'';
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
Extra configuration options for SLiM login manager. Do not
add options that can be configured directly.
'';
};
consoleCmd = mkOption {
type = types.nullOr types.str;
default = ''
${pkgs.xterm}/bin/xterm -C -fg white -bg black +sb -T "Console login" -e ${pkgs.shadow}/bin/login
'';
defaultText = ''
''${pkgs.xterm}/bin/xterm -C -fg white -bg black +sb -T "Console login" -e ''${pkgs.shadow}/bin/login
'';
description = ''
The command to run when "console" is given as the username.
'';
};
};
};
###### implementation
config = mkIf cfg.enable {
services.xserver.displayManager.job =
{ environment =
{ SLIM_CFGFILE = slimConfig;
SLIM_THEMESDIR = slimThemesDir;
};
execCmd = "exec ${pkgs.slim}/bin/slim";
};
services.xserver.displayManager.sessionCommands =
''
# Export the config/themes for slimlock.
export SLIM_THEMESDIR=${slimThemesDir}
'';
# Allow null passwords so that the user can login as root on the
# installation CD.
security.pam.services.slim = { allowNullPassword = true; startSession = true; };
# Allow slimlock to work.
security.pam.services.slimlock = {};
environment.systemPackages = [ pkgs.slim ];
};
} }

View File

@ -557,7 +557,6 @@ in
default = !( dmconf.auto.enable default = !( dmconf.auto.enable
|| dmconf.gdm.enable || dmconf.gdm.enable
|| dmconf.sddm.enable || dmconf.sddm.enable
|| dmconf.slim.enable
|| dmconf.xpra.enable ); || dmconf.xpra.enable );
in mkIf (default) true; in mkIf (default) true;

View File

@ -133,7 +133,6 @@ in rec {
(all nixos.tests.proxy) (all nixos.tests.proxy)
(all nixos.tests.sddm.default) (all nixos.tests.sddm.default)
(all nixos.tests.simple) (all nixos.tests.simple)
(all nixos.tests.slim)
(all nixos.tests.switchTest) (all nixos.tests.switchTest)
(all nixos.tests.udisks2) (all nixos.tests.udisks2)
(all nixos.tests.xfce) (all nixos.tests.xfce)

View File

@ -248,7 +248,6 @@ in
shiori = handleTest ./shiori.nix {}; shiori = handleTest ./shiori.nix {};
signal-desktop = handleTest ./signal-desktop.nix {}; signal-desktop = handleTest ./signal-desktop.nix {};
simple = handleTest ./simple.nix {}; simple = handleTest ./simple.nix {};
slim = handleTest ./slim.nix {};
slurm = handleTest ./slurm.nix {}; slurm = handleTest ./slurm.nix {};
smokeping = handleTest ./smokeping.nix {}; smokeping = handleTest ./smokeping.nix {};
snapper = handleTest ./snapper.nix {}; snapper = handleTest ./snapper.nix {};

View File

@ -53,6 +53,7 @@ let
services.flannel.iface = "eth1"; services.flannel.iface = "eth1";
services.kubernetes = { services.kubernetes = {
addons.dashboard.enable = true; addons.dashboard.enable = true;
proxy.hostname = "${masterName}.${domain}";
easyCerts = true; easyCerts = true;
inherit (machine) roles; inherit (machine) roles;

View File

@ -25,6 +25,6 @@ import ./make-test-python.nix ({ pkgs, ...} : {
roundcube.wait_for_unit("postgresql.service") roundcube.wait_for_unit("postgresql.service")
roundcube.wait_for_unit("phpfpm-roundcube.service") roundcube.wait_for_unit("phpfpm-roundcube.service")
roundcube.wait_for_unit("nginx.service") roundcube.wait_for_unit("nginx.service")
roundcube.succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'") roundcube.succeed("curl -sSL http://roundcube/ | grep 'Keep me logged in'")
''; '';
}) })

View File

@ -1,66 +0,0 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "slim";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ aszlig ];
};
machine = { pkgs, ... }: {
imports = [ ./common/user-account.nix ];
services.xserver.enable = true;
services.xserver.windowManager.default = "icewm";
services.xserver.windowManager.icewm.enable = true;
services.xserver.desktopManager.default = "none";
services.xserver.displayManager.slim = {
enable = true;
# Use a custom theme in order to get best OCR results
theme = pkgs.runCommand "slim-theme-ocr" {
nativeBuildInputs = [ pkgs.imagemagick ];
} ''
mkdir "$out"
convert -size 1x1 xc:white "$out/background.jpg"
convert -size 200x100 xc:white "$out/panel.jpg"
cat > "$out/slim.theme" <<EOF
background_color #ffffff
background_style tile
input_fgcolor #000000
msg_color #000000
session_color #000000
session_font Verdana:size=16:bold
username_msg Username:
username_font Verdana:size=16:bold
username_color #000000
username_x 50%
username_y 40%
password_msg Password:
password_x 50%
password_y 40%
EOF
'';
};
};
enableOCR = true;
testScript = { nodes, ... }: let
user = nodes.machine.config.users.users.alice;
in ''
startAll;
$machine->waitForText(qr/Username:/);
$machine->sendChars("${user.name}\n");
$machine->waitForText(qr/Password:/);
$machine->sendChars("${user.password}\n");
$machine->waitForFile('${user.home}/.Xauthority');
$machine->succeed('xauth merge ${user.home}/.Xauthority');
$machine->waitForWindow('^IceWM ');
# Make sure SLiM doesn't create a log file
$machine->fail('test -e /var/log/slim.log');
'';
})

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "avldrums.lv2"; pname = "avldrums.lv2";
version = "0.3.5"; version = "0.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "x42"; owner = "x42";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "00n2varc7iwp0xbfi45hpq4vlpxxb2kbrdzvrc20qp2265994bqf"; sha256 = "1z70rcq6z3gkb4fm8dm9hs31bslwr97zdh2n012fzki9b9rdj5qv";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View File

@ -2,7 +2,7 @@
, libjack2, gettext, intltool, guile_2_0, lilypond , libjack2, gettext, intltool, guile_2_0, lilypond
, glib, libxml2, librsvg, libsndfile, aubio , glib, libxml2, librsvg, libsndfile, aubio
, gtk3, gtksourceview, evince, fluidsynth, rubberband , gtk3, gtksourceview, evince, fluidsynth, rubberband
, portaudio, portmidi, fftw, makeWrapper }: , portaudio, portmidi, fftw, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "denemo"; pname = "denemo";
@ -14,17 +14,21 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ buildInputs = [
libjack2 gettext guile_2_0 lilypond pkgconfig glib libxml2 librsvg libsndfile libjack2 guile_2_0 lilypond glib libxml2 librsvg libsndfile
aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
makeWrapper
]; ];
postInstall = '' preFixup = ''
wrapProgram $out/bin/denemo --prefix PATH : ${lilypond}/bin gappsWrapperArgs+=(
--prefix PATH : "${lilypond}/bin"
)
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
wrapGAppsHook
intltool intltool
gettext
pkgconfig
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -2,12 +2,12 @@
let let
pname = "ledger-live-desktop"; pname = "ledger-live-desktop";
version = "1.15.0"; version = "1.18.2";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage"; url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage";
sha256 = "0r7gm7q7gj39v36jd5xz20931za94nf2fpf3clbghkhlbrm0kbnq"; sha256 = "1giy8xg1yfv7b7gh98dmfc05wh54xqpd53nanacwcc7lakzizqnn";
}; };
appimageContents = appimageTools.extractType2 { appimageContents = appimageTools.extractType2 {

View File

@ -1,55 +0,0 @@
{ stdenv, fetchurl, fetchpatch, cmake, pkgconfig, xorg, libjpeg, libpng
, fontconfig, freetype, pam, dbus, makeWrapper }:
stdenv.mkDerivation rec {
name = "slim-1.3.6";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/${name}.tar.gz";
sha256 = "1pqhk22jb4aja4hkrm7rjgbgzjyh7i4zswdgf5nw862l2znzxpi1";
};
patches =
[ # Allow the paths of the configuration file and theme directory to
# be set at runtime.
./runtime-paths.patch
# Exit after the user's session has finished. This works around
# slim's broken PAM session handling (see
# http://developer.berlios.de/bugs/?func=detailbug&bug_id=19102&group_id=2663).
./run-once.patch
# Ensure that sessions appear in sort order, rather than in
# directory order.
./sort-sessions.patch
# Allow to set logfile to a special "/dev/stderr" in order to continue
# logging to stderr and thus to the journal.
./no-logfile.patch
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl (fetchpatch {
url = "https://raw.githubusercontent.com/gentoo/musl/8eddda8072add075ebf56cf6d288bc1450d6b5f8/x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch";
sha256 = "0f82672s2r2cmdqfn2mbg3di76mbla9n0ik20p2gv4igi6p866xm";
});
preConfigure = "substituteInPlace CMakeLists.txt --replace /lib $out/lib";
cmakeFlags = [ "-DUSE_PAM=1" ];
NIX_CFLAGS_COMPILE = "-I${freetype.dev}/include/freetype -std=c++11";
enableParallelBuilding = true;
buildInputs =
[ cmake pkgconfig libjpeg libpng fontconfig freetype
pam dbus
xorg.libX11 xorg.libXext xorg.libXrandr xorg.libXrender xorg.libXmu xorg.libXft makeWrapper
];
NIX_CFLAGS_LINK = "-lXmu";
meta = {
homepage = https://sourceforge.net/projects/slim.berlios/; # berlios shut down; I found no replacement yet
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl2;
};
}

View File

@ -1,80 +0,0 @@
diff --git a/log.cpp b/log.cpp
index b44677a..7c89dda 100644
--- a/log.cpp
+++ b/log.cpp
@@ -1,23 +1,31 @@
#include "log.h"
#include <iostream>
+#include <cstring>
bool
LogUnit::openLog(const char * filename)
{
- if (logFile.is_open()) {
+ if (isFile && logFile.is_open()) {
cerr << APPNAME
<< ": opening a new Log file, while another is already open"
<< endl;
- logFile.close();
+ closeLog();
}
- logFile.open(filename, ios_base::app);
- return !(logFile.fail());
+ if (strcmp(filename, "/dev/stderr") == 0) {
+ isFile = false;
+ return true;
+ } else {
+ logFile.open(filename, ios_base::app);
+ isFile = true;
+ return !(logFile.fail());
+ }
}
void
LogUnit::closeLog()
{
+ if (!isFile) return;
if (logFile.is_open())
logFile.close();
}
diff --git a/log.h b/log.h
index b7810be..ad548a2 100644
--- a/log.h
+++ b/log.h
@@ -9,11 +9,14 @@
#endif
#include "const.h"
#include <fstream>
+#include <iostream>
using namespace std;
static class LogUnit {
ofstream logFile;
+ bool isFile;
+ inline ostream &getStream() { return isFile ? logFile : cerr; }
public:
bool openLog(const char * filename);
void closeLog();
@@ -22,17 +25,17 @@ public:
template<typename Type>
LogUnit & operator<<(const Type & text) {
- logFile << text; logFile.flush();
+ getStream() << text; getStream().flush();
return *this;
}
LogUnit & operator<<(ostream & (*fp)(ostream&)) {
- logFile << fp; logFile.flush();
+ getStream() << fp; getStream().flush();
return *this;
}
LogUnit & operator<<(ios_base & (*fp)(ios_base&)) {
- logFile << fp; logFile.flush();
+ getStream() << fp; getStream().flush();
return *this;
}
} logStream;

View File

@ -1,12 +0,0 @@
diff -ru -x '*~' slim-1.3.6-orig/app.cpp slim-1.3.6/app.cpp
--- slim-1.3.6-orig/app.cpp 2013-10-15 11:02:55.629263422 +0200
+++ slim-1.3.6/app.cpp 2013-10-15 13:00:10.141210784 +0200
@@ -816,7 +822,7 @@
StopServer();
RemoveLock();
while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
- Run();
+ exit(OK_EXIT);
}
void App::KillAllClients(Bool top) {

View File

@ -1,70 +0,0 @@
diff -ru slim-1.3.6-orig/app.cpp slim-1.3.6/app.cpp
--- slim-1.3.6-orig/app.cpp 2013-10-02 00:38:05.000000000 +0200
+++ slim-1.3.6/app.cpp 2014-03-30 19:01:04.115414201 +0200
@@ -200,7 +200,9 @@
/* Read configuration and theme */
cfg = new Cfg;
- cfg->readConf(CFGFILE);
+ char *cfgfile = getenv("SLIM_CFGFILE");
+ if (!cfgfile) cfgfile = CFGFILE;
+ cfg->readConf(cfgfile);
string themebase = "";
string themefile = "";
string themedir = "";
@@ -208,7 +210,9 @@
if (testing) {
themeName = testtheme;
} else {
- themebase = string(THEMESDIR) + "/";
+ char *themesdir = getenv("SLIM_THEMESDIR");
+ if (!themesdir) themesdir = THEMESDIR;
+ themebase = string(themesdir) + "/";
themeName = cfg->getOption("current_theme");
string::size_type pos;
if ((pos = themeName.find(",")) != string::npos) {
diff -ru slim-1.3.6-orig/CMakeLists.txt slim-1.3.6/CMakeLists.txt
--- slim-1.3.6-orig/CMakeLists.txt 2013-10-02 00:38:05.000000000 +0200
+++ slim-1.3.6/CMakeLists.txt 2014-03-30 19:16:48.445069729 +0200
@@ -23,7 +23,7 @@
set(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "Installation Directory")
set(PKGDATADIR "${CMAKE_INSTALL_PREFIX}/share/slim")
-set(SYSCONFDIR "/etc")
+set(SYSCONFDIR "$ENV{out}/etc")
set(LIBDIR "/lib")
set(MANDIR "${CMAKE_INSTALL_PREFIX}/share/man")
@@ -40,7 +40,7 @@
set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DPACKAGE=\"slim\"")
set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DVERSION=\"${SLIM_VERSION}\"")
set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DPKGDATADIR=\"${PKGDATADIR}\"")
-set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DSYSCONFDIR=\"${SYSCONFDIR}\"")
+set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DSYSCONFDIR=\"/etc\"")
# Flags
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -g -O2")
Only in slim-1.3.6: CMakeLists.txt~
diff -ru slim-1.3.6-orig/slimlock.cpp slim-1.3.6/slimlock.cpp
--- slim-1.3.6-orig/slimlock.cpp 2013-10-02 00:38:05.000000000 +0200
+++ slim-1.3.6/slimlock.cpp 2014-03-30 19:01:04.115414201 +0200
@@ -106,13 +106,17 @@
unsigned int cfg_passwd_timeout;
// Read user's current theme
cfg = new Cfg;
- cfg->readConf(CFGFILE);
+ char *cfgfile = getenv("SLIM_CFGFILE");
+ if (!cfgfile) cfgfile = CFGFILE;
+ cfg->readConf(cfgfile);
cfg->readConf(SLIMLOCKCFG);
string themebase = "";
string themefile = "";
string themedir = "";
themeName = "";
- themebase = string(THEMESDIR) + "/";
+ char *themesdir = getenv("SLIM_THEMESDIR");
+ if (!themesdir) themesdir = THEMESDIR;
+ themebase = string(themesdir) + "/";
themeName = cfg->getOption("current_theme");
string::size_type pos;
if ((pos = themeName.find(",")) != string::npos) {

View File

@ -1,40 +0,0 @@
diff -ru -x '*~' slim-1.3.6-orig/cfg.cpp slim-1.3.6/cfg.cpp
--- slim-1.3.6-orig/cfg.cpp 2013-10-02 00:38:05.000000000 +0200
+++ slim-1.3.6/cfg.cpp 2016-01-30 10:35:51.108766802 +0100
@@ -14,6 +14,7 @@
#include <iostream>
#include <unistd.h>
#include <stdlib.h>
+#include <algorithm>
#include <sys/types.h>
#include <sys/stat.h>
@@ -293,6 +294,8 @@
sessions.clear();
+ typedef pair<string,string> session_t;
+
if( !strSessionDir.empty() ) {
DIR *pDir = opendir(strSessionDir.c_str());
@@ -325,7 +328,7 @@
}
}
desktop_file.close();
- pair<string,string> session(session_name,session_exec);
+ session_t session(session_name,session_exec);
sessions.push_back(session);
cout << session_exec << " - " << session_name << endl;
}
@@ -341,6 +344,10 @@
pair<string,string> session("","");
sessions.push_back(session);
}
+
+ std::sort(sessions.begin(), sessions.end(), [](session_t& a, session_t& b) -> bool{
+ return a.first < b.first;
+ });
}
pair<string,string> Cfg::nextSession() {

View File

@ -1,183 +0,0 @@
{ stdenv, fetchurl, slim }:
# Inspired on aspell buildDict expression
let
buildTheme =
{fullName, src, version ? "testing"}:
stdenv. mkDerivation rec {
name = "${fullName}-${version}";
inherit src;
buildInputs = [ slim ];
dontBuild = true;
installPhase = ''
install -dm755 $out/share/slim/themes/${name}
install -m644 * $out/share/slim/themes/${name}
'';
meta = {
description = "Slim theme for ${fullName}";
platforms = stdenv.lib.platforms.linux;
};
};
in {
archlinuxSimple = buildTheme {
fullName = "archlinux-simple";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-archlinux-simple.tar.gz";
sha256 = "7d60d6782fa86302646fe67253467c04692d247f89bdbe87178f690f32b270db";
};
};
capernoited = buildTheme {
fullName = "capernoited";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-capernoited.tar.gz";
sha256 = "fb9163c6a2656d60f088dc4f2173aa7556a6794495122acfa7d3be7182f16b41";
};
};
debianMoreblue = buildTheme {
fullName = "debian-moreblue";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-debian-moreblue.tar.bz2";
sha256 = "5b76929827d4a4d604ddca4f42668cca3309b6f7bd659901021c6f49d6d2c481";
};
};
fingerprint = buildTheme {
fullName = "fingerprint";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-fingerprint.tar.gz";
sha256 = "48b703f84ce7b814cda0824f65cafebf695cd71a14166b481bb44616097d3144";
};
};
flat = buildTheme {
fullName = "flat";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-flat.tar.gz";
sha256 = "0092d531540f9da8ef07ad173e527c4ef9c088d04962d142be3c11f0c5c0c5e9";
};
};
flower2 = buildTheme {
fullName = "flower2";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-flower2.tar.gz";
sha256 = "840faf6459ffd6c2c363160c85cb98000717f9a425102976336f5d8f68ed95ee";
};
};
gentooSimple = buildTheme {
fullName = "gentoo-simple";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-gentoo-simple.tar.bz2";
sha256 = "27c8614cc930ca200acf81f1192febc102501744939d5cbe997141e37c96d8c2";
};
};
lake = buildTheme {
fullName = "lake";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-lake.tar.gz";
sha256 = "f7d662e37068a6c64cbf910adf3c192f1b50724baa427a8c9487cb9f7ed95851";
};
};
lunar = buildTheme {
fullName = "lunar-0.4";
version = "";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-lunar-0.4.tar.bz2";
sha256 = "1543eb45e4d664377e0dd4f7f954aba005823034ba9692624398b3d58be87d76";
};
};
mindlock = buildTheme {
fullName = "mindlock";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-mindlock.tar.gz";
sha256 = "99a6e6acd55bf55ece18a3f644299517b71c1adc49efd87ce2d7e654fb67033c";
};
};
parallelDimensions = buildTheme {
fullName = "parallel-dimensions";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-parallel-dimensions.tar.gz";
sha256 = "2b17c3e6d3967a6a0744e20e6e05c9d3938f4ef04c62d49ddbd416bc4743046f";
};
};
previous = buildTheme {
fullName = "previous";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-previous.tar.gz";
sha256 = "1f2a69f8fc0dc8ed8eb86a4c1d1087ba7be486973fb81efab52a63c661d726f8";
};
};
rainbow = buildTheme {
fullName = "rainbow";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-rainbow.tar.gz";
sha256 = "d83e3afdb05be50cff7da037bb31208b2c152539d1a009740b13857f5f910072";
};
};
rear-window = buildTheme {
fullName = "rear-window";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-rear-window.tar.gz";
sha256 = "0b123706ccb67e94f626c183530ec5732b209bab155bc661d6a3f5cd5ee39511";
};
};
scotlandRoad = buildTheme {
fullName = "scotland-road";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-scotland-road.tar.gz";
sha256 = "fd60a434496ed39b968ffa1e5457b36cd12f64a4e2ecedffc675f97ca3f3bba1";
};
};
subway = buildTheme {
fullName = "subway";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-subway.tar.gz";
sha256 = "0205568e3e157973b113a83b26d8829ce9962a85ef7eb8a33d3ae2f3f9292253";
};
};
wave = buildTheme {
fullName = "wave";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-wave.tar.gz";
sha256 = "be75676da5bf8670daa48379bb9cc1be0b9a5faa09adbea967dfd7125320b959";
};
};
zenwalk = buildTheme {
fullName = "zenwalk";
src = fetchurl {
url = "mirror://sourceforge/slim.berlios/slim-zenwalk.tar.gz";
sha256 = "f0f41d17ea505b0aa96a036e978fabaf673a51d3f81a919cb0d43364d4bc7a57";
};
};
nixosSlim = buildTheme {
fullName = "nixos-slim";
src = fetchurl {
url = "https://github.com/jagajaga/nixos-slim-theme/archive/2.0.tar.gz";
sha256 = "0lldizhigx7bjhxkipii87y432hlf5wdvamnfxrryf9z7zkfypc8";
};
};
}

View File

@ -13,14 +13,14 @@ let
sha256Hash = "0kcd6kd5rn4b76damkfddin18d1r0dck05piv8mq1ns7x1n4hf7q"; sha256Hash = "0kcd6kd5rn4b76damkfddin18d1r0dck05piv8mq1ns7x1n4hf7q";
}; };
betaVersion = { betaVersion = {
version = "3.6.0.15"; # "Android Studio 3.6 Beta 3" version = "3.6.0.16"; # "Android Studio 3.6 Beta 4"
build = "192.5982640"; build = "192.5994180";
sha256Hash = "0017g7nvjiadd64in9fl4wq5lf8b7pyrdasbnwzjcphpbzy1390x"; sha256Hash = "0wyyr6r0jzb1l4rn1mfgp0nnzvgk3x62imq629z6vrdbymy8psf1";
}; };
latestVersion = { # canary & dev latestVersion = { # canary & dev
version = "4.0.0.2"; # "Android Studio 4.0 Canary 2" version = "4.0.0.3"; # "Android Studio 4.0 Canary 3"
build = "192.5984562"; build = "192.5994236";
sha256Hash = "0p29a6np31396970lnb3di2yrcqi3z8nqcn27hcnb4c4g7kjm0qw"; sha256Hash = "14ig352anjs0df72f41v4r6jl7mlm2n4pn9syanmykaj87dm4kf4";
}; };
in { in {
# Attributes are named by their corresponding release channels # Attributes are named by their corresponding release channels

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
CMatrix simulates the display from "The Matrix" and is based CMatrix simulates the display from "The Matrix" and is based
on the screensaver from the movie's website. on the screensaver from the movie's website.
''; '';
homepage = http://www.asty.org/cmatrix/; homepage = https://github.com/abishekvashok/cmatrix;
platforms = ncurses.meta.platforms; platforms = ncurses.meta.platforms;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
}; };

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation {
configureFlags = [ "--with-ssl=${openssl.dev}" ]; configureFlags = [ "--with-ssl=${openssl.dev}" ];
meta = { meta = {
homepage = http://www.fetchmail.info/; homepage = https://www.fetchmail.info/;
description = "A full-featured remote-mail retrieval and forwarding utility"; description = "A full-featured remote-mail retrieval and forwarding utility";
longDescription = '' longDescription = ''
A full-featured, robust, well-documented remote-mail retrieval and A full-featured, robust, well-documented remote-mail retrieval and

View File

@ -2,13 +2,13 @@
mkDerivation rec { mkDerivation rec {
pname = "gpxsee"; pname = "gpxsee";
version = "7.16"; version = "7.17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tumic0"; owner = "tumic0";
repo = "GPXSee"; repo = "GPXSee";
rev = version; rev = version;
sha256 = "1mkfhb2c9qafjpva600nyn6yik49l4q1k6id1xvrci37wsn6ijav"; sha256 = "10mch709m4ws73yzkrx9lm2hwzl179ggpk6xkbhkvnl7rsd2yz08";
}; };
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake ];

View File

@ -1,21 +1,33 @@
{ stdenv, python36Packages, fetchFromGitHub, libxcb, mtools, p7zip, parted, procps, utillinux, qt5, runtimeShell }: { fetchFromGitHub, libxcb, mtools, p7zip, parted, procps,
python36Packages, qt5, runtimeShell, stdenv, utillinux, wrapQtAppsHook }:
# Note: Multibootusb is tricky to maintain. It relies on the
# $PYTHONPATH variable containing some of their code, so that
# something like:
#
# from scripts import config
#
# works. It also relies on the current directory to find some runtime
# resources thanks to a use of __file__.
#
# https://github.com/mbusb/multibootusb/blob/0d34d70c3868f1d7695cfd141141b17c075de967/scripts/osdriver.py#L59
python36Packages.buildPythonApplication rec { python36Packages.buildPythonApplication rec {
pname = "multibootusb"; pname = "multibootusb";
name = "${pname}-${version}"; name = "${pname}-${version}";
version = "9.2.0"; version = "9.2.0";
nativeBuildInputs = [
wrapQtAppsHook
];
buildInputs = [ buildInputs = [
python36Packages.dbus-python
python36Packages.pyqt5
python36Packages.pytest-shutil
python36Packages.python
python36Packages.pyudev
python36Packages.six
libxcb libxcb
mtools mtools
p7zip p7zip
parted parted
procps procps
python36Packages.python
qt5.full qt5.full
utillinux utillinux
]; ];
@ -28,32 +40,42 @@ python36Packages.buildPythonApplication rec {
sha256 = "0wlan0cp6c2i0nahixgpmkm0h4n518gj8rc515d579pqqp91p2h3"; sha256 = "0wlan0cp6c2i0nahixgpmkm0h4n518gj8rc515d579pqqp91p2h3";
}; };
# Skip the fixup stage where stuff is shrinked (can't shrink text files) # Tests can't run inside the NixOS sandbox
phases = [ "unpackPhase" "installPhase" ]; # "Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory"
doCheck = false;
installPhase = '' pythonPath = [
share="$out/share/${pname}" python36Packages.dbus-python
mkdir -p "$share" python36Packages.pyqt5
cp -r data "$share/data" python36Packages.pytest-shutil
cp -r scripts "$share/scripts" python36Packages.pyudev
cp "${pname}" "$share/${pname}" python36Packages.six
];
mkdir "$out/bin" makeWrapperArgs = [
cat > "$out/bin/${pname}" <<EOF # Firstly, add all necessary QT variables
#!${runtimeShell} "\${qtWrapperArgs[@]}"
cd "$share"
export PYTHONPATH="$PYTHONPATH:$share"
export PATH="$PATH:${parted}/bin:${procps}/bin"
"${python36Packages.python}/bin/python" "${pname}" # Then, add the installed scripts/ directory to the python path
EOF "--prefix" "PYTHONPATH" ":" "$out/lib/${python36Packages.python.libPrefix}/site-packages"
chmod +x "$out/bin/${pname}"
# Finally, move to directory that contains data
"--run" "\"cd $out/share/${pname}\""
];
postInstall = ''
# This script doesn't work and it doesn't add much anyway
rm $out/bin/multibootusb-pkexec
# The installed data isn't sufficient for whatever reason, missing gdisk/gdisk.exe
mkdir -p "$out/share/${pname}"
cp -r data "$out/share/${pname}/data"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Multiboot USB creator for Linux live disks"; description = "Multiboot USB creator for Linux live disks";
homepage = http://multibootusb.org/; homepage = http://multibootusb.org/;
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ jD91mZM2 ]; maintainers = []; # Looking for a maintainer!
}; };
} }

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xmrig-proxy"; pname = "xmrig-proxy";
version = "3.2.0"; version = "5.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xmrig"; owner = "xmrig";
repo = "xmrig-proxy"; repo = "xmrig-proxy";
rev = "v${version}"; rev = "v${version}";
sha256 = "0scz78cc5zcdd6z4gm0zqsb36jf0z8fyn2ki52814ndxrk7nr4xg"; sha256 = "0h0yxzpar952ix94j10qyf31c20g45w0nxr02vfybjip48dvlf76";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Fast, small, webkit based browser framework extensible in Lua"; description = "Fast, small, webkit based browser framework extensible in Lua";
homepage = http://luakit.org; homepage = https://luakit.github.io/;
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.linux; # Only tested linux platforms = platforms.linux; # Only tested linux
}; };

View File

@ -15,13 +15,13 @@ with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "kubernetes"; pname = "kubernetes";
version = "1.15.4"; version = "1.16.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubernetes"; owner = "kubernetes";
repo = "kubernetes"; repo = "kubernetes";
rev = "v${version}"; rev = "v${version}";
sha256 = "18wpqrgb1ils4g8ggg217xq4jq30i4m7par2mdjk59pmz7ssm25p"; sha256 = "0s2k7ik2aa7knh25r0qki7ldr3g9h87dgi8nm64j8n0yy4xvg2h3";
}; };
buildInputs = [ removeReferencesTo makeWrapper which go rsync go-bindata ]; buildInputs = [ removeReferencesTo makeWrapper which go rsync go-bindata ];
@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
description = "Production-Grade Container Scheduling and Management"; description = "Production-Grade Container Scheduling and Management";
license = licenses.asl20; license = licenses.asl20;
homepage = https://kubernetes.io; homepage = https://kubernetes.io;
maintainers = with maintainers; [johanot offline]; maintainers = with maintainers; [johanot offline saschagrunert];
platforms = platforms.unix; platforms = platforms.unix;
}; };
} }

View File

@ -112,8 +112,8 @@ in rec {
terraform_0_11-full = terraform_0_11.full; terraform_0_11-full = terraform_0_11.full;
terraform_0_12 = pluggable (generic { terraform_0_12 = pluggable (generic {
version = "0.12.14"; version = "0.12.15";
sha256 = "0pq4sfnnlj91gxyxvyzzrgglnvh8xpan90gnc9jvnnb23iv4q96l"; sha256 = "18kvgb2sjldis7bykb11zqzx6avr7a4ry91xsfq4v0iwbi5k383b";
patches = [ ./provider-path.patch ]; patches = [ ./provider-path.patch ];
passthru = { inherit plugins; }; passthru = { inherit plugins; };
}); });

View File

@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
castget is a simple, command-line based RSS enclosure downloader. It is castget is a simple, command-line based RSS enclosure downloader. It is
primarily intended for automatic, unattended downloading of podcasts. primarily intended for automatic, unattended downloading of podcasts.
''; '';
homepage = "http://castget.johndal.com/"; homepage = "https://castget.johndal.com/";
maintainers = with maintainers; [ doronbehar ]; maintainers = with maintainers; [ doronbehar ];
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -1,16 +1,16 @@
{ callPackage }: { callPackage }:
let let
stableVersion = "2.2.2"; stableVersion = "2.2.3";
previewVersion = "2.2.2"; previewVersion = stableVersion;
addVersion = args: addVersion = args:
let version = if args.stable then stableVersion else previewVersion; let version = if args.stable then stableVersion else previewVersion;
branch = if args.stable then "stable" else "preview"; branch = if args.stable then "stable" else "preview";
in args // { inherit version branch; }; in args // { inherit version branch; };
mkGui = args: callPackage (import ./gui.nix (addVersion args)) { }; mkGui = args: callPackage (import ./gui.nix (addVersion args)) { };
mkServer = args: callPackage (import ./server.nix (addVersion args)) { }; mkServer = args: callPackage (import ./server.nix (addVersion args)) { };
guiSrcHash = "0i335fjbadixp39l75w0fl5iwz2cb8rcdj2xvx1my3vzhg8lijfl"; guiSrcHash = "1l40q3d3hsmhgwb4d8hj73vhgckm0dvsc6l6qzacypd202iq1v8a";
serverSrcHash = "1g6km8jc53y8ph14ifjxscbimdxma6bw5ir9gqzvkjn39k9fy1w6"; serverSrcHash = "1qcypb1rmfdl8fl3ykqf5phcapmjid6jrxd6xpncd5dhyl2hr94n";
in { in {
guiStable = mkGui { guiStable = mkGui {
stable = true; stable = true;

View File

@ -27,10 +27,10 @@ in {
pname = "discord-canary"; pname = "discord-canary";
binaryName = "DiscordCanary"; binaryName = "DiscordCanary";
desktopName = "Discord Canary"; desktopName = "Discord Canary";
version = "0.0.97"; version = "0.0.98";
src = fetchurl { src = fetchurl {
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
sha256 = "17kwgk2kwrfqgjqmfv055gvlqq144gz7bywwrs6i2x7mimz4345x"; sha256 = "0raqsfakjbcsh7g280yi7sg2jsrmy2q4jldg73wb868z35radld4";
}; };
}; };
}.${branch} }.${branch}

View File

@ -1,26 +1,26 @@
{ stdenv, fetchgit, pkgconfig, pidgin, json-glib, glib, http-parser, sqlite, olm, libgcrypt } : { stdenv, fetchFromGitHub, pkgconfig, pidgin, json-glib, glib, http-parser, sqlite, olm, libgcrypt } :
let stdenv.mkDerivation rec {
version = "2018-08-03";
in
stdenv.mkDerivation {
pname = "purple-matrix-unstable"; pname = "purple-matrix-unstable";
inherit version; version = "2019-06-06";
src = fetchgit { src = fetchFromGitHub {
url = "https://github.com/matrix-org/purple-matrix"; owner = "matrix-org";
rev = "5a7166a3f54f85793c6b60662f8d12196aeaaeb0"; repo = "purple-matrix";
sha256 = "0ph0s24b37d1c50p8zbzgf4q2xns43a8v6vk85iz633wdd72zsa0"; rev = "4494ba22b479917f0b1f96a3019792d3d75bcff1";
sha256 = "1gjm0z4wa5vi9x1xk43rany5pffrwg958n180ahdj9a7sa8a4hpm";
}; };
NIX_CFLAGS_COMPILE = [
# glib-2.62 deprecations # glib-2.62 deprecations
NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ]; "-DGLIB_DISABLE_DEPRECATION_WARNINGS"
# override "-O0 -Werror" set by build system
"-O3" "-Wno-error"
];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ pidgin json-glib glib http-parser sqlite olm libgcrypt ]; buildInputs = [ pidgin json-glib glib http-parser sqlite olm libgcrypt ];
hardeningDisable = [ "fortify" ]; # upstream compiles with -O0
makeFlags = [ makeFlags = [
"PLUGIN_DIR_PURPLE=${placeholder "out"}/lib/purple-2" "PLUGIN_DIR_PURPLE=${placeholder "out"}/lib/purple-2"
"DATA_ROOT_DIR_PURPLE=${placeholder "out"}/share" "DATA_ROOT_DIR_PURPLE=${placeholder "out"}/share"

View File

@ -31,6 +31,7 @@ in yarn2nix-moretea.mkYarnPackage rec {
ln -s '${riot-web}' "$out/share/riot/webapp" ln -s '${riot-web}' "$out/share/riot/webapp"
cp -r '${riot-web-src}/origin_migrator' "$out/share/riot/origin_migrator" cp -r '${riot-web-src}/origin_migrator' "$out/share/riot/origin_migrator"
cp -r './deps/riot-web' "$out/share/riot/electron" cp -r './deps/riot-web' "$out/share/riot/electron"
cp -r './deps/riot-web/img' "$out/share/riot"
rm "$out/share/riot/electron/node_modules" rm "$out/share/riot/electron/node_modules"
cp -r './node_modules' "$out/share/riot/electron" cp -r './node_modules' "$out/share/riot/electron"

View File

@ -114,7 +114,7 @@ in stdenv.mkDerivation rec {
''; '';
homepage = https://signal.org/; homepage = https://signal.org/;
license = lib.licenses.gpl3; license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ ixmatus primeos ]; maintainers = with lib.maintainers; [ ixmatus primeos equirosa ];
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
}; };
} }

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "quiterss"; pname = "quiterss";
version = "0.18.12"; version = "0.19.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "QuiteRSS"; owner = "QuiteRSS";
repo = "quiterss"; repo = "quiterss";
rev = version; rev = version;
sha256 = "0xav9qr8n6310636nfbgx4iix65fs3ya5rz2isxsf38bkjm7r3pa"; sha256 = "1czz8n21f4iaazvkq37m867bqy40sdkj44bqggfjcw49pl60kvjn";
}; };
nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ]; nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ];

View File

@ -1,31 +1,22 @@
{ stdenv, fetchurl, pkgconfig, intltool, perlPackages { stdenv, fetchurl, pkgconfig, intltool, perlPackages
, goffice, gnome3, wrapGAppsHook, gtk3, bison, pythonPackages , goffice, gnome3, wrapGAppsHook, gtk3, bison, pythonPackages
, itstool, autoreconfHook , itstool
}: }:
let let
inherit (pythonPackages) python pygobject3; inherit (pythonPackages) python pygobject3;
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "gnumeric"; pname = "gnumeric";
version = "1.12.45"; # TODO next release: remove gamma patch and autoreconfHook version = "1.12.46";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h"; sha256 = "9fdc67377af52dfe69a7db4f533938024a75f454fc5d25ab43b8e6739be0b5e1";
}; };
patches = stdenv.lib.optional stdenv.isDarwin
# https://gitlab.gnome.org/GNOME/gnumeric/issues/402
(fetchurl {
name = "math-gamma.patch";
url = "https://gitlab.gnome.org/GNOME/gnumeric/uploads/cf8d162bc719de92e97d01cb0ba5b637/ppp";
sha256 = "17wiigs06qc86a1nghwcg3pcnpa28123jblgsxpy3j7drardgnlp";
});
configureFlags = [ "--disable-component" ]; configureFlags = [ "--disable-component" ];
nativeBuildInputs = [ pkgconfig intltool bison itstool wrapGAppsHook ] nativeBuildInputs = [ pkgconfig intltool bison itstool wrapGAppsHook ];
++ stdenv.lib.optional stdenv.isDarwin autoreconfHook;
# ToDo: optional libgda, introspection? # ToDo: optional libgda, introspection?
buildInputs = [ buildInputs = [

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
homepage = http://cmictig.cs.ucl.ac.uk/research/software/software-nifty/niftyseg; homepage = http://cmictig.cs.ucl.ac.uk/research/software/software-nifty/niftyseg;
description = "Software for medical image segmentation, bias field correction, and cortical thickness calculation"; description = "Software for medical image segmentation, bias field correction, and cortical thickness calculation";
maintainers = with maintainers; [ bcdarwin ]; maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.linux; platforms = platforms.unix;
license = licenses.bsd3; license = licenses.bsd3;
}; };

View File

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Real-space time dependent density-functional theory code"; description = "Real-space time dependent density-functional theory code";
homepage = http://octopus-code.org; homepage = https://octopus-code.org;
maintainers = with maintainers; [ markuskowa ]; maintainers = with maintainers; [ markuskowa ];
license = licenses.gpl2; license = licenses.gpl2;
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];

View File

@ -43,7 +43,7 @@ stdenv.mkDerivation {
maintainers = with maintainers; [ gebner ma27 ]; maintainers = with maintainers; [ gebner ma27 ];
platforms = platforms.unix; platforms = platforms.unix;
license = licenses.asl20; license = licenses.asl20;
homepage = http://alviano.net/software/maxino/; homepage = https://alviano.net/software/maxino/;
# See pkgs/applications/science/logic/glucose/default.nix # See pkgs/applications/science/logic/glucose/default.nix
badPlatforms = [ "aarch64-linux" ]; badPlatforms = [ "aarch64-linux" ];
}; };

View File

@ -6,7 +6,7 @@ stdenv.mkDerivation {
name = "glsurf-3.3.1"; name = "glsurf-3.3.1";
src = fetchurl { src = fetchurl {
url = "https://lama.univ-savoie.fr/~raffalli/glsurf/glsurf-3.3.1.tar.gz"; url = "https://raffalli.eu/~christophe/glsurf/glsurf-3.3.1.tar.gz";
sha256 = "0w8xxfnw2snflz8wdr2ca9f5g91w5vbyp1hwlx1v7vg83d4bwqs7"; sha256 = "0w8xxfnw2snflz8wdr2ca9f5g91w5vbyp1hwlx1v7vg83d4bwqs7";
}; };
@ -24,7 +24,7 @@ stdenv.mkDerivation {
''; '';
meta = { meta = {
homepage = http://www.lama.univ-savoie.fr/~raffalli/glsurf; homepage = https://raffalli.eu/~christophe/glsurf/;
description = "A program to draw implicit surfaces and curves"; description = "A program to draw implicit surfaces and curves";
license = stdenv.lib.licenses.lgpl21; license = stdenv.lib.licenses.lgpl21;
}; };

View File

@ -46,7 +46,7 @@ stdenv.mkDerivation {
meta = { meta = {
description = "Medical imaging software with 2D, 3D and 4D capabilities"; description = "Medical imaging software with 2D, 3D and 4D capabilities";
homepage = http://www.aliza-dicom-viewer.com; homepage = https://www.aliza-dicom-viewer.com;
license = licenses.unfreeRedistributable; license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ mounium ]; maintainers = with maintainers; [ mounium ];
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -8,13 +8,13 @@ with stdenv.lib;
buildGoPackage rec { buildGoPackage rec {
pname = "gitea"; pname = "gitea";
version = "1.9.5"; version = "1.9.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "go-gitea"; owner = "go-gitea";
repo = "gitea"; repo = "gitea";
rev = "v${version}"; rev = "v${version}";
sha256 = "07isawbasshkgij2mh7pmp6h3ns758ysflngr18z0k2m38ny9h31"; sha256 = "0ql6hrrc339hrik4yk26bjn5x167c5q4s10kjld5fsgmn2k1nhdb";
# Required to generate the same checksum on MacOS due to unicode encoding differences # Required to generate the same checksum on MacOS due to unicode encoding differences
# More information: https://github.com/NixOS/nixpkgs/pull/48128 # More information: https://github.com/NixOS/nixpkgs/pull/48128
extraPostFetch = '' extraPostFetch = ''

View File

@ -5,7 +5,7 @@ let
in fetchzip { in fetchzip {
name = "babelstone-han-${version}"; name = "babelstone-han-${version}";
url = http://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip; url = https://www.babelstone.co.uk/Fonts/Download/BabelStoneHan.zip;
postFetch = '' postFetch = ''
mkdir -p $out/share/fonts/truetype mkdir -p $out/share/fonts/truetype
unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype unzip $downloadedFile '*.ttf' -d $out/share/fonts/truetype

View File

@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
version = "2.1"; version = "2.1";
src = fetchurl { src = fetchurl {
url = "http://font.gohu.org/${pname}-${version}.tar.gz"; url = "https://font.gohu.org/${pname}-${version}.tar.gz";
sha256 = "10dsl7insnw95hinkcgmp9rx39lyzb7bpx5g70vswl8d6p4n53bm"; sha256 = "10dsl7insnw95hinkcgmp9rx39lyzb7bpx5g70vswl8d6p4n53bm";
}; };
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
description = '' description = ''
A monospace bitmap font well suited for programming and terminal use A monospace bitmap font well suited for programming and terminal use
''; '';
homepage = http://font.gohu.org/; homepage = https://font.gohu.org/;
license = licenses.wtfpl; license = licenses.wtfpl;
maintainers = with maintainers; [ epitrochoid rnhmjoj ]; maintainers = with maintainers; [ epitrochoid rnhmjoj ];
}; };

View File

@ -42,7 +42,7 @@ stdenv.mkDerivation {
generous spacing, large punctuation, and easily distinguishable generous spacing, large punctuation, and easily distinguishable
characters but without the limitations of a fixed width. characters but without the limitations of a fixed width.
''; '';
homepage = http://input.fontbureau.com; homepage = https://input.fontbureau.com;
license = licenses.unfree; license = licenses.unfree;
maintainers = with maintainers; [ romildo ]; maintainers = with maintainers; [ romildo ];
platforms = platforms.all; platforms = platforms.all;

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Image viewer and editor written using the Enlightenment Foundation Libraries"; description = "Image viewer and editor written using the Enlightenment Foundation Libraries";
homepage = http://smhouston.us/ephoto/; homepage = https://smhouston.us/projects/ephoto/;
license = stdenv.lib.licenses.bsd2; license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.romildo ]; maintainers = [ stdenv.lib.maintainers.romildo ];

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
buildInputs = [ URI glib gtk libxfce4ui libxfce4util hicolor-icon-theme ]; buildInputs = [ URI glib gtk libxfce4ui libxfce4util hicolor-icon-theme ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://www.xfce.org/projects/${p_name}"; homepage = "https://docs.xfce.org/xfce/${p_name}/start";
description = "Application library for the Xfce desktop environment"; description = "Application library for the Xfce desktop environment";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
rev = "7999e72aecc3c5bc4019d43dc4697f49678cc3b4"; rev = "7999e72aecc3c5bc4019d43dc4697f49678cc3b4";
src = fetchurl { src = fetchurl {
url = http://downloads.factorcode.org/releases/0.98/factor-src-0.98.zip; url = https://downloads.factorcode.org/releases/0.98/factor-src-0.98.zip;
sha256 = "01ip9mbnar4sv60d2wcwfz62qaamdvbykxw3gbhzqa25z36vi3ri"; sha256 = "01ip9mbnar4sv60d2wcwfz62qaamdvbykxw3gbhzqa25z36vi3ri";
}; };
@ -94,7 +94,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://factorcode.org; homepage = https://factorcode.org;
license = licenses.bsd2; license = licenses.bsd2;
description = "A concatenative, stack-based programming language"; description = "A concatenative, stack-based programming language";

View File

@ -74,7 +74,7 @@ self: super: {
name = "git-annex-${super.git-annex.version}-src"; name = "git-annex-${super.git-annex.version}-src";
url = "git://git-annex.branchable.com/"; url = "git://git-annex.branchable.com/";
rev = "refs/tags/" + super.git-annex.version; rev = "refs/tags/" + super.git-annex.version;
sha256 = "1ahjddwl8wfkhc5sj2j2snh3cq0vg4apgv2maq3wdncin8bj7my6"; sha256 = "04l1yrjq7n4nlzkmkg73xp6p7vpw1iq53mrmyb8162wqb7zapg4f";
}; };
}).override { }).override {
dbus = if pkgs.stdenv.isLinux then self.dbus else null; dbus = if pkgs.stdenv.isLinux then self.dbus else null;
@ -275,6 +275,7 @@ self: super: {
dlist = dontCheck super.dlist; dlist = dontCheck super.dlist;
docopt = dontCheck super.docopt; # http://hydra.cryp.to/build/499172/log/raw docopt = dontCheck super.docopt; # http://hydra.cryp.to/build/499172/log/raw
dom-selector = dontCheck super.dom-selector; # http://hydra.cryp.to/build/497670/log/raw dom-selector = dontCheck super.dom-selector; # http://hydra.cryp.to/build/497670/log/raw
dotenv = dontCheck super.dotenv; # Tests fail because of missing test file on version 0.8.0.2 fixed on version 0.8.0.4
dotfs = dontCheck super.dotfs; # http://hydra.cryp.to/build/498599/log/raw dotfs = dontCheck super.dotfs; # http://hydra.cryp.to/build/498599/log/raw
DRBG = dontCheck super.DRBG; # http://hydra.cryp.to/build/498245/nixlog/1/raw DRBG = dontCheck super.DRBG; # http://hydra.cryp.to/build/498245/nixlog/1/raw
ed25519 = dontCheck super.ed25519; ed25519 = dontCheck super.ed25519;
@ -1314,4 +1315,7 @@ self: super: {
]; ];
}); });
# Needs the corresponding version of haskell-src-exts.
haskell-src-exts-simple = super.haskell-src-exts-simple.override { haskell-src-exts = self.haskell-src-exts_1_22_0; };
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View File

@ -43,7 +43,7 @@ core-packages:
- ghcjs-base-0 - ghcjs-base-0
default-package-overrides: default-package-overrides:
# LTS Haskell 14.13 # LTS Haskell 14.14
- abstract-deque ==0.3 - abstract-deque ==0.3
- abstract-deque-tests ==0.3 - abstract-deque-tests ==0.3
- abstract-par ==0.3.3 - abstract-par ==0.3.3
@ -60,7 +60,7 @@ default-package-overrides:
- aeson-better-errors ==0.9.1.0 - aeson-better-errors ==0.9.1.0
- aeson-casing ==0.2.0.0 - aeson-casing ==0.2.0.0
- aeson-compat ==0.3.9 - aeson-compat ==0.3.9
- aeson-diff ==1.1.0.7 - aeson-diff ==1.1.0.8
- aeson-extra ==0.4.1.3 - aeson-extra ==0.4.1.3
- aeson-generic-compat ==0.0.1.3 - aeson-generic-compat ==0.0.1.3
- aeson-iproute ==0.2 - aeson-iproute ==0.2
@ -72,7 +72,7 @@ default-package-overrides:
- al ==0.1.4.2 - al ==0.1.4.2
- alarmclock ==0.7.0.2 - alarmclock ==0.7.0.2
- alerts ==0.1.2.0 - alerts ==0.1.2.0
- alex ==3.2.4 - alex ==3.2.5
- alg ==0.2.12.0 - alg ==0.2.12.0
- algebraic-graphs ==0.4 - algebraic-graphs ==0.4
- Allure ==0.9.5.0 - Allure ==0.9.5.0
@ -90,7 +90,7 @@ default-package-overrides:
- ansi-wl-pprint ==0.6.9 - ansi-wl-pprint ==0.6.9
- ANum ==0.2.0.2 - ANum ==0.2.0.2
- aos-signature ==0.1.1 - aos-signature ==0.1.1
- apecs ==0.8.1 - apecs ==0.8.2
- apecs-gloss ==0.2.3 - apecs-gloss ==0.2.3
- apecs-physics ==0.4.2 - apecs-physics ==0.4.2
- api-field-json-th ==0.1.0.2 - api-field-json-th ==0.1.0.2
@ -111,7 +111,7 @@ default-package-overrides:
- asn1-parse ==0.9.5 - asn1-parse ==0.9.5
- asn1-types ==0.3.3 - asn1-types ==0.3.3
- assert-failure ==0.1.2.2 - assert-failure ==0.1.2.2
- assoc ==1 - assoc ==1.0.1
- astro ==0.4.2.1 - astro ==0.4.2.1
- async ==2.2.2 - async ==2.2.2
- async-extra ==0.2.0.0 - async-extra ==0.2.0.0
@ -134,12 +134,12 @@ default-package-overrides:
- authenticate ==1.3.4 - authenticate ==1.3.4
- authenticate-oauth ==1.6.0.1 - authenticate-oauth ==1.6.0.1
- auto ==0.4.3.1 - auto ==0.4.3.1
- autoexporter ==1.1.14 - autoexporter ==1.1.15
- auto-update ==0.1.6 - auto-update ==0.1.6
- avers ==0.0.17.1 - avers ==0.0.17.1
- avers-api ==0.1.0 - avers-api ==0.1.0
- avers-server ==0.1.0.1 - avers-server ==0.1.0.1
- avro ==0.4.5.3 - avro ==0.4.5.4
- avwx ==0.3.0.2 - avwx ==0.3.0.2
- aws-cloudfront-signed-cookies ==0.2.0.1 - aws-cloudfront-signed-cookies ==0.2.0.1
- aws-lambda-haskell-runtime ==2.0.1 - aws-lambda-haskell-runtime ==2.0.1
@ -311,7 +311,7 @@ default-package-overrides:
- chiphunk ==0.1.2.1 - chiphunk ==0.1.2.1
- choice ==0.2.2 - choice ==0.2.2
- chronologique ==0.3.1.1 - chronologique ==0.3.1.1
- chronos ==1.0.7 - chronos ==1.0.8
- chronos-bench ==0.2.0.2 - chronos-bench ==0.2.0.2
- chunked-data ==0.3.1 - chunked-data ==0.3.1
- cipher-aes ==0.2.11 - cipher-aes ==0.2.11
@ -513,7 +513,7 @@ default-package-overrides:
- deque ==0.4.3 - deque ==0.4.3
- deriveJsonNoPrefix ==0.1.0.1 - deriveJsonNoPrefix ==0.1.0.1
- deriving-compat ==0.5.7 - deriving-compat ==0.5.7
- derulo ==1.0.5 - derulo ==1.0.7
- detour-via-sci ==1.0.0 - detour-via-sci ==1.0.0
- dhall ==1.24.0 - dhall ==1.24.0
- dhall-bash ==1.0.21 - dhall-bash ==1.0.21
@ -521,7 +521,7 @@ default-package-overrides:
- diagrams ==1.4 - diagrams ==1.4
- diagrams-contrib ==1.4.3 - diagrams-contrib ==1.4.3
- diagrams-core ==1.4.2 - diagrams-core ==1.4.2
- diagrams-lib ==1.4.2.3 - diagrams-lib ==1.4.3
- diagrams-postscript ==1.4.1 - diagrams-postscript ==1.4.1
- diagrams-rasterific ==1.4.1.1 - diagrams-rasterific ==1.4.1.1
- diagrams-solve ==0.1.1 - diagrams-solve ==0.1.1
@ -532,7 +532,7 @@ default-package-overrides:
- digest ==0.0.1.2 - digest ==0.0.1.2
- digits ==0.3.1 - digits ==0.3.1
- dimensional ==1.3 - dimensional ==1.3
- di-monad ==1.3 - di-monad ==1.3.1
- directory-tree ==0.12.1 - directory-tree ==0.12.1
- direct-sqlite ==2.3.24 - direct-sqlite ==2.3.24
- discount ==0.1.1 - discount ==0.1.1
@ -550,7 +550,7 @@ default-package-overrides:
- doctemplates ==0.2.2.1 - doctemplates ==0.2.2.1
- doctest ==0.16.2 - doctest ==0.16.2
- doctest-discover ==0.2.0.0 - doctest-discover ==0.2.0.0
- doctest-driver-gen ==0.3.0.1 - doctest-driver-gen ==0.3.0.2
- doldol ==0.4.1.2 - doldol ==0.4.1.2
- do-list ==1.0.1 - do-list ==1.0.1
- dom-parser ==3.1.0 - dom-parser ==3.1.0
@ -799,7 +799,7 @@ default-package-overrides:
- gingersnap ==0.3.1.0 - gingersnap ==0.3.1.0
- gi-pango ==1.0.22 - gi-pango ==1.0.22
- githash ==0.1.3.3 - githash ==0.1.3.3
- github-release ==1.2.4 - github-release ==1.2.5
- github-types ==0.2.1 - github-types ==0.2.1
- github-webhooks ==0.10.1 - github-webhooks ==0.10.1
- gitrev ==1.3.1 - gitrev ==1.3.1
@ -876,7 +876,7 @@ default-package-overrides:
- haskey-btree ==0.3.0.1 - haskey-btree ==0.3.0.1
- haskintex ==0.8.0.0 - haskintex ==0.8.0.0
- haskoin-core ==0.9.6 - haskoin-core ==0.9.6
- hasql ==1.4 - hasql ==1.4.0.1
- hasql-optparse-applicative ==0.3.0.5 - hasql-optparse-applicative ==0.3.0.5
- hasql-pool ==0.5.1 - hasql-pool ==0.5.1
- hasql-transaction ==0.7.2 - hasql-transaction ==0.7.2
@ -895,7 +895,7 @@ default-package-overrides:
- hedgehog ==1.0.1 - hedgehog ==1.0.1
- hedgehog-corpus ==0.1.0 - hedgehog-corpus ==0.1.0
- hedgehog-fn ==1.0 - hedgehog-fn ==1.0
- hedis ==0.12.8 - hedis ==0.12.9
- hedn ==0.2.0.1 - hedn ==0.2.0.1
- here ==1.2.13 - here ==1.2.13
- heredoc ==0.2.0.0 - heredoc ==0.2.0.0
@ -1148,7 +1148,7 @@ default-package-overrides:
- js-jquery ==3.3.1 - js-jquery ==3.3.1
- json ==0.9.3 - json ==0.9.3
- json-alt ==1.0.0 - json-alt ==1.0.0
- json-feed ==1.0.6 - json-feed ==1.0.7
- jsonpath ==0.1.0.2 - jsonpath ==0.1.0.2
- json-rpc ==1.0.0 - json-rpc ==1.0.0
- json-rpc-client ==0.2.5.0 - json-rpc-client ==0.2.5.0
@ -1176,7 +1176,7 @@ default-package-overrides:
- kraken ==0.1.0 - kraken ==0.1.0
- l10n ==0.1.0.1 - l10n ==0.1.0.1
- labels ==0.3.3 - labels ==0.3.3
- lackey ==1.0.9 - lackey ==1.0.10
- LambdaHack ==0.9.5.0 - LambdaHack ==0.9.5.0
- lame ==0.2.0 - lame ==0.2.0
- language-c ==0.8.3 - language-c ==0.8.3
@ -1225,7 +1225,7 @@ default-package-overrides:
- libmpd ==0.9.0.10 - libmpd ==0.9.0.10
- liboath-hs ==0.0.1.1 - liboath-hs ==0.0.1.1
- libraft ==0.5.0.0 - libraft ==0.5.0.0
- libyaml ==0.1.1.0 - libyaml ==0.1.1.1
- LibZip ==1.0.1 - LibZip ==1.0.1
- lifted-async ==0.10.0.4 - lifted-async ==0.10.0.4
- lifted-base ==0.2.3.12 - lifted-base ==0.2.3.12
@ -1262,7 +1262,7 @@ default-package-overrides:
- lrucache ==1.2.0.1 - lrucache ==1.2.0.1
- lrucaching ==0.3.3 - lrucaching ==0.3.3
- lsp-test ==0.6.1.0 - lsp-test ==0.6.1.0
- lucid ==2.9.11 - lucid ==2.9.12
- lucid-extras ==0.2.2 - lucid-extras ==0.2.2
- lxd-client-config ==0.1.0.1 - lxd-client-config ==0.1.0.1
- lzma ==0.0.0.3 - lzma ==0.0.0.3
@ -1356,7 +1356,7 @@ default-package-overrides:
- monad-loops ==0.4.3 - monad-loops ==0.4.3
- monad-memo ==0.5.1 - monad-memo ==0.5.1
- monad-metrics ==0.2.1.4 - monad-metrics ==0.2.1.4
- monad-par ==0.3.4.8 - monad-par ==0.3.5
- monad-parallel ==0.7.2.3 - monad-parallel ==0.7.2.3
- monad-par-extras ==0.3.3 - monad-par-extras ==0.3.3
- monad-peel ==0.2.1.2 - monad-peel ==0.2.1.2
@ -1378,7 +1378,6 @@ default-package-overrides:
- mono-traversable-instances ==0.1.0.0 - mono-traversable-instances ==0.1.0.0
- mono-traversable-keys ==0.1.0 - mono-traversable-keys ==0.1.0
- more-containers ==0.2.1.2 - more-containers ==0.2.1.2
- morpheus-graphql ==0.6.2
- mountpoints ==1.0.2 - mountpoints ==1.0.2
- mpi-hs ==0.5.3.0 - mpi-hs ==0.5.3.0
- msgpack ==1.0.1.0 - msgpack ==1.0.1.0
@ -1432,7 +1431,7 @@ default-package-overrides:
- network-conduit-tls ==1.3.2 - network-conduit-tls ==1.3.2
- network-house ==0.1.0.2 - network-house ==0.1.0.2
- network-info ==0.2.0.10 - network-info ==0.2.0.10
- network-ip ==0.3.0.2 - network-ip ==0.3.0.3
- network-messagepack-rpc ==0.1.1.4 - network-messagepack-rpc ==0.1.1.4
- network-multicast ==0.3.2 - network-multicast ==0.3.2
- network-simple ==0.4.5 - network-simple ==0.4.5
@ -1452,7 +1451,7 @@ default-package-overrides:
- nonempty-containers ==0.3.2.0 - nonempty-containers ==0.3.2.0
- nonemptymap ==0.0.6.0 - nonemptymap ==0.0.6.0
- non-empty-sequence ==0.2.0.2 - non-empty-sequence ==0.2.0.2
- nonempty-vector ==0.1.0.0 - nonempty-vector ==0.2.0.1
- non-negative ==0.1.2 - non-negative ==0.1.2
- not-gloss ==0.7.7.0 - not-gloss ==0.7.7.0
- no-value ==1.0.0.0 - no-value ==1.0.0.0
@ -1724,10 +1723,10 @@ default-package-overrides:
- rank2classes ==1.3.1.2 - rank2classes ==1.3.1.2
- Rasterific ==0.7.4.4 - Rasterific ==0.7.4.4
- rasterific-svg ==0.3.3.2 - rasterific-svg ==0.3.3.2
- ratel ==1.0.8 - ratel ==1.0.9
- ratel-wai ==1.1.0 - ratel-wai ==1.1.1
- rattle ==0.1 - rattle ==0.1
- rattletrap ==9.0.6 - rattletrap ==9.0.7
- rawfilepath ==0.2.4 - rawfilepath ==0.2.4
- rawstring-qm ==0.2.3.0 - rawstring-qm ==0.2.3.0
- raw-strings-qq ==1.1 - raw-strings-qq ==1.1
@ -1822,7 +1821,7 @@ default-package-overrides:
- salak-toml ==0.3.5.3 - salak-toml ==0.3.5.3
- salak-yaml ==0.3.5.3 - salak-yaml ==0.3.5.3
- saltine ==0.1.0.2 - saltine ==0.1.0.2
- salve ==1.0.6 - salve ==1.0.8
- sample-frame ==0.0.3 - sample-frame ==0.0.3
- sample-frame-np ==0.0.4.1 - sample-frame-np ==0.0.4.1
- sampling ==0.3.3 - sampling ==0.3.3
@ -2033,7 +2032,7 @@ default-package-overrides:
- stripe-scotty ==1.0.0.0 - stripe-scotty ==1.0.0.0
- stripe-signature ==1.0.0.1 - stripe-signature ==1.0.0.1
- stripe-wreq ==1.0.1.0 - stripe-wreq ==1.0.1.0
- strive ==5.0.8 - strive ==5.0.9
- structs ==0.1.2 - structs ==0.1.2
- structured-cli ==2.5.1.0 - structured-cli ==2.5.1.0
- summoner ==1.3.0.1 - summoner ==1.3.0.1
@ -2126,7 +2125,7 @@ default-package-overrides:
- text-region ==0.3.1.0 - text-region ==0.3.1.0
- text-short ==0.1.3 - text-short ==0.1.3
- text-show ==3.8.2 - text-show ==3.8.2
- text-show-instances ==3.8.2 - text-show-instances ==3.8.3
- text-zipper ==0.10.1 - text-zipper ==0.10.1
- tfp ==1.0.1.1 - tfp ==1.0.1.1
- tf-random ==0.5 - tf-random ==0.5
@ -2195,7 +2194,7 @@ default-package-overrides:
- transformers-bifunctors ==0.1 - transformers-bifunctors ==0.1
- transformers-compat ==0.6.5 - transformers-compat ==0.6.5
- transformers-fix ==1.0 - transformers-fix ==1.0
- traverse-with-class ==1.0.0.0 - traverse-with-class ==1.0.1.0
- tree-diff ==0.1 - tree-diff ==0.1
- tree-fun ==0.8.1.0 - tree-fun ==0.8.1.0
- trifecta ==2 - trifecta ==2
@ -2391,7 +2390,7 @@ default-package-overrides:
- writer-cps-mtl ==0.1.1.6 - writer-cps-mtl ==0.1.1.6
- writer-cps-transformers ==0.5.6.1 - writer-cps-transformers ==0.5.6.1
- ws ==0.0.5 - ws ==0.0.5
- wuss ==1.1.14 - wuss ==1.1.15
- X11 ==1.9.1 - X11 ==1.9.1
- X11-xft ==0.3.1 - X11-xft ==0.3.1
- x11-xim ==0.0.9.0 - x11-xim ==0.0.9.0
@ -2429,7 +2428,7 @@ default-package-overrides:
- xmonad-extras ==0.15.2 - xmonad-extras ==0.15.2
- xss-sanitize ==0.3.6 - xss-sanitize ==0.3.6
- xxhash-ffi ==0.2.0.0 - xxhash-ffi ==0.2.0.0
- yaml ==0.11.1.2 - yaml ==0.11.2.0
- yeshql ==4.1.0.1 - yeshql ==4.1.0.1
- yeshql-core ==4.1.0.2 - yeshql-core ==4.1.0.2
- yeshql-hdbc ==4.1.0.2 - yeshql-hdbc ==4.1.0.2
@ -4311,7 +4310,6 @@ broken-packages:
- domplate - domplate
- dot-linker - dot-linker
- dot2graphml - dot2graphml
- dotenv
- dotfs - dotfs
- doublify-toolkit - doublify-toolkit
- dovin - dovin
@ -5188,6 +5186,8 @@ broken-packages:
- GrowlNotify - GrowlNotify
- grpc-api-etcd - grpc-api-etcd
- grpc-etcd-client - grpc-etcd-client
- grpc-haskell
- grpc-haskell-core
- gruff - gruff
- gruff-examples - gruff-examples
- gsc-weighting - gsc-weighting
@ -6156,6 +6156,7 @@ broken-packages:
- http-dispatch - http-dispatch
- http-enumerator - http-enumerator
- http-grammar - http-grammar
- http-io-streams
- http-kinder - http-kinder
- http-monad - http-monad
- http-pony-serve-wai - http-pony-serve-wai
@ -7448,6 +7449,7 @@ broken-packages:
- NestedFunctor - NestedFunctor
- nestedmap - nestedmap
- net-mqtt - net-mqtt
- net-mqtt-rpc
- net-spider - net-spider
- net-spider-cli - net-spider-cli
- net-spider-pangraph - net-spider-pangraph
@ -8552,6 +8554,7 @@ broken-packages:
- rws - rws
- RxHaskell - RxHaskell
- s-expression - s-expression
- S3
- SableCC2Hs - SableCC2Hs
- safe-access - safe-access
- safe-buffer-monad - safe-buffer-monad
@ -8684,6 +8687,7 @@ broken-packages:
- Semantique - Semantique
- semdoc - semdoc
- semi-iso - semi-iso
- semialign-extras
- semialign-indexed - semialign-indexed
- semialign-optics - semialign-optics
- semibounded-lattices - semibounded-lattices

View File

@ -297,10 +297,22 @@ self: super: builtins.intersectAttrs super {
); );
llvm-hs = llvm-hs =
let dontCheckDarwin = if pkgs.stdenv.isDarwin let llvmHsWithLlvm8 = super.llvm-hs.override { llvm-config = pkgs.llvm_8; };
then dontCheck in
else pkgs.lib.id; if pkgs.stdenv.isDarwin
in dontCheckDarwin (super.llvm-hs.override { llvm-config = pkgs.llvm_8; }); then
overrideCabal llvmHsWithLlvm8 (oldAttrs: {
# One test fails on darwin.
doCheck = false;
# llvm-hs's Setup.hs file tries to add the lib/ directory from LLVM8 to
# the DYLD_LIBRARY_PATH environment variable. This messes up clang
# when called from GHC, probably because clang is version 7, but we are
# using LLVM8.
preCompileBuildDriver = oldAttrs.preCompileBuildDriver or "" + ''
substituteInPlace Setup.hs --replace "addToLdLibraryPath libDir" "pure ()"
'';
})
else llvmHsWithLlvm8;
# Needs help finding LLVM. # Needs help finding LLVM.
spaceprobe = addBuildTool super.spaceprobe self.llvmPackages.llvm; spaceprobe = addBuildTool super.spaceprobe self.llvmPackages.llvm;
@ -624,5 +636,4 @@ self: super: builtins.intersectAttrs super {
# need it during the build itself, too. # need it during the build itself, too.
cairo = addBuildTool super.cairo self.buildHaskellPackages.gtk2hs-buildtools; cairo = addBuildTool super.cairo self.buildHaskellPackages.gtk2hs-buildtools;
pango = disableHardening (addBuildTool super.pango self.buildHaskellPackages.gtk2hs-buildtools) ["fortify"]; pango = disableHardening (addBuildTool super.pango self.buildHaskellPackages.gtk2hs-buildtools) ["fortify"];
} }

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
urls = [ urls = [
"http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz" "https://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz"
"https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz" "https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz"
]; ];
sha256 = "1p1r015a7jbpvkkbgzv1y8nxrbbp6dg0mq3ksi6ji0qdz3wfss79"; sha256 = "1p1r015a7jbpvkkbgzv1y8nxrbbp6dg0mq3ksi6ji0qdz3wfss79";
@ -63,10 +63,10 @@ stdenv.mkDerivation rec {
C or C++ programs, though that is not its primary goal. C or C++ programs, though that is not its primary goal.
''; '';
homepage = http://hboehm.info/gc/; homepage = https://hboehm.info/gc/;
# non-copyleft, X11-style license # non-copyleft, X11-style license
license = http://hboehm.info/gc/license.txt; license = https://hboehm.info/gc/license.txt;
maintainers = [ ]; maintainers = [ ];
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;

View File

@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
urls = [ urls = [
"https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz" "https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz"
"http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz" "https://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz"
]; ];
sha256 = "1798rp3mcfkgs38ynkbg2p47bq59pisrc6mn0l20pb5iczf0ssj3"; sha256 = "1798rp3mcfkgs38ynkbg2p47bq59pisrc6mn0l20pb5iczf0ssj3";
}; };
@ -58,10 +58,10 @@ stdenv.mkDerivation rec {
C or C++ programs, though that is not its primary goal. C or C++ programs, though that is not its primary goal.
''; '';
homepage = http://hboehm.info/gc/; homepage = https://hboehm.info/gc/;
# non-copyleft, X11-style license # non-copyleft, X11-style license
license = http://hboehm.info/gc/license.txt; license = https://hboehm.info/gc/license.txt;
maintainers = [ ]; maintainers = [ ];
platforms = stdenv.lib.platforms.all; platforms = stdenv.lib.platforms.all;

View File

@ -0,0 +1,15 @@
{ stdenv, callPackage, fetchurl, fetchpatch, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "1.71.0";
src = fetchurl {
#url = "mirror://sourceforge/boost/boost_1_71_0.tar.bz2";
urls = [
"mirror://sourceforge/boost/boost_1_71_0.tar.bz2"
"https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.bz2"
];
# SHA256 from http://www.boost.org/users/history/version_1_71_0.html
sha256 = "d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee";
};
})

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A blocking, shuffling and loss-less compression library"; description = "A blocking, shuffling and loss-less compression library";
homepage = http://www.blosc.org; homepage = https://www.blosc.org;
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.all; platforms = platforms.all;
}; };

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation {
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = "http://fltk.org/pub/fltk/snapshots/fltk-${version}.tar.gz"; url = "https://www.fltk.org/pub/fltk/snapshots/fltk-${version}.tar.gz";
sha256 = "1v8wxvxcbk99i82x2v5fpqg5vj8n7g8a38g30ry7nzcjn5sf3r63"; sha256 = "1v8wxvxcbk99i82x2v5fpqg5vj8n7g8a38g30ry7nzcjn5sf3r63";
}; };
@ -41,7 +41,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A C++ cross-platform lightweight GUI library"; description = "A C++ cross-platform lightweight GUI library";
homepage = http://www.fltk.org; homepage = https://www.fltk.org;
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.linux ++ platforms.darwin;
license = licenses.gpl2; license = licenses.gpl2;
}; };

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation {
inherit version; inherit version;
src = fetchurl { src = fetchurl {
url = "http://fltk.org/pub/fltk/${version}/fltk-${version}-source.tar.gz"; url = "https://www.fltk.org/pub/fltk/${version}/fltk-${version}-source.tar.gz";
sha256 = "00jp24z1818k9n6nn6lx7qflqf2k13g4kxr0p8v1d37kanhb4ac7"; sha256 = "00jp24z1818k9n6nn6lx7qflqf2k13g4kxr0p8v1d37kanhb4ac7";
}; };
@ -39,7 +39,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A C++ cross-platform lightweight GUI library"; description = "A C++ cross-platform lightweight GUI library";
homepage = http://www.fltk.org; homepage = https://www.fltk.org;
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.linux ++ platforms.darwin;
license = licenses.gpl2; license = licenses.gpl2;
}; };

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Libraries to natively talk to Microsoft SQL Server and Sybase databases"; description = "Libraries to natively talk to Microsoft SQL Server and Sybase databases";
homepage = http://www.freetds.org; homepage = https://www.freetds.org;
license = licenses.lgpl2; license = licenses.lgpl2;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all; platforms = platforms.all;

View File

@ -40,6 +40,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ thoughtpolice raskin ]; maintainers = with maintainers; [ thoughtpolice raskin ];
license = licenses.lgpl21; license = licenses.lgpl21;
platforms = platforms.unix; platforms = platforms.unix;
homepage = "http://maxmind.com"; homepage = "https://www.maxmind.com";
}; };
} }

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "goffice"; pname = "goffice";
version = "0.10.45"; version = "0.10.46";
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "702ba567e9ec0bbdd9b1a8161cd24648b4868d57a6cb89128f13c125f6f31947"; sha256 = "058d6d3a40e1f60525682ec6b857c441d5deb50d0d30a76804f9f36f865a13a9";
}; };
nativeBuildInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];

View File

@ -14,6 +14,9 @@ stdenv.mkDerivation rec {
preInstall = '' preInstall = ''
mkdir -p $out/include mkdir -p $out/include
substituteInPlace Makefile \
--replace "install -m 0755 -s" \
'install -m 0755 -s --strip-program $(STRIP)'
''; '';
installFlags = [ installFlags = [

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Userspace library for the Linux io_uring API"; description = "Userspace library for the Linux io_uring API";
homepage = http://git.kernel.dk/cgit/liburing/; homepage = https://git.kernel.dk/cgit/liburing/;
license = licenses.lgpl21; license = licenses.lgpl21;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ thoughtpolice ]; maintainers = with maintainers; [ thoughtpolice ];

View File

@ -60,6 +60,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.lgpl21Plus; license = stdenv.lib.licenses.lgpl21Plus;
maintainers = [stdenv.lib.maintainers.timokau]; maintainers = [stdenv.lib.maintainers.timokau];
platforms = stdenv.lib.platforms.unix; platforms = stdenv.lib.platforms.unix;
homepage = http://linalg.org/; homepage = https://linalg.org/;
}; };
} }

View File

@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An open source toolkit for developing mapping applications"; description = "An open source toolkit for developing mapping applications";
homepage = http://mapnik.org; homepage = https://mapnik.org;
maintainers = with maintainers; [ hrdinka ]; maintainers = with maintainers; [ hrdinka ];
license = licenses.lgpl21; license = licenses.lgpl21;
platforms = platforms.all; platforms = platforms.all;

View File

@ -14,11 +14,11 @@ assert withGf2x -> gf2x != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ntl"; pname = "ntl";
version = "11.3.4"; version = "11.4.1";
src = fetchurl { src = fetchurl {
url = "http://www.shoup.net/ntl/ntl-${version}.tar.gz"; url = "http://www.shoup.net/ntl/ntl-${version}.tar.gz";
sha256 = "0fdy63x6iglp20ypqhkpjj6wqjzpxlyl2wfw2dqlgiy6l6ibm4rd"; sha256 = "03k2hb6yn49d1f9cdig2ci7h5ga0x3nb3li60hh19wdqzg28f1m3";
}; };
buildInputs = [ buildInputs = [

View File

@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://opencolorio.org; homepage = https://opencolorio.org;
description = "A color management framework for visual effects and animation"; description = "A color management framework for visual effects and animation";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.goibhniu ]; maintainers = [ maintainers.goibhniu ];

View File

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
homepage = https://sourceforge.net/projects/niftilib; homepage = https://sourceforge.net/projects/niftilib;
description = "Medical imaging format C API"; description = "Medical imaging format C API";
maintainers = with maintainers; [ bcdarwin ]; maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.linux; platforms = platforms.unix;
license = licenses.publicDomain; license = licenses.publicDomain;
}; };
} }

View File

@ -21,7 +21,7 @@ stdenv.mkDerivation {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A high-level and functional interface to the Format module of the OCaml standard library"; description = "A high-level and functional interface to the Format module of the OCaml standard library";
homepage = "http://mjambon.com/${pname}.html"; homepage = "https://github.com/ocaml-community/${pname}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
}; };

View File

@ -1,38 +1,19 @@
{ stdenv, fetchurl, ocaml, findlib }: { lib, fetchurl, buildDunePackage }:
stdenv.mkDerivation rec { buildDunePackage rec {
name = "ocaml${ocaml.version}-facile-${version}"; pname = "facile";
version = "1.1.4";
version = "1.1.3";
src = fetchurl { src = fetchurl {
url = "http://opti.recherche.enac.fr/facile/distrib/facile-${version}.tar.gz"; url = "https://github.com/Emmanuel-PLF/facile/releases/download/${version}/facile-${version}.tbz";
sha256 = "1v4apqcw4gm36ph5xwf1wxaaza0ggvihvgsdslnf33fa1pdkvdjw"; sha256 = "0jqrwmn6fr2vj2rrbllwxq4cmxykv7zh0y4vnngx29f5084a04jp";
}; };
dontAddPrefix = 1; doCheck = true;
buildInputs = [ ocaml findlib ];
createFindlibDestdir = true;
installFlags = [ "FACILEDIR=$(OCAMLFIND_DESTDIR)/facile" ];
postInstall = ''
cat > $OCAMLFIND_DESTDIR/facile/META <<EOF
version = "${version}"
name = "facile"
description = "A Functional Constraint Library"
requires = ""
archive(byte) = "facile.cma"
archive(native) = "facile.cmxa"
EOF
'';
meta = { meta = {
homepage = "http://opti.recherche.enac.fr/facile/"; homepage = "http://opti.recherche.enac.fr/facile/";
license = stdenv.lib.licenses.lgpl21Plus; license = lib.licenses.lgpl21Plus;
description = "A Functional Constraint Library"; description = "A Functional Constraint Library";
platforms = stdenv.lib.platforms.unix;
}; };
} }

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation {
createFindlibDestdir = true; createFindlibDestdir = true;
meta = { meta = {
homepage = http://sagotch.github.io/ISO8601.ml/; homepage = https://ocaml-community.github.io/ISO8601.ml/;
description = "ISO 8601 and RFC 3999 date parsing for OCaml"; description = "ISO 8601 and RFC 3999 date parsing for OCaml";
license = stdenv.lib.licenses.mit; license = stdenv.lib.licenses.mit;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [];

View File

@ -5,8 +5,7 @@ buildDunePackage {
inherit (lwt) src version; inherit (lwt) src version;
buildInputs = [ ppx_tools_versioned ]; propagatedBuildInputs = [ lwt ppx_tools_versioned ];
propagatedBuildInputs = [ lwt ];
meta = { meta = {
description = "Ppx syntax extension for Lwt"; description = "Ppx syntax extension for Lwt";

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation ({
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An optimized parsing and printing library for the JSON format"; description = "An optimized parsing and printing library for the JSON format";
homepage = "http://mjambon.com/${pname}.html"; homepage = "https://github.com/ocaml-community/${pname}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [];

View File

@ -15,7 +15,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Convert text with ANSI color codes to HTML"; description = "Convert text with ANSI color codes to HTML";
homepage = http://github.com/ralphbean/ansi2html; homepage = https://github.com/ralphbean/ansi2html;
license = licenses.lgpl3Plus; license = licenses.lgpl3Plus;
maintainers = with maintainers; [ davidtwco ]; maintainers = with maintainers; [ davidtwco ];
platforms = platforms.all; platforms = platforms.all;

View File

@ -14,7 +14,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A Python port of the YUI CSS compression algorithm"; description = "A Python port of the YUI CSS compression algorithm";
homepage = http://github.com/zacharyvoase/cssmin; homepage = https://github.com/zacharyvoase/cssmin;
license = licenses.bsd3; license = licenses.bsd3;
}; };
} }

View File

@ -17,7 +17,7 @@ buildPythonPackage rec {
meta = { meta = {
description = "A Python wrapper for dmenu"; description = "A Python wrapper for dmenu";
homepage = http://dmenu.readthedocs.io; homepage = https://dmenu.readthedocs.io;
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = [ lib.maintainers.nico202 ]; maintainers = [ lib.maintainers.nico202 ];
}; };

View File

@ -44,7 +44,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A Python module and command line program for processing ID3 tags"; description = "A Python module and command line program for processing ID3 tags";
homepage = http://eyed3.nicfit.net/; homepage = https://eyed3.nicfit.net/;
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ lovek323 ]; maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix; platforms = platforms.unix;

View File

@ -0,0 +1,28 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, geographiclib
}:
buildPythonPackage rec {
pname = "geopy";
version = "1.20.0";
disabled = !isPy27; # only Python 2.7
doCheck = false; # Needs network access
propagatedBuildInputs = [ geographiclib ];
src = fetchPypi {
inherit pname version;
sha256 = "9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2";
};
meta = with stdenv.lib; {
homepage = "https://github.com/geopy/geopy";
description = "Python Geocoding Toolbox";
license = licenses.mit;
maintainers = with maintainers; [GuillaumeDesforges];
};
}

View File

@ -1,31 +1,30 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchFromGitHub
, isPy27 , isPy3k
, mock , geographiclib
, tox
, pylint
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "geopy"; pname = "geopy-unstable";
version = "1.20.0"; version = "2019-11-10";
disabled = !isPy27;
src = fetchPypi { disabled = !isPy3k; # only Python 3
inherit pname version; doCheck = false; # Needs network access
sha256 = "9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2";
propagatedBuildInputs = [ geographiclib ];
src = fetchFromGitHub {
owner = "geopy";
repo = "geopy";
rev = "531b7de6126838a3e69370227aa7f2086ba52b89";
sha256 = "07l1pblzg3hb3dbvd9rq8x78ly5dv0zxbc5hwskqil0bhv5v1p39";
}; };
doCheck = false; # too much
buildInputs = [ mock tox pylint ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/geopy/geopy"; homepage = "https://github.com/geopy/geopy";
description = "Python Geocoding Toolbox"; description = "Python Geocoding Toolbox";
license = licenses.mit; license = licenses.mit;
broken = true; maintainers = with maintainers; [GuillaumeDesforges];
}; };
} }

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyspf"; pname = "pyspf";
version = "2.0.13"; version = "2.0.12"; # version 2.0.13 should not be used, see #72791
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "16wjj99d2pikz6z1gwnl1jjvad6qjgpsf3a85lh47qqrjpiipp32"; sha256 = "18j1rmbmhih7q6y12grcj169q7sx1986qn4gmpla9y5gwfh1p8la";
}; };
propagatedBuildInputs = [ pydns ]; propagatedBuildInputs = [ pydns ];

View File

@ -12,7 +12,7 @@ buildPythonApplication rec {
disabled = !isPy3k; disabled = !isPy3k;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = ttps://github.com/iluxonchik/rfc-bibtex/; homepage = https://github.com/iluxonchik/rfc-bibtex/;
description = "Generate Bibtex entries for IETF RFCs and Internet-Drafts"; description = "Generate Bibtex entries for IETF RFCs and Internet-Drafts";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ teto ]; maintainers = with maintainers; [ teto ];

View File

@ -111,7 +111,7 @@ python3Packages.buildPythonApplication rec {
isCross = stdenv.targetPlatform != stdenv.hostPlatform; isCross = stdenv.targetPlatform != stdenv.hostPlatform;
meta = with lib; { meta = with lib; {
homepage = http://mesonbuild.com; homepage = https://mesonbuild.com;
description = "SCons-like build system that use python as a front-end language and Ninja as a building backend"; description = "SCons-like build system that use python as a front-end language and Ninja as a building backend";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ mbe rasendubi ]; maintainers = with maintainers; [ mbe rasendubi ];

View File

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, dune }: { stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild, dune }:
let let
pname = "cppo"; pname = "cppo";
webpage = "http://mjambon.com/${pname}.html"; webpage = "https://github.com/ocaml-community/${pname}";
in in
assert stdenv.lib.versionAtLeast ocaml.version "3.12"; assert stdenv.lib.versionAtLeast ocaml.version "3.12";

View File

@ -5,8 +5,8 @@ let
in in
buildNodejs { buildNodejs {
inherit enableNpm; inherit enableNpm;
version = "13.0.1"; version = "13.1.0";
sha256 = "1n9w1kvdzdg2j0a41wdkqcl893209lc018sd49xpy1cnr169h6vr"; sha256 = "0s6b2k7i89j9mxwyz271fvm6bf8jcz2v5kzmn0v5icrkpmn0ab6l";
patches = stdenv.lib.optionals stdenv.isDarwin [ ./disable-libatomic-darwin-13_x.patch ]; patches = stdenv.lib.optionals stdenv.isDarwin [ ./disable-libatomic-darwin-13_x.patch ];
} }

View File

@ -54,7 +54,7 @@ stdenv.mkDerivation {
first-person role-playing game / dungeon crawler first-person role-playing game / dungeon crawler
developed by Arkane Studios. developed by Arkane Studios.
''; '';
homepage = http://arx-libertatis.org/; homepage = https://arx-libertatis.org/;
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ rnhmjoj ]; maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -68,7 +68,7 @@ in stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A stand-alone, interactive, character sheet editor for the GURPS 4th Edition roleplaying game system"; description = "A stand-alone, interactive, character sheet editor for the GURPS 4th Edition roleplaying game system";
homepage = http://gurpscharactersheet.com/; homepage = https://gurpscharactersheet.com/;
license = licenses.mpl20; license = licenses.mpl20;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; []; maintainers = with maintainers; [];

View File

@ -2,12 +2,14 @@
, ffmpeg, libGLU_combined, freetype, libxml2, python3 , ffmpeg, libGLU_combined, freetype, libxml2, python3
, libobjc, AppKit, Foundation , libobjc, AppKit, Foundation
, alsaLib ? null , alsaLib ? null
, libdrm ? null
, libpulseaudio ? null , libpulseaudio ? null
, libv4l ? null , libv4l ? null
, libX11 ? null , libX11 ? null
, libXdmcp ? null , libXdmcp ? null
, libXext ? null , libXext ? null
, libXxf86vm ? null , libXxf86vm ? null
, mesa ? null
, SDL2 ? null , SDL2 ? null
, udev ? null , udev ? null
, enableNvidiaCgToolkit ? false, nvidia_cg_toolkit ? null , enableNvidiaCgToolkit ? false, nvidia_cg_toolkit ? null
@ -27,12 +29,12 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "retroarch-bare"; pname = "retroarch-bare";
version = "1.7.8.4"; version = "1.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libretro"; owner = "libretro";
repo = "RetroArch"; repo = "RetroArch";
sha256 = "1i3i23xwvmck8k2fpalr49np7xjzfg507243mybqrljawlnbxvph"; sha256 = "0y7rcpz7psf8k3agsrq277jdm651vbnn9xpqvmj2in1a786idya7";
rev = "v${version}"; rev = "v${version}";
}; };
@ -43,11 +45,13 @@ in stdenv.mkDerivation rec {
++ optional enableNvidiaCgToolkit nvidia_cg_toolkit ++ optional enableNvidiaCgToolkit nvidia_cg_toolkit
++ optional withVulkan [ vulkan-loader ] ++ optional withVulkan [ vulkan-loader ]
++ optionals stdenv.isDarwin [ libobjc AppKit Foundation ] ++ optionals stdenv.isDarwin [ libobjc AppKit Foundation ]
++ optionals stdenv.isLinux [ alsaLib libpulseaudio libv4l libX11 ++ optionals stdenv.isLinux [ alsaLib libdrm libpulseaudio libv4l libX11
libXdmcp libXext libXxf86vm udev ]; libXdmcp libXext libXxf86vm mesa udev ];
enableParallelBuilding = true; enableParallelBuilding = true;
configureFlags = if stdenv.isLinux then [ "--enable-kms" ] else "";
postInstall = optionalString withVulkan '' postInstall = optionalString withVulkan ''
wrapProgram $out/bin/retroarch --prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib wrapProgram $out/bin/retroarch --prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib
'' + optionalString stdenv.targetPlatform.isDarwin '' '' + optionalString stdenv.targetPlatform.isDarwin ''

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