Merge master into staging

This commit is contained in:
Frederik Rietdijk 2019-02-14 11:35:50 +01:00
commit a25d48cd4f
67 changed files with 3152 additions and 2951 deletions

View File

@ -352,9 +352,9 @@ you want them to come from. Add the following to `configuration.nix`.
```nix ```nix
services.hoogle = { services.hoogle = {
enable = true; enable = true;
packages = (hpkgs: with hpkgs; [text cryptonite]); packages = (hpkgs: with hpkgs; [text cryptonite]);
haskellPackages = pkgs.haskellPackages; haskellPackages = pkgs.haskellPackages;
}; };
``` ```

View File

@ -121,7 +121,7 @@ rec {
auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs; auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs;
origArgs = auto // args; origArgs = auto // args;
pkgs = f origArgs; pkgs = f origArgs;
mkAttrOverridable = name: pkg: makeOverridable (newArgs: (f newArgs).${name}) origArgs; mkAttrOverridable = name: _: makeOverridable (newArgs: (f newArgs).${name}) origArgs;
in lib.mapAttrs mkAttrOverridable pkgs; in lib.mapAttrs mkAttrOverridable pkgs;

View File

@ -7,12 +7,17 @@ fifo
inspect inspect
lgi lgi
lpeg_patterns lpeg_patterns
lpty
lrexlib-gnu, lrexlib-gnu,
lrexlib-posix, lrexlib-posix,
ltermbox, ltermbox,
lua-cmsgpack, lua-cmsgpack,
lua_cliargs, lua_cliargs,
lua-iconv,
lua-term, lua-term,
luabitop,
luaevent,
luacheck
luaffi,http://luarocks.org/dev, luaffi,http://luarocks.org/dev,
luuid, luuid,
penlight, penlight,

1 ansicolors,
7 inspect
8 lgi
9 lpeg_patterns
10 lpty
11 lrexlib-gnu,
12 lrexlib-posix,
13 ltermbox,
14 lua-cmsgpack,
15 lua_cliargs,
16 lua-iconv,
17 lua-term,
18 luabitop,
19 luaevent,
20 luacheck
21 luaffi,http://luarocks.org/dev,
22 luuid,
23 penlight,

View File

@ -36,14 +36,14 @@ in
nixos.revision = mkOption { nixos.revision = mkOption {
internal = true; internal = true;
type = types.str; type = types.str;
default = lib.trivial.revisionWithDefault "master"; default = trivial.revisionWithDefault "master";
description = "The Git revision from which this NixOS configuration was built."; description = "The Git revision from which this NixOS configuration was built.";
}; };
nixos.codeName = mkOption { nixos.codeName = mkOption {
readOnly = true; readOnly = true;
type = types.str; type = types.str;
default = lib.trivial.codeName; default = trivial.codeName;
description = "The NixOS release code name (e.g. <literal>Emu</literal>)."; description = "The NixOS release code name (e.g. <literal>Emu</literal>).";
}; };

View File

@ -4,6 +4,7 @@ with lib;
let let
cfg = config.services.nzbget; cfg = config.services.nzbget;
dataDir = builtins.dirOf cfg.configFile;
in { in {
options = { options = {
services.nzbget = { services.nzbget = {
@ -41,6 +42,12 @@ in {
default = "nzbget"; default = "nzbget";
description = "Group under which NZBGet runs"; description = "Group under which NZBGet runs";
}; };
configFile = mkOption {
type = types.str;
default = "/var/lib/nzbget/nzbget.conf";
description = "Path for NZBGet's config file. (If this doesn't exist, the default config template is copied here.)";
};
}; };
}; };
@ -54,36 +61,25 @@ in {
p7zip p7zip
]; ];
preStart = '' preStart = ''
datadir=${cfg.dataDir}
configfile=${cfg.dataDir}/nzbget.conf
cfgtemplate=${cfg.package}/share/nzbget/nzbget.conf cfgtemplate=${cfg.package}/share/nzbget/nzbget.conf
test -d $datadir || { if [ ! -f ${cfg.configFile} ]; then
echo "Creating nzbget data directory in $datadir" echo "${cfg.configFile} not found. Copying default config $cfgtemplate to ${cfg.configFile}"
mkdir -p $datadir install -m 0700 $cfgtemplate ${cfg.configFile}
}
test -f $configfile || {
echo "nzbget.conf not found. Copying default config $cfgtemplate to $configfile"
cp $cfgtemplate $configfile
echo "Setting $configfile permissions to 0700 (needs to be written and contains plaintext credentials)"
chmod 0700 $configfile
echo "Setting temporary \$MAINDIR variable in default config required in order to allow nzbget to complete initial start" echo "Setting temporary \$MAINDIR variable in default config required in order to allow nzbget to complete initial start"
echo "Remember to change this to a proper value once NZBGet startup has been completed" echo "Remember to change this to a proper value once NZBGet startup has been completed"
sed -i -e 's/MainDir=.*/MainDir=\/tmp/g' $configfile sed -i -e 's/MainDir=.*/MainDir=\/tmp/g' ${cfg.configFile}
} fi
echo "Ensuring proper ownership of $datadir (${cfg.user}:${cfg.group})."
chown -R ${cfg.user}:${cfg.group} $datadir
''; '';
script = '' script = ''
configfile=${cfg.dataDir}/nzbget.conf args="--daemon --configfile ${cfg.configFile}"
args="--daemon --configfile $configfile"
# The script in preStart (above) copies nzbget's config template to datadir on first run, containing paths that point to the nzbget derivation installed at the time. # The script in preStart (above) copies nzbget's config template to datadir on first run, containing paths that point to the nzbget derivation installed at the time.
# These paths break when nzbget is upgraded & the original derivation is garbage collected. If such broken paths are found in the config file, override them to point to # These paths break when nzbget is upgraded & the original derivation is garbage collected. If such broken paths are found in the config file, override them to point to
# the currently installed nzbget derivation. # the currently installed nzbget derivation.
cfgfallback () { cfgfallback () {
local hit=`grep -Po "(?<=^$1=).*+" "$configfile" | sed 's/[ \t]*$//'` # Strip trailing whitespace local hit=`grep -Po "(?<=^$1=).*+" "${cfg.configFile}" | sed 's/[ \t]*$//'` # Strip trailing whitespace
( test $hit && test -e $hit ) || { ( test $hit && test -e $hit ) || {
echo "In $configfile, valid $1 not found; falling back to $1=$2" echo "In ${cfg.configFile}, valid $1 not found; falling back to $1=$2"
args+=" -o $1=$2" args+=" -o $1=$2"
} }
} }
@ -93,6 +89,8 @@ in {
''; '';
serviceConfig = { serviceConfig = {
StateDirectory = dataDir;
StateDirectoryMode = "0700";
Type = "forking"; Type = "forking";
User = cfg.user; User = cfg.user;
Group = cfg.group; Group = cfg.group;

View File

@ -85,70 +85,70 @@ let
portOptions = { name, ...}: { portOptions = { name, ...}: {
options = { options = {
name = mkOption { name = mkOption {
internal = true; internal = true;
default = name; default = name;
}; };
ip = mkOption { ip = mkOption {
default = "127.0.0.1"; default = "127.0.0.1";
description = "Ip where rippled listens."; description = "Ip where rippled listens.";
type = types.str; type = types.str;
}; };
port = mkOption { port = mkOption {
description = "Port where rippled listens."; description = "Port where rippled listens.";
type = types.int; type = types.int;
}; };
protocol = mkOption { protocol = mkOption {
description = "Protocols expose by rippled."; description = "Protocols expose by rippled.";
type = types.listOf (types.enum ["http" "https" "ws" "wss" "peer"]); type = types.listOf (types.enum ["http" "https" "ws" "wss" "peer"]);
}; };
user = mkOption { user = mkOption {
description = "When set, these credentials will be required on HTTP/S requests."; description = "When set, these credentials will be required on HTTP/S requests.";
type = types.str; type = types.str;
default = ""; default = "";
}; };
password = mkOption { password = mkOption {
description = "When set, these credentials will be required on HTTP/S requests."; description = "When set, these credentials will be required on HTTP/S requests.";
type = types.str; type = types.str;
default = ""; default = "";
}; };
admin = mkOption { admin = mkOption {
description = "A comma-separated list of admin IP addresses."; description = "A comma-separated list of admin IP addresses.";
type = types.listOf types.str; type = types.listOf types.str;
default = ["127.0.0.1"]; default = ["127.0.0.1"];
}; };
ssl = { ssl = {
key = mkOption { key = mkOption {
description = '' description = ''
Specifies the filename holding the SSL key in PEM format. Specifies the filename holding the SSL key in PEM format.
''; '';
default = null; default = null;
type = types.nullOr types.path; type = types.nullOr types.path;
}; };
cert = mkOption { cert = mkOption {
description = '' description = ''
Specifies the path to the SSL certificate file in PEM format. Specifies the path to the SSL certificate file in PEM format.
This is not needed if the chain includes it. This is not needed if the chain includes it.
''; '';
default = null; default = null;
type = types.nullOr types.path; type = types.nullOr types.path;
}; };
chain = mkOption { chain = mkOption {
description = '' description = ''
If you need a certificate chain, specify the path to the If you need a certificate chain, specify the path to the
certificate chain here. The chain may include the end certificate. certificate chain here. The chain may include the end certificate.
''; '';
default = null; default = null;
type = types.nullOr types.path; type = types.nullOr types.path;
}; };
}; };
}; };
}; };
@ -175,14 +175,14 @@ let
onlineDelete = mkOption { onlineDelete = mkOption {
description = "Enable automatic purging of older ledger information."; description = "Enable automatic purging of older ledger information.";
type = types.addCheck (types.nullOr types.int) (v: v > 256); type = types.nullOr (types.addCheck types.int (v: v > 256));
default = cfg.ledgerHistory; default = cfg.ledgerHistory;
}; };
advisoryDelete = mkOption { advisoryDelete = mkOption {
description = '' description = ''
If set, then require administrative RPC call "can_delete" If set, then require administrative RPC call "can_delete"
to enable online deletion of ledger records. to enable online deletion of ledger records.
''; '';
type = types.nullOr types.bool; type = types.nullOr types.bool;
default = null; default = null;
@ -207,168 +207,168 @@ in
enable = mkEnableOption "rippled"; enable = mkEnableOption "rippled";
package = mkOption { package = mkOption {
description = "Which rippled package to use."; description = "Which rippled package to use.";
type = types.package; type = types.package;
default = pkgs.rippled; default = pkgs.rippled;
defaultText = "pkgs.rippled"; defaultText = "pkgs.rippled";
}; };
ports = mkOption { ports = mkOption {
description = "Ports exposed by rippled"; description = "Ports exposed by rippled";
type = with types; attrsOf (submodule portOptions); type = with types; attrsOf (submodule portOptions);
default = { default = {
rpc = { rpc = {
port = 5005; port = 5005;
admin = ["127.0.0.1"]; admin = ["127.0.0.1"];
protocol = ["http"]; protocol = ["http"];
}; };
peer = { peer = {
port = 51235; port = 51235;
ip = "0.0.0.0"; ip = "0.0.0.0";
protocol = ["peer"]; protocol = ["peer"];
}; };
ws_public = { ws_public = {
port = 5006; port = 5006;
ip = "0.0.0.0"; ip = "0.0.0.0";
protocol = ["ws" "wss"]; protocol = ["ws" "wss"];
}; };
}; };
}; };
nodeDb = mkOption { nodeDb = mkOption {
description = "Rippled main database options."; description = "Rippled main database options.";
type = with types; nullOr (submodule dbOptions); type = with types; nullOr (submodule dbOptions);
default = { default = {
type = "rocksdb"; type = "rocksdb";
extraOpts = '' extraOpts = ''
open_files=2000 open_files=2000
filter_bits=12 filter_bits=12
cache_mb=256 cache_mb=256
file_size_pb=8 file_size_pb=8
file_size_mult=2; file_size_mult=2;
''; '';
}; };
}; };
tempDb = mkOption { tempDb = mkOption {
description = "Rippled temporary database options."; description = "Rippled temporary database options.";
type = with types; nullOr (submodule dbOptions); type = with types; nullOr (submodule dbOptions);
default = null; default = null;
}; };
importDb = mkOption { importDb = mkOption {
description = "Settings for performing a one-time import."; description = "Settings for performing a one-time import.";
type = with types; nullOr (submodule dbOptions); type = with types; nullOr (submodule dbOptions);
default = null; default = null;
}; };
nodeSize = mkOption { nodeSize = mkOption {
description = '' description = ''
Rippled size of the node you are running. Rippled size of the node you are running.
"tiny", "small", "medium", "large", and "huge" "tiny", "small", "medium", "large", and "huge"
''; '';
type = types.enum ["tiny" "small" "medium" "large" "huge"]; type = types.enum ["tiny" "small" "medium" "large" "huge"];
default = "small"; default = "small";
}; };
ips = mkOption { ips = mkOption {
description = '' description = ''
List of hostnames or ips where the Ripple protocol is served. List of hostnames or ips where the Ripple protocol is served.
For a starter list, you can either copy entries from: For a starter list, you can either copy entries from:
https://ripple.com/ripple.txt or if you prefer you can let it https://ripple.com/ripple.txt or if you prefer you can let it
default to r.ripple.com 51235 default to r.ripple.com 51235
A port may optionally be specified after adding a space to the A port may optionally be specified after adding a space to the
address. By convention, if known, IPs are listed in from most address. By convention, if known, IPs are listed in from most
to least trusted. to least trusted.
''; '';
type = types.listOf types.str; type = types.listOf types.str;
default = ["r.ripple.com 51235"]; default = ["r.ripple.com 51235"];
}; };
ipsFixed = mkOption { ipsFixed = mkOption {
description = '' description = ''
List of IP addresses or hostnames to which rippled should always List of IP addresses or hostnames to which rippled should always
attempt to maintain peer connections with. This is useful for attempt to maintain peer connections with. This is useful for
manually forming private networks, for example to configure a manually forming private networks, for example to configure a
validation server that connects to the Ripple network through a validation server that connects to the Ripple network through a
public-facing server, or for building a set of cluster peers. public-facing server, or for building a set of cluster peers.
A port may optionally be specified after adding a space to the address A port may optionally be specified after adding a space to the address
''; '';
type = types.listOf types.str; type = types.listOf types.str;
default = []; default = [];
}; };
validators = mkOption { validators = mkOption {
description = '' description = ''
List of nodes to always accept as validators. Nodes are specified by domain List of nodes to always accept as validators. Nodes are specified by domain
or public key. or public key.
''; '';
type = types.listOf types.str; type = types.listOf types.str;
default = [ default = [
"n949f75evCHwgyP4fPVgaHqNHxUVN15PsJEZ3B3HnXPcPjcZAoy7 RL1" "n949f75evCHwgyP4fPVgaHqNHxUVN15PsJEZ3B3HnXPcPjcZAoy7 RL1"
"n9MD5h24qrQqiyBC8aeqqCWvpiBiYQ3jxSr91uiDvmrkyHRdYLUj RL2" "n9MD5h24qrQqiyBC8aeqqCWvpiBiYQ3jxSr91uiDvmrkyHRdYLUj RL2"
"n9L81uNCaPgtUJfaHh89gmdvXKAmSt5Gdsw2g1iPWaPkAHW5Nm4C RL3" "n9L81uNCaPgtUJfaHh89gmdvXKAmSt5Gdsw2g1iPWaPkAHW5Nm4C RL3"
"n9KiYM9CgngLvtRCQHZwgC2gjpdaZcCcbt3VboxiNFcKuwFVujzS RL4" "n9KiYM9CgngLvtRCQHZwgC2gjpdaZcCcbt3VboxiNFcKuwFVujzS RL4"
"n9LdgEtkmGB9E2h3K4Vp7iGUaKuq23Zr32ehxiU8FWY7xoxbWTSA RL5" "n9LdgEtkmGB9E2h3K4Vp7iGUaKuq23Zr32ehxiU8FWY7xoxbWTSA RL5"
]; ];
}; };
databasePath = mkOption { databasePath = mkOption {
description = '' description = ''
Path to the ripple database. Path to the ripple database.
''; '';
type = types.path; type = types.path;
default = "/var/lib/rippled"; default = "/var/lib/rippled";
}; };
validationQuorum = mkOption { validationQuorum = mkOption {
description = '' description = ''
The minimum number of trusted validations a ledger must have before The minimum number of trusted validations a ledger must have before
the server considers it fully validated. the server considers it fully validated.
''; '';
type = types.int; type = types.int;
default = 3; default = 3;
}; };
ledgerHistory = mkOption { ledgerHistory = mkOption {
description = '' description = ''
The number of past ledgers to acquire on server startup and the minimum The number of past ledgers to acquire on server startup and the minimum
to maintain while running. to maintain while running.
''; '';
type = types.either types.int (types.enum ["full"]); type = types.either types.int (types.enum ["full"]);
default = 1296000; # 1 month default = 1296000; # 1 month
}; };
fetchDepth = mkOption { fetchDepth = mkOption {
description = '' description = ''
The number of past ledgers to serve to other peers that request historical The number of past ledgers to serve to other peers that request historical
ledger data (or "full" for no limit). ledger data (or "full" for no limit).
''; '';
type = types.either types.int (types.enum ["full"]); type = types.either types.int (types.enum ["full"]);
default = "full"; default = "full";
}; };
sntpServers = mkOption { sntpServers = mkOption {
description = '' description = ''
IP address or domain of NTP servers to use for time synchronization.; IP address or domain of NTP servers to use for time synchronization.;
''; '';
type = types.listOf types.str; type = types.listOf types.str;
default = [ default = [
"time.windows.com" "time.windows.com"
"time.apple.com" "time.apple.com"
"time.nist.gov" "time.nist.gov"
"pool.ntp.org" "pool.ntp.org"
]; ];
}; };
logLevel = mkOption { logLevel = mkOption {
description = "Logging verbosity."; description = "Logging verbosity.";
type = types.enum ["debug" "error" "info"]; type = types.enum ["debug" "error" "info"];
default = "error"; default = "error";
}; };
statsd = { statsd = {
@ -389,14 +389,14 @@ in
extraConfig = mkOption { extraConfig = mkOption {
default = ""; default = "";
description = '' description = ''
Extra lines to be added verbatim to the rippled.cfg configuration file. Extra lines to be added verbatim to the rippled.cfg configuration file.
''; '';
}; };
config = mkOption { config = mkOption {
internal = true; internal = true;
default = pkgs.writeText "rippled.conf" rippledCfg; default = pkgs.writeText "rippled.conf" rippledCfg;
}; };
}; };
}; };
@ -410,8 +410,8 @@ in
{ name = "rippled"; { name = "rippled";
description = "Ripple server user"; description = "Ripple server user";
uid = config.ids.uids.rippled; uid = config.ids.uids.rippled;
home = cfg.databasePath; home = cfg.databasePath;
createHome = true; createHome = true;
}; };
systemd.services.rippled = { systemd.services.rippled = {
@ -421,8 +421,8 @@ in
serviceConfig = { serviceConfig = {
ExecStart = "${cfg.package}/bin/rippled --fg --conf ${cfg.config}"; ExecStart = "${cfg.package}/bin/rippled --fg --conf ${cfg.config}";
User = "rippled"; User = "rippled";
Restart = "on-failure"; Restart = "on-failure";
LimitNOFILE=10000; LimitNOFILE=10000;
}; };
}; };

View File

@ -1,6 +1,6 @@
{ stdenv, fetchgit, makeWrapper, pkgconfig, { stdenv, fetchgit, makeWrapper, pkgconfig,
gnome2, glib, pango, cairo, gdk_pixbuf, atk, freetype, xorg, gnome2, glib, pango, cairo, gdk_pixbuf, atk, freetype, xorg,
configH configH ? ""
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, makeDesktopItem, perlSupport, libX11, libXt, libXft, { stdenv, fetchurl, makeDesktopItem, perlSupport ? true, libX11, libXt, libXft,
ncurses, perl, fontconfig, freetype, pkgconfig, libXrender, ncurses, perl, fontconfig, freetype, pkgconfig, libXrender,
gdkPixbufSupport, gdk_pixbuf, unicode3Support }: gdkPixbufSupport ? true, gdk_pixbuf, unicode3Support ? true }:
let let
pname = "rxvt-unicode"; pname = "rxvt-unicode";

View File

@ -1,12 +0,0 @@
diff -dur tqsl-2.3.1/src/CMakeLists.txt tqsl-2.3.1b/src/CMakeLists.txt
--- tqsl-2.3.1/src/CMakeLists.txt 2017-04-17 20:53:22.000000000 -0400
+++ tqsl-2.3.1b/src/CMakeLists.txt 2017-10-05 21:14:39.048329343 -0400
@@ -54,7 +54,7 @@
if(NOT APPLE AND NOT WIN32)
set_source_files_properties(location.cpp PROPERTIES COMPILE_DEFINITIONS CONFDIR="${CMAKE_INSTALL_PREFIX}/share/TrustedQSL/")
set(HEADERS_TO_INSTALL tqsllib.h tqslerrno.h cabrillo.h adif.h tqslconvert.h)
-install(TARGETS tqsllib DESTINATION lib$(LIB_SUFFIX))
+install(TARGETS tqsllib DESTINATION lib${LIB_SUFFIX})
install(FILES config.xml DESTINATION share/TrustedQSL)
install(FILES ${HEADERS_TO_INSTALL} DESTINATION include)
endif()

View File

@ -13,11 +13,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${product}-${version}"; name = "${product}-${version}";
product = "vivaldi"; product = "vivaldi";
version = "2.2.1388.37-1"; version = "2.3.1440.41-1";
src = fetchurl { src = fetchurl {
url = "https://downloads.vivaldi.com/stable/${product}-stable_${version}_amd64.deb"; url = "https://downloads.vivaldi.com/stable/${product}-stable_${version}_amd64.deb";
sha256 = "07q04lvwnjn5kprlwyndv9h2s25637ngchch26ka8lry1lxkdv55"; sha256 = "0wrq7c0sw1b41bshwgzji4pwl0raj0l5h2r7gkcg952rcn0wl9bs";
}; };
unpackPhase = '' unpackPhase = ''

View File

@ -6,11 +6,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${product}-${version}"; name = "${product}-${version}";
product = "vivaldi-ffmpeg-codecs"; product = "vivaldi-ffmpeg-codecs";
version = "71.0.3578.98"; version = "72.0.3626.96";
src = fetchurl { src = fetchurl {
url = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz"; url = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz";
sha512 = "3baldqqdm8jzrs37w756ijgzwpmvma73rqbpnfkf0j41rmikrjdl6w7ycll98jch8rhzpgz3yfb9nk0gmsgxs233wn441bcdkhr1syv"; sha512 = "2hawkyydcd0b6ipfigkf5n6c1ha1vknaqd4mgw381pi0ayq8skxbjazqabfcg9gcj84cnksi8j4dylfcrbgrmlnmc479fix0m0xx7cl";
}; };
buildInputs = [ ]; buildInputs = [ ];

View File

@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch { stdenv, fetchFromGitHub, fetchpatch
, ncurses, boehmgc, gettext, zlib , ncurses, boehmgc, gettext, zlib
, sslSupport ? true, openssl ? null , sslSupport ? true, openssl ? null
, graphicsSupport ? true, imlib2 ? null , graphicsSupport ? !stdenv.isDarwin, imlib2 ? null
, x11Support ? graphicsSupport, libX11 ? null , x11Support ? graphicsSupport, libX11 ? null
, mouseSupport ? !stdenv.isDarwin, gpm-ncurses ? null , mouseSupport ? !stdenv.isDarwin, gpm-ncurses ? null
, perl, man, pkgconfig, buildPackages, w3m , perl, man, pkgconfig, buildPackages, w3m

View File

@ -2,9 +2,9 @@
, glibcLocales, expect, ncurses, libotr, curl, readline, libuuid , glibcLocales, expect, ncurses, libotr, curl, readline, libuuid
, cmocka, libmicrohttpd, stabber, expat, libmesode , cmocka, libmicrohttpd, stabber, expat, libmesode
, autoAwaySupport ? false, libXScrnSaver ? null, libX11 ? null , autoAwaySupport ? true, libXScrnSaver ? null, libX11 ? null
, notifySupport ? false, libnotify ? null, gdk_pixbuf ? null , notifySupport ? true, libnotify ? null, gdk_pixbuf ? null
, traySupport ? false, gnome2 ? null , traySupport ? true, gnome2 ? null
, pgpSupport ? true, gpgme ? null , pgpSupport ? true, gpgme ? null
, pythonPluginSupport ? true, python ? null , pythonPluginSupport ? true, python ? null
}: }:

View File

@ -1,14 +1,14 @@
{ monolithic ? true # build monolithic Quassel { monolithic ? true # build monolithic Quassel
, daemon ? false # build Quassel daemon , daemon ? false # build Quassel daemon
, client ? false # build Quassel client , client ? false # build Quassel client
, tag ? "" # tag added to the package name , tag ? "-kf5" # tag added to the package name
, static ? false # link statically , static ? false # link statically
, stdenv, fetchFromGitHub, cmake, makeWrapper, dconf , stdenv, fetchFromGitHub, cmake, makeWrapper, dconf
, qtbase, qtscript , qtbase, qtscript
, phonon, libdbusmenu, qca-qt5 , phonon, libdbusmenu, qca-qt5
, withKDE ? stdenv.isLinux # enable KDE integration , withKDE ? true # enable KDE integration
, extra-cmake-modules , extra-cmake-modules
, kconfigwidgets , kconfigwidgets
, kcoreaddons , kcoreaddons

View File

@ -13,13 +13,18 @@ stdenv.mkDerivation rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
# Patch contained in next (>2.5.1) release # Patches contained in next (>2.5.1) release
patches = [ patches = [
(fetchpatch { (fetchpatch {
name = "fix-qt-5.12-build"; name = "fix-qt-5.12-build";
url = "https://github.com/nextcloud/desktop/commit/071709ab5e3366e867dd0b0ea931aa7d6f80f528.patch"; url = "https://github.com/nextcloud/desktop/commit/071709ab5e3366e867dd0b0ea931aa7d6f80f528.patch";
sha256 = "14k635jwm8hz6i22lz88jj2db8v5czwa3zg0667i4hwhkqqmy61n"; sha256 = "14k635jwm8hz6i22lz88jj2db8v5czwa3zg0667i4hwhkqqmy61n";
}) })
(fetchpatch {
name = "fix-qtwebengine-crash";
url = "https://patch-diff.githubusercontent.com/raw/nextcloud/desktop/pull/959.patch";
sha256 = "00qx976az2rb1gwl1rxapm8gqj42yzqp8k2fasn3h7b30lnxdyr0";
})
]; ];
nativeBuildInputs = [ pkgconfig cmake makeWrapper ]; nativeBuildInputs = [ pkgconfig cmake makeWrapper ];

View File

@ -2,7 +2,7 @@
, gnutls, libgcrypt, libgpgerror, geoip, openssl, lua5, python, libcap, glib , gnutls, libgcrypt, libgpgerror, geoip, openssl, lua5, python, libcap, glib
, libssh, zlib, cmake, extra-cmake-modules, fetchpatch, makeWrapper , libssh, zlib, cmake, extra-cmake-modules, fetchpatch, makeWrapper
, withGtk ? false, gtk3 ? null, librsvg ? null, gsettings-desktop-schemas ? null, wrapGAppsHook ? null , withGtk ? false, gtk3 ? null, librsvg ? null, gsettings-desktop-schemas ? null, wrapGAppsHook ? null
, withQt ? false, qt5 ? null , withQt ? true, qt5 ? null
, ApplicationServices, SystemConfiguration, gmp , ApplicationServices, SystemConfiguration, gmp
}: }:

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, perl, libiconv, zlib, popt { stdenv, fetchurl, perl, libiconv, zlib, popt
, enableACLs ? true, acl ? null , enableACLs ? !(stdenv.isDarwin || stdenv.isSunOS || stdenv.isFreeBSD), acl ? null
, enableCopyDevicesPatch ? false , enableCopyDevicesPatch ? false
}: }:

View File

@ -1,12 +1,11 @@
{ stdenv, fetchsvn, lame, libvorbis }: { stdenv, fetchsvn, lame, libvorbis }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ebook2cw";
name = "ebook2cw-${version}";
version = "0.8.2"; version = "0.8.2";
src = fetchsvn { src = fetchsvn {
url = "svn://svn.fkurz.net/ebook2cw/tags/${name}"; url = "svn://svn.fkurz.net/ebook2cw/tags/${pname}-${version}";
sha256 = "1mvp3nz3k76v757792n9b7fcm5jm3jcwarl1k7cila9fi0c2rsiw"; sha256 = "1mvp3nz3k76v757792n9b7fcm5jm3jcwarl1k7cila9fi0c2rsiw";
}; };
@ -14,10 +13,6 @@ stdenv.mkDerivation rec {
patches = [ ./configfile.patch ]; patches = [ ./configfile.patch ];
postPatch = ''
substituteInPlace Makefile --replace gcc cc
'';
makeFlags = [ "DESTDIR=$(out)" ]; makeFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -27,5 +22,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ earldouglas ]; maintainers = with maintainers; [ earldouglas ];
}; };
} }

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, makeWrapper, cmake, expat, openssl, zlib, db, curl, wxGTK }: { stdenv, fetchurl, makeWrapper, cmake, expat, openssl, zlib, db, curl, wxGTK }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "tqsl-${version}"; pname = "tqsl";
version = "2.3.1"; version = "2.4.3";
src = fetchurl { src = fetchurl {
url = "https://www.arrl.org/files/file/LoTW%20Instructions/${name}.tar.gz"; url = "https://www.arrl.org/files/file/LoTW%20Instructions/${pname}-${version}.tar.gz";
sha256 = "10cjlilampwl10hwb7m28m5z9gyrscvvc1rryfjnhj9q2x4ppgxv"; sha256 = "0f8pa5wnp0x0mjjr5kanka9hirgmp5wf6jsb95dc6hjlzlvy6kz9";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -20,11 +20,9 @@ stdenv.mkDerivation rec {
wxGTK wxGTK
]; ];
patches = [ ./cmake_lib_path.patch ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Software for using the ARRL Logbook of the World"; description = "Software for using the ARRL Logbook of the World";
homepage = https://lotw.arrl.org/; homepage = https://www.arrl.org/tqsl-download;
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.dpflug ]; maintainers = [ maintainers.dpflug ];

View File

@ -33,7 +33,8 @@ in stdenv.mkDerivation rec {
cp -r . "$out" cp -r . "$out"
rm -r $out/Libs rm -r $out/Libs
cp -r "${maps.minigames}"/* "$out"/Maps/ cp -r "${maps.minigames}"/* "${maps.melee}"/* "${maps.ladder2017season1}"/* "${maps.ladder2017season2}"/* "${maps.ladder2017season3}"/* \
"${maps.ladder2017season4}"/* "${maps.ladder2018season1}"/* "${maps.ladder2018season2}"/* "$out"/Maps/
''; '';
preFixup = '' preFixup = ''

View File

@ -1,6 +1,8 @@
{ fetchzip { fetchzip
}: }:
let
fetchzip' = args: (fetchzip args).overrideAttrs (old: { UNZIP = "-P iagreetotheeula"; });
in
{ {
minigames = fetchzip { minigames = fetchzip {
url = "https://github.com/deepmind/pysc2/releases/download/v1.2/mini_games.zip"; url = "https://github.com/deepmind/pysc2/releases/download/v1.2/mini_games.zip";
@ -8,4 +10,39 @@
stripRoot = false; stripRoot = false;
}; };
melee = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Melee.zip";
sha256 = "0w050yah5rybx3m5zvpr09jv01r0xsazpyrc76338b2sd8pdxv3y";
stripRoot = false;
};
ladder2017season1 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2017Season1.zip";
sha256 = "194p0mb0bh63sjy84q21x4v5pb6d7hidivfi28aalr2gkwhwqfvh";
stripRoot = false;
};
ladder2017season2 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2017Season2.zip";
sha256 = "1pvp7zi16326x3l45mk7s959ggnkg2j1w9rfmaxxa8mawr9c6i39";
stripRoot = false;
};
ladder2017season3 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2017Season3_Updated.zip";
sha256 = "1sjskfp6spmh7l2za1z55v7binx005qxw3w11xdvjpn20cyhkh8a";
stripRoot = false;
};
ladder2017season4 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2017Season4.zip";
sha256 = "1zf4mfq6r1ylf8bmd0qpv134dcrfgrsi4afxfqwnf39ijdq4z26g";
stripRoot = false;
};
ladder2018season1 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2018Season1.zip";
sha256 = "0p51xj98qg816qm9ywv9zar5llqvqs6bcyns6d5fp2j39fg08v6f";
stripRoot = false;
};
ladder2018season2 = fetchzip' {
url = "http://blzdistsc2-a.akamaihd.net/MapPacks/Ladder2018Season2_Updated.zip";
sha256 = "1wjn6vpbymjvjxqf10h7az34fnmhb5dpi878nsydlax25v9lgzqx";
stripRoot = false;
};
} }

View File

@ -1,4 +1,4 @@
{ stdenv, makeWrapper, openjdk, gtk2, xorg, glibcLocales, releasePath }: { stdenv, makeWrapper, openjdk, gtk2, xorg, glibcLocales, releasePath ? null }:
# To use this package, you need to download your own cplex installer from IBM # To use this package, you need to download your own cplex installer from IBM
# and override the releasePath attribute to point to the location of the file. # and override the releasePath attribute to point to the location of the file.

View File

@ -2,13 +2,13 @@
, ncurses , ncurses
, withXaw3d ? false , withXaw3d ? false
#, withPVMlib ? false #, withPVMlib ? false
, tcl, tk, withTk ? false , tcl, tk, withTk ? true
, gtk2, withGtk ? false # working ? , gtk2, withGtk ? false # working ?
#, withF2c ? false #, withF2c ? false
, ocaml, withOCaml ? false , ocaml, withOCaml ? true
#, withJava ? false #, withJava ? false
#, atlasMath, withAtlas ? false #, atlasMath, withAtlas ? false
, xlibsWrapper, withX ? false , xlibsWrapper, withX ? true
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {

View File

@ -1,6 +1,6 @@
{ bdbSupport ? false # build support for Berkeley DB repositories { bdbSupport ? true # build support for Berkeley DB repositories
, httpServer ? false # build Apache DAV module , httpServer ? false # build Apache DAV module
, httpSupport ? false # client must support http , httpSupport ? true # client must support http
, pythonBindings ? false , pythonBindings ? false
, perlBindings ? false , perlBindings ? false
, javahlBindings ? false , javahlBindings ? false

View File

@ -1,4 +1,4 @@
{stdenvNoCC, subversion, sshSupport ? false, openssh ? null, expect}: {stdenvNoCC, subversion, sshSupport ? true, openssh ? null, expect}:
{username, password, url, rev ? "HEAD", md5 ? "", sha256 ? ""}: {username, password, url, rev ? "HEAD", md5 ? "", sha256 ? ""}:

View File

@ -1,37 +1,29 @@
{ { stdenv, fetchurl, makeWrapper
stdenv, fetchurl , fpc, gtk2, glib, pango, atk, gdk_pixbuf
, fpc
, gtk2, glib, pango, atk, gdk_pixbuf
, libXi, xorgproto, libX11, libXext , libXi, xorgproto, libX11, libXext
, makeWrapper
}: }:
let stdenv.mkDerivation rec {
s = name = "lazarus-${version}";
rec { version = "1.8.4";
version = "1.8.4";
versionSuffix = ""; src = fetchurl {
url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}${versionSuffix}.tar.gz"; url = "mirror://sourceforge/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%20${version}/lazarus-${version}.tar.gz";
sha256 = "1s8hdip973fc1lynklddl0mvg2jd2lzkfk8hzb8jlchs6jn0362s"; sha256 = "1s8hdip973fc1lynklddl0mvg2jd2lzkfk8hzb8jlchs6jn0362s";
name = "lazarus-${version}";
}; };
buildInputs = [ buildInputs = [
fpc gtk2 glib libXi xorgproto fpc gtk2 glib libXi xorgproto
libX11 libXext pango atk libX11 libXext pango atk
stdenv.cc makeWrapper gdk_pixbuf stdenv.cc makeWrapper gdk_pixbuf
]; ];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
makeFlags = [ makeFlags = [
"FPC=fpc" "FPC=fpc"
"PP=fpc" "PP=fpc"
"REQUIRE_PACKAGES+=tachartlazaruspkg" "REQUIRE_PACKAGES+=tachartlazaruspkg"
"bigide" "bigide"
]; ];
preBuild = '' preBuild = ''
export makeFlags="$makeFlags LAZARUS_INSTALL_DIR=$out/share/lazarus/ INSTALL_PREFIX=$out/" export makeFlags="$makeFlags LAZARUS_INSTALL_DIR=$out/share/lazarus/ INSTALL_PREFIX=$out/"
export NIX_LDFLAGS="$NIX_LDFLAGS -L${stdenv.cc.cc.lib}/lib -lXi -lX11 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lc -lXext -lpango-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lcairo -lgcc_s" export NIX_LDFLAGS="$NIX_LDFLAGS -L${stdenv.cc.cc.lib}/lib -lXi -lX11 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lc -lXext -lpango-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lcairo -lgcc_s"
@ -40,16 +32,17 @@ stdenv.mkDerivation {
tar xf ${fpc.src} --strip-components=1 -C $out/share -m tar xf ${fpc.src} --strip-components=1 -C $out/share -m
sed -e 's@/usr/fpcsrc@'"$out/share/fpcsrc@" -i ide/include/unix/lazbaseconf.inc sed -e 's@/usr/fpcsrc@'"$out/share/fpcsrc@" -i ide/include/unix/lazbaseconf.inc
''; '';
postInstall = '' postInstall = ''
wrapProgram $out/bin/startlazarus --prefix NIX_LDFLAGS ' ' "'$NIX_LDFLAGS'" \ wrapProgram $out/bin/startlazarus --prefix NIX_LDFLAGS ' ' "'$NIX_LDFLAGS'" \
--prefix LCL_PLATFORM ' ' "'$LCL_PLATFORM'" --prefix LCL_PLATFORM ' ' "'$LCL_PLATFORM'"
''; '';
meta = {
inherit (s) version; meta = with stdenv.lib; {
license = stdenv.lib.licenses.gpl2Plus ;
platforms = stdenv.lib.platforms.linux;
description = "Lazarus graphical IDE for FreePascal language"; description = "Lazarus graphical IDE for FreePascal language";
homepage = http://www.lazarus.freepascal.org; homepage = http://www.lazarus.freepascal.org;
maintainers = [stdenv.lib.maintainers.raskin]; license = licenses.gpl2Plus ;
platforms = platforms.linux;
maintainers = [ maintainers.raskin ];
}; };
} }

View File

@ -0,0 +1,74 @@
commit f00c7bccf7955b7dfbb4859fd9019e9eb3349f2d
Author: Tobias Mayer <tobim@fastmail.fm>
Date: Wed Feb 13 12:44:17 2019 +0100
Provide clock_gettime for xray on macos < 10.12
diff --git a/lib/xray/xray_basic_logging.cc b/lib/xray/xray_basic_logging.cc
index a46c151af..38aea6932 100644
--- a/lib/xray/xray_basic_logging.cc
+++ b/lib/xray/xray_basic_logging.cc
@@ -36,6 +36,29 @@
#include "xray_tsc.h"
#include "xray_utils.h"
+#if __MACH__
+#include <mach/clock.h>
+#include <mach/mach.h>
+enum clockid_t {
+ CLOCK_MONOTONIC = REALTIME_CLOCK,
+ CLOCK_REALTIME = REALTIME_CLOCK
+};
+
+int clock_gettime(clockid_t clock_id, struct timespec *ts) {
+ if (ts != NULL) {
+ clock_serv_t cclock;
+ mach_timespec_t mts;
+ host_get_clock_service(mach_host_self(), clock_id, &cclock);
+ clock_get_time(cclock, &mts);
+ mach_port_deallocate(mach_task_self(), cclock);
+ ts->tv_sec = mts.tv_sec;
+ ts->tv_nsec = mts.tv_nsec;
+ return 0;
+ }
+ return -1;
+}
+#endif
+
namespace __xray {
SpinMutex LogMutex;
diff --git a/lib/xray/xray_fdr_logging.cc b/lib/xray/xray_fdr_logging.cc
index 4b308b27f..1d044c8fd 100644
--- a/lib/xray/xray_fdr_logging.cc
+++ b/lib/xray/xray_fdr_logging.cc
@@ -38,6 +38,29 @@
#include "xray_tsc.h"
#include "xray_utils.h"
+#if __MACH__
+#include <mach/clock.h>
+#include <mach/mach.h>
+enum clockid_t {
+ CLOCK_MONOTONIC = REALTIME_CLOCK,
+ CLOCK_REALTIME = REALTIME_CLOCK
+};
+
+int clock_gettime(clockid_t clock_id, struct timespec *ts) {
+ if (ts != NULL) {
+ clock_serv_t cclock;
+ mach_timespec_t mts;
+ host_get_clock_service(mach_host_self(), clock_id, &cclock);
+ clock_get_time(cclock, &mts);
+ mach_port_deallocate(mach_task_self(), cclock);
+ ts->tv_sec = mts.tv_sec;
+ ts->tv_nsec = mts.tv_nsec;
+ return 0;
+ }
+ return -1;
+}
+#endif
+
namespace __xray {
atomic_sint32_t LoggingStatus = {XRayLogInitStatus::XRAY_LOG_UNINITIALIZED};

View File

@ -1,5 +1,4 @@
{ stdenv, version, fetch, cmake, python, llvm, libcxxabi }: { stdenv, version, fetch, cmake, python, llvm, libcxxabi }:
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "compiler-rt-${version}"; name = "compiler-rt-${version}";
inherit version; inherit version;
@ -16,7 +15,8 @@ stdenv.mkDerivation rec {
patches = [ patches = [
./compiler-rt-codesign.patch # Revert compiler-rt commit that makes codesign mandatory ./compiler-rt-codesign.patch # Revert compiler-rt commit that makes codesign mandatory
] ++ optional stdenv.hostPlatform.isMusl ./sanitizers-nongnu.patch; ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./sanitizers-nongnu.patch
++ stdenv.lib.optional stdenv.hostPlatform.isDarwin ./compiler-rt-clock_gettime.patch;
# TSAN requires XPC on Darwin, which we have no public/free source files for. We can depend on the Apple frameworks # TSAN requires XPC on Darwin, which we have no public/free source files for. We can depend on the Apple frameworks
# to get it, but they're unfree. Since LLVM is rather central to the stdenv, we patch out TSAN support so that Hydra # to get it, but they're unfree. Since LLVM is rather central to the stdenv, we patch out TSAN support so that Hydra

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, makeWrapper, apr, expat, gnused { stdenv, fetchurl, makeWrapper, apr, expat, gnused
, sslSupport ? true, openssl , sslSupport ? true, openssl
, bdbSupport ? false, db , bdbSupport ? true, db
, ldapSupport ? !stdenv.isCygwin, openldap , ldapSupport ? !stdenv.isCygwin, openldap
, libiconv , libiconv
, cyrus_sasl, autoreconfHook , cyrus_sasl, autoreconfHook

View File

@ -1,9 +1,9 @@
{ lib, stdenv, fetchFromGitHub, cmake, curl, openssl, zlib { lib, stdenv, fetchFromGitHub, cmake, curl, openssl, zlib
, CoreAudio, AudioToolbox
, # Allow building a limited set of APIs, e.g. ["s3" "ec2"]. , # Allow building a limited set of APIs, e.g. ["s3" "ec2"].
apis ? ["*"] apis ? ["*"]
, # Whether to enable AWS' custom memory management. , # Whether to enable AWS' custom memory management.
customMemoryManagement ? true customMemoryManagement ? true
, darwin
}: }:
let let
@ -34,10 +34,10 @@ in stdenv.mkDerivation rec {
++ lib.optionals (stdenv.isDarwin && ++ lib.optionals (stdenv.isDarwin &&
((builtins.elem "text-to-speech" apis) || ((builtins.elem "text-to-speech" apis) ||
(builtins.elem "*" apis))) (builtins.elem "*" apis)))
(with darwin.apple_sdk.frameworks; [ CoreAudio AudioToolbox ]); [ CoreAudio AudioToolbox ];
cmakeFlags = cmakeFlags =
lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0" lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DENABLE_TESTING=OFF" ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DENABLE_TESTING=OFF"
++ lib.optional (apis != ["*"]) ++ lib.optional (apis != ["*"])
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}"; "-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
@ -60,6 +60,8 @@ in stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = [ "-Wno-error=noexcept-type" ]; NIX_CFLAGS_COMPILE = [ "-Wno-error=noexcept-type" ];
__darwinAllowLocalNetworking = true;
meta = { meta = {
description = "A C++ interface for Amazon Web Services"; description = "A C++ interface for Amazon Web Services";
homepage = https://github.com/awslabs/aws-sdk-cpp; homepage = https://github.com/awslabs/aws-sdk-cpp;

View File

@ -1,7 +1,7 @@
{stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib, {stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib,
libxml2, sqlite, zlib, sg3_utils, gdk_pixbuf, taglib, libxml2, sqlite, zlib, sg3_utils, gdk_pixbuf, taglib,
libimobiledevice, pythonPackages, mutagen, libimobiledevice, pythonPackages, mutagen,
monoSupport ? true, mono, gtk-sharp-2_0 monoSupport ? false, mono, gtk-sharp-2_0
}: }:
let let

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libspotify, alsaLib, readline, pkgconfig, apiKey, unzip, gnused }: { stdenv, fetchurl, libspotify, alsaLib, readline, pkgconfig, apiKey ? null, unzip, gnused }:
let let
version = "12.1.51"; version = "12.1.51";

View File

@ -0,0 +1,54 @@
{ lib, stdenv, fetchFromGitHub, pkgconfig, cmake, hidapi
, withExamples ? true, SDL2 ? null, libGL ? null, glew ? null
}:
with lib;
let onoff = if withExamples then "ON" else "OFF"; in
stdenv.mkDerivation {
pname = "openhmd";
version = "0.3.0-rc1-20181218";
src = fetchFromGitHub {
owner = "OpenHMD";
repo = "OpenHMD";
rev = "80d51bea575a5bf71bb3a0b9683b80ac3146596a";
sha256 = "09011vnlsn238r5vbb1ab57x888ljaa34xibrnfbm5bl9417ii4z";
};
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [
hidapi
] ++ optionals withExamples [
SDL2 libGL glew
];
cmakeFlags = [
"-DBUILD_BOTH_STATIC_SHARED_LIBS=ON"
"-DOPENHMD_EXAMPLE_SIMPLE=${onoff}"
"-DOPENHMD_EXAMPLE_SDL=${onoff}"
"-DOpenGL_GL_PREFERENCE=GLVND"
];
postInstall = optionalString withExamples ''
mkdir -p $out/bin
install -D examples/simple/simple $out/bin/openhmd-example-simple
install -D examples/opengl/openglexample $out/bin/openhmd-example-opengl
'';
meta = {
homepage = "http://www.openhmd.net";
description = "Library API and drivers immersive technology";
longDescription = ''
OpenHMD is a very simple FLOSS C library and a set of drivers
for interfacing with Virtual Reality (VR) Headsets aka
Head-mounted Displays (HMDs), controllers and trackers like
Oculus Rift, HTC Vive, Windows Mixed Reality, and etc.
'';
license = licenses.boost;
maintainers = [ maintainers.oxij ];
platforms = platforms.unix;
};
}

View File

@ -190,6 +190,26 @@ lpeg_patterns = buildLuarocksPackage {
}; };
}; };
}; };
lpty = buildLuarocksPackage {
pname = "lpty";
version = "1.2.2-1";
src = fetchurl {
url = https://luarocks.org/lpty-1.2.2-1.src.rock;
sha256 = "1vxvsjgjfirl6ranz6k4q4y2dnxqh72bndbk400if22x8lqbkxzm";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="make";
meta = {
homepage = "http://www.tset.de/lpty/";
description="A simple facility for lua to control other programs via PTYs.";
license = {
fullName = "MIT";
};
};
};
lrexlib-gnu = buildLuarocksPackage { lrexlib-gnu = buildLuarocksPackage {
pname = "lrexlib-gnu"; pname = "lrexlib-gnu";
version = "2.9.0-1"; version = "2.9.0-1";
@ -300,6 +320,26 @@ lua_cliargs = buildLuarocksPackage {
}; };
}; };
}; };
lua-iconv = buildLuarocksPackage {
pname = "lua-iconv";
version = "7-3";
src = fetchurl {
url = https://luarocks.org/lua-iconv-7-3.src.rock;
sha256 = "03xibhcqwihyjhxnzv367q4bfmzmffxl49lmjsq77g0prw8v0q83";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://ittner.github.com/lua-iconv/";
description="Lua binding to the iconv";
license = {
fullName = "MIT/X11";
};
};
};
lua-term = buildLuarocksPackage { lua-term = buildLuarocksPackage {
pname = "lua-term"; pname = "lua-term";
version = "0.7-1"; version = "0.7-1";
@ -326,6 +366,76 @@ lua-term = buildLuarocksPackage {
}; };
}; };
}; };
luaevent = buildLuarocksPackage {
pname = "luaevent";
version = "0.4.6-1";
src = fetchurl {
url = https://luarocks.org/luaevent-0.4.6-1.src.rock;
sha256 = "0chq09nawiz00lxd6pkdqcb8v426gdifjw6js3ql0lx5vqdkb6dz";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "https://github.com/harningt/luaevent";
description="libevent binding for Lua";
license = {
fullName = "MIT";
};
};
};
luabitop = buildLuarocksPackage {
pname = "luabitop";
version = "1.0.2-3";
knownRockspec = ( fetchurl {
url = https://luarocks.org/luabitop-1.0.2-3.rockspec;
sha256 = "07y2h11hbxmby7kyhy3mda64w83p4a6p7y7rzrjqgc0r56yjxhcc";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "git://github.com/LuaDist/luabitop.git",
"rev": "81bb23b0e737805442033535de8e6d204d0e5381",
"date": "2013-02-18T16:36:42+01:00",
"sha256": "0lsc556hlkddjbmcdbg7wc2g55bfy743p8ywdzl8x7kk847r043q",
"fetchSubmodules": true
}
'') ["date"]) ;
disabled = ( luaOlder "5.1") || ( luaAtLeast "5.3");
propagatedBuildInputs = [lua ];
buildType="builtin";
meta = {
homepage = "http://bitop.luajit.org/";
description="Lua Bit Operations Module";
license = {
fullName = "MIT/X license";
};
};
};
luacheck = buildLuarocksPackage {
pname = "luacheck";
version = "0.23.0-1";
src = fetchurl {
url = https://luarocks.org/luacheck-0.23.0-1.src.rock;
sha256 = "0akj61c7k1na2mggsckvfn9a3ljfp4agnmr9gp3mac4vin99a1cl";
};
disabled = ( luaOlder "5.1") || ( luaAtLeast "5.4");
propagatedBuildInputs = [lua argparse luafilesystem ];
buildType="builtin";
meta = {
homepage = "https://github.com/mpeterv/luacheck";
description="A static analyzer and a linter for Lua";
license = {
fullName = "MIT";
};
};
};
luaffi = buildLuarocksPackage { luaffi = buildLuarocksPackage {
pname = "luaffi"; pname = "luaffi";
version = "scm-1"; version = "scm-1";

View File

@ -45,6 +45,20 @@ with super;
lrexlib-gnu = super.lrexlib-gnu.override({ lrexlib-gnu = super.lrexlib-gnu.override({
buildInputs = [ pkgs.gnulib ]; buildInputs = [ pkgs.gnulib ];
}); });
luaevent = super.luaevent.override({
buildInputs = with pkgs; [ libevent.dev libevent ];
propagatedBuildInputs = [ luasocket ];
extraConfig = ''
variables={
EVENT_INCDIR="${pkgs.libevent.dev}/include";
EVENT_LIBDIR="${pkgs.libevent}/lib";
}
'';
disabled= luaOlder "5.1" || luaAtLeast "5.4" || isLuaJIT;
});
lua-iconv = super.lua-iconv.override({
buildInputs = [ pkgs.libiconv ];
});
luv = super.luv.overrideAttrs(oa: { luv = super.luv.overrideAttrs(oa: {
propagatedBuildInputs = oa.propagatedBuildInputs ++ [ pkgs.libuv ]; propagatedBuildInputs = oa.propagatedBuildInputs ++ [ pkgs.libuv ];
}); });

View File

@ -63,6 +63,7 @@
, "livedown" , "livedown"
, { "lumo-build-deps": "../interpreters/clojurescript/lumo" } , { "lumo-build-deps": "../interpreters/clojurescript/lumo" }
, "madoko" , "madoko"
, "markdown-link-check"
, "mathjax" , "mathjax"
, "meat" , "meat"
, "meguca" , "meguca"

File diff suppressed because it is too large Load Diff

View File

@ -13,13 +13,13 @@ let
sha512 = "nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="; sha512 = "nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==";
}; };
}; };
"ajv-6.7.0" = { "ajv-6.9.1" = {
name = "ajv"; name = "ajv";
packageName = "ajv"; packageName = "ajv";
version = "6.7.0"; version = "6.9.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/ajv/-/ajv-6.7.0.tgz"; url = "https://registry.npmjs.org/ajv/-/ajv-6.9.1.tgz";
sha512 = "RZXPviBTtfmtka9n9sy1N5M5b82CbxWIR6HIis4s3WQTXDJamc/0gpCWNGz6EWdWp4DOfjzJfhz/AS9zVPjjWg=="; sha512 = "XDN92U311aINL77ieWHmqCcNlwjoP5cHXDxIxbf2MaPYuCXOHS7gHH8jktxeK5omgd52XbSTX6a4Piwd1pQmzA==";
}; };
}; };
"ansi-regex-2.1.1" = { "ansi-regex-2.1.1" = {
@ -1300,22 +1300,22 @@ let
sha1 = "d0d4685afd5415193c8c7505602d0d17cd64474d"; sha1 = "d0d4685afd5415193c8c7505602d0d17cd64474d";
}; };
}; };
"npm-bundled-1.0.5" = { "npm-bundled-1.0.6" = {
name = "npm-bundled"; name = "npm-bundled";
packageName = "npm-bundled"; packageName = "npm-bundled";
version = "1.0.5"; version = "1.0.6";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.5.tgz"; url = "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz";
sha512 = "m/e6jgWu8/v5niCUKQi9qQl8QdeEduFA96xHDDzFGqly0OOjI7c+60KM/2sppfnUU9JJagf+zs+yGhqSOFj71g=="; sha512 = "8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==";
}; };
}; };
"npm-packlist-1.2.0" = { "npm-packlist-1.3.0" = {
name = "npm-packlist"; name = "npm-packlist";
packageName = "npm-packlist"; packageName = "npm-packlist";
version = "1.2.0"; version = "1.3.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.2.0.tgz"; url = "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.3.0.tgz";
sha512 = "7Mni4Z8Xkx0/oegoqlcao/JpPCPEMtUvsmB0q7mgvlMinykJLSRTYuFqoQLYgGY8biuxIeiHO+QNJKbCfljewQ=="; sha512 = "qPBc6CnxEzpOcc4bjoIBJbYdy0D/LFFPUdxvfwor4/w3vxeE0h6TiOVurCEPpQ6trjN77u/ShyfeJGsbAfB3dA==";
}; };
}; };
"npmlog-4.1.2" = { "npmlog-4.1.2" = {
@ -1624,13 +1624,13 @@ let
sha512 = "NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg=="; sha512 = "NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==";
}; };
}; };
"resolve-1.9.0" = { "resolve-1.10.0" = {
name = "resolve"; name = "resolve";
packageName = "resolve"; packageName = "resolve";
version = "1.9.0"; version = "1.10.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz"; url = "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz";
sha512 = "TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ=="; sha512 = "3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==";
}; };
}; };
"resolve-dir-1.0.1" = { "resolve-dir-1.0.1" = {
@ -1822,13 +1822,13 @@ let
sha512 = "NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw=="; sha512 = "NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==";
}; };
}; };
"sshpk-1.16.0" = { "sshpk-1.16.1" = {
name = "sshpk"; name = "sshpk";
packageName = "sshpk"; packageName = "sshpk";
version = "1.16.0"; version = "1.16.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/sshpk/-/sshpk-1.16.0.tgz"; url = "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz";
sha512 = "Zhev35/y7hRMcID/upReIvRse+I9SVhyVre/KTJSJQWMz3C3+G+HpO7m1wK/yckEtujKZ7dS4hkVxAnmHaIGVQ=="; sha512 = "HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==";
}; };
}; };
"static-extend-0.1.2" = { "static-extend-0.1.2" = {
@ -2080,10 +2080,10 @@ in
bower = nodeEnv.buildNodePackage { bower = nodeEnv.buildNodePackage {
name = "bower"; name = "bower";
packageName = "bower"; packageName = "bower";
version = "1.8.4"; version = "1.8.8";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/bower/-/bower-1.8.4.tgz"; url = "https://registry.npmjs.org/bower/-/bower-1.8.8.tgz";
sha1 = "e7876a076deb8137f7d06525dc5e8c66db82f28a"; sha512 = "1SrJnXnkP9soITHptSO+ahx3QKp3cVzn8poI6ujqc5SeOkg5iqM1pK9H+DSc2OQ8SnO0jC/NG4Ur/UIwy7574A==";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {
@ -2284,7 +2284,7 @@ in
sources."regex-not-1.0.2" sources."regex-not-1.0.2"
sources."repeat-element-1.1.3" sources."repeat-element-1.1.3"
sources."repeat-string-1.6.1" sources."repeat-string-1.6.1"
sources."resolve-1.9.0" sources."resolve-1.10.0"
sources."resolve-dir-1.0.1" sources."resolve-dir-1.0.1"
sources."resolve-url-0.2.1" sources."resolve-url-0.2.1"
sources."ret-0.1.15" sources."ret-0.1.15"
@ -2391,7 +2391,7 @@ in
}; };
dependencies = [ dependencies = [
sources."abbrev-1.1.1" sources."abbrev-1.1.1"
sources."ajv-6.7.0" sources."ajv-6.9.1"
sources."ansi-regex-2.1.1" sources."ansi-regex-2.1.1"
sources."aproba-1.2.0" sources."aproba-1.2.0"
sources."are-we-there-yet-1.1.5" sources."are-we-there-yet-1.1.5"
@ -2470,7 +2470,7 @@ in
sources."semver-5.3.0" sources."semver-5.3.0"
sources."set-blocking-2.0.0" sources."set-blocking-2.0.0"
sources."signal-exit-3.0.2" sources."signal-exit-3.0.2"
sources."sshpk-1.16.0" sources."sshpk-1.16.1"
sources."string-width-1.0.2" sources."string-width-1.0.2"
sources."string_decoder-1.1.1" sources."string_decoder-1.1.1"
sources."strip-ansi-3.0.1" sources."strip-ansi-3.0.1"
@ -2502,10 +2502,10 @@ in
node-gyp-build = nodeEnv.buildNodePackage { node-gyp-build = nodeEnv.buildNodePackage {
name = "node-gyp-build"; name = "node-gyp-build";
packageName = "node-gyp-build"; packageName = "node-gyp-build";
version = "3.7.0"; version = "3.8.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.7.0.tgz"; url = "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.8.0.tgz";
sha512 = "L/Eg02Epx6Si2NXmedx+Okg+4UHqmaf3TNcxd50SF9NQGcJaON3AtU++kax69XV7YWz4tUspqZSAsVofhFKG2w=="; sha512 = "bYbpIHyRqZ7sVWXxGpz8QIRug5JZc/hzZH4GbdT9HTZi6WmKCZ8GLvP8OZ9TTiIBvwPFKgtGrlWQSXDAvYdsPw==";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {
@ -2560,8 +2560,8 @@ in
sources."ms-2.0.0" sources."ms-2.0.0"
sources."needle-2.2.4" sources."needle-2.2.4"
sources."nopt-4.0.1" sources."nopt-4.0.1"
sources."npm-bundled-1.0.5" sources."npm-bundled-1.0.6"
sources."npm-packlist-1.2.0" sources."npm-packlist-1.3.0"
sources."npmlog-4.1.2" sources."npmlog-4.1.2"
sources."number-is-nan-1.0.1" sources."number-is-nan-1.0.1"
sources."object-assign-4.1.1" sources."object-assign-4.1.1"
@ -2606,10 +2606,10 @@ in
pnpm = nodeEnv.buildNodePackage { pnpm = nodeEnv.buildNodePackage {
name = "pnpm"; name = "pnpm";
packageName = "pnpm"; packageName = "pnpm";
version = "2.25.1"; version = "2.25.6";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/pnpm/-/pnpm-2.25.1.tgz"; url = "https://registry.npmjs.org/pnpm/-/pnpm-2.25.6.tgz";
sha512 = "VlDIaWSEQJuIQOFzhcg4YQ7enQMrJHb11eUclMj1VxIOxCZX51e/EDu+PZ0IO/4iQsgifiVoQcBbacBKi55jDA=="; sha512 = "5N7JPGL0rwwWQU/ofxhnp3lgmRoF7LlxMvJUCLjWORavfpB8uBIOKoae4JGWt4cPhXY/u6y5k1yZRmHMZiyRKQ==";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {

View File

@ -4,13 +4,13 @@
let let
sources = { sources = {
"@types/node-8.10.39" = { "@types/node-8.10.40" = {
name = "_at_types_slash_node"; name = "_at_types_slash_node";
packageName = "@types/node"; packageName = "@types/node";
version = "8.10.39"; version = "8.10.40";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/@types/node/-/node-8.10.39.tgz"; url = "https://registry.npmjs.org/@types/node/-/node-8.10.40.tgz";
sha512 = "rE7fktr02J8ybFf6eysife+WF+L4sAHWzw09DgdCebEu+qDwMvv4zl6Bc+825ttGZP73kCKxa3dhJOoGJ8+5mA=="; sha512 = "RRSjdwz63kS4u7edIwJUn8NqKLLQ6LyqF/X4+4jp38MBT3Vwetewi2N4dgJEshLbDwNgOJXNYoOwzVZUSSLhkQ==";
}; };
}; };
"JSV-4.0.2" = { "JSV-4.0.2" = {
@ -58,13 +58,13 @@ let
sha1 = "73b5eeca3fab653e3d3f9422b341ad42205dc965"; sha1 = "73b5eeca3fab653e3d3f9422b341ad42205dc965";
}; };
}; };
"ajv-6.7.0" = { "ajv-6.9.1" = {
name = "ajv"; name = "ajv";
packageName = "ajv"; packageName = "ajv";
version = "6.7.0"; version = "6.9.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/ajv/-/ajv-6.7.0.tgz"; url = "https://registry.npmjs.org/ajv/-/ajv-6.9.1.tgz";
sha512 = "RZXPviBTtfmtka9n9sy1N5M5b82CbxWIR6HIis4s3WQTXDJamc/0gpCWNGz6EWdWp4DOfjzJfhz/AS9zVPjjWg=="; sha512 = "XDN92U311aINL77ieWHmqCcNlwjoP5cHXDxIxbf2MaPYuCXOHS7gHH8jktxeK5omgd52XbSTX6a4Piwd1pQmzA==";
}; };
}; };
"amdefine-1.0.1" = { "amdefine-1.0.1" = {
@ -292,6 +292,15 @@ let
sha512 = "fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ=="; sha512 = "fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==";
}; };
}; };
"async-2.6.2" = {
name = "async";
packageName = "async";
version = "2.6.2";
src = fetchurl {
url = "https://registry.npmjs.org/async/-/async-2.6.2.tgz";
sha512 = "H1qVYh1MYhEEFLsP97cVKqCGo7KfCyTt6uEWqsTBr9SO84oK9Uwbyd/yCW+6rKJLHksBNUVWZDAjfS+Ccx0Bbg==";
};
};
"asynckit-0.4.0" = { "asynckit-0.4.0" = {
name = "asynckit"; name = "asynckit";
packageName = "asynckit"; packageName = "asynckit";
@ -1156,13 +1165,13 @@ let
sha1 = "676f6eb3c39997c2ee1ac3a924fd6124748f578d"; sha1 = "676f6eb3c39997c2ee1ac3a924fd6124748f578d";
}; };
}; };
"core-js-2.6.2" = { "core-js-2.6.4" = {
name = "core-js"; name = "core-js";
packageName = "core-js"; packageName = "core-js";
version = "2.6.2"; version = "2.6.4";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/core-js/-/core-js-2.6.2.tgz"; url = "https://registry.npmjs.org/core-js/-/core-js-2.6.4.tgz";
sha512 = "NdBPF/RVwPW6jr0NCILuyN9RiqLo2b1mddWHkUL+VnvcB7dzlnBJ1bXYntjpTGOgkZiiLWj2JxmOr7eGE3qK6g=="; sha512 = "05qQ5hXShcqGkPZpXEFLIpxayZscVD2kuMBZewxiIPPEagukO4mqgPA9CWhUvFBJfy3ODdK2p9xyHh7FTU9/7A==";
}; };
}; };
"core-util-is-1.0.2" = { "core-util-is-1.0.2" = {
@ -1399,13 +1408,13 @@ let
sha1 = "cc872c168880ae3c7189762fd5ffc00896c9518a"; sha1 = "cc872c168880ae3c7189762fd5ffc00896c9518a";
}; };
}; };
"ensure-posix-path-1.0.2" = { "ensure-posix-path-1.1.1" = {
name = "ensure-posix-path"; name = "ensure-posix-path";
packageName = "ensure-posix-path"; packageName = "ensure-posix-path";
version = "1.0.2"; version = "1.1.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/ensure-posix-path/-/ensure-posix-path-1.0.2.tgz"; url = "https://registry.npmjs.org/ensure-posix-path/-/ensure-posix-path-1.1.1.tgz";
sha1 = "a65b3e42d0b71cfc585eb774f9943c8d9b91b0c2"; sha512 = "VWU0/zXzVbeJNXvME/5EmLuEj2TauvoaTz6aFYK1Z92JCBlDlZ3Gu0tuGR42kpW1754ywTs+QB0g5TP0oj9Zaw==";
}; };
}; };
"envconf-0.0.4" = { "envconf-0.0.4" = {
@ -2560,22 +2569,22 @@ let
sha1 = "bd0a7040d426d7598d6c742ec8f875d0e88644a9"; sha1 = "bd0a7040d426d7598d6c742ec8f875d0e88644a9";
}; };
}; };
"jwa-1.1.6" = { "jwa-1.2.0" = {
name = "jwa"; name = "jwa";
packageName = "jwa"; packageName = "jwa";
version = "1.1.6"; version = "1.2.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/jwa/-/jwa-1.1.6.tgz"; url = "https://registry.npmjs.org/jwa/-/jwa-1.2.0.tgz";
sha512 = "tBO/cf++BUsJkYql/kBbJroKOgHWEigTKBAjjBEmrMGYd1QMBC74Hr4Wo2zCZw6ZrVhlJPvoMrkcOnlWR/DJfw=="; sha512 = "Grku9ZST5NNQ3hqNUodSkDfEBqAmGA1R8yiyPHOnLzEKI0GaCQC/XhFmsheXYuXzFQJdILbh+lYBiliqG5R/Vg==";
}; };
}; };
"jws-3.1.5" = { "jws-3.2.1" = {
name = "jws"; name = "jws";
packageName = "jws"; packageName = "jws";
version = "3.1.5"; version = "3.2.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/jws/-/jws-3.1.5.tgz"; url = "https://registry.npmjs.org/jws/-/jws-3.2.1.tgz";
sha512 = "GsCSexFADNQUr8T5HPJvayTjvPIfoyJPtLQBwn5a4WZQchcrPMPMAWcC1AzJVRDKyD6ZPROPAxgv6rfHViO4uQ=="; sha512 = "bGA2omSrFUkd72dhh05bIAN832znP4wOU3lfuXtRBuGTbsmNmDXMQg28f0Vsxaxgk4myF5YkKQpz6qeRpMgX9g==";
}; };
}; };
"jwt-decode-2.2.0" = { "jwt-decode-2.2.0" = {
@ -2722,13 +2731,13 @@ let
sha1 = "ecdca8f13144e660f1b5bd41f12f3479d98dfb8f"; sha1 = "ecdca8f13144e660f1b5bd41f12f3479d98dfb8f";
}; };
}; };
"matcher-collection-1.0.5" = { "matcher-collection-1.1.2" = {
name = "matcher-collection"; name = "matcher-collection";
packageName = "matcher-collection"; packageName = "matcher-collection";
version = "1.0.5"; version = "1.1.2";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/matcher-collection/-/matcher-collection-1.0.5.tgz"; url = "https://registry.npmjs.org/matcher-collection/-/matcher-collection-1.1.2.tgz";
sha512 = "nUCmzKipcJEwYsBVAFh5P+d7JBuhJaW1xs85Hara9xuMLqtCVUrW6DSC0JVIkluxEH2W45nPBM/wjHtBXa/tYA=="; sha512 = "YQ/teqaOIIfUHedRam08PB3NK7Mjct6BvzRnJmpGDm8uFXpNr1sbY4yuflI5JcEs6COpYA0FpRQhSDBf1tT95g==";
}; };
}; };
"md5.js-1.3.4" = { "md5.js-1.3.4" = {
@ -2857,13 +2866,13 @@ let
sha1 = "3c257f9839fc0e93ff53149632239eb90783ff66"; sha1 = "3c257f9839fc0e93ff53149632239eb90783ff66";
}; };
}; };
"moment-2.23.0" = { "moment-2.24.0" = {
name = "moment"; name = "moment";
packageName = "moment"; packageName = "moment";
version = "2.23.0"; version = "2.24.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/moment/-/moment-2.23.0.tgz"; url = "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz";
sha512 = "3IE39bHVqFbWWaPOMHZF98Q9c3LDKGTmypMiTM2QygGXXElkFWIH7GxfmlwmY2vwa+wmNsoYZmG2iusf1ZjJoA=="; sha512 = "bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg==";
}; };
}; };
"ms-2.0.0" = { "ms-2.0.0" = {
@ -2884,13 +2893,13 @@ let
sha1 = "400515e05b1924889cb61a1ec6054290a68e1207"; sha1 = "400515e05b1924889cb61a1ec6054290a68e1207";
}; };
}; };
"ms-rest-2.3.8" = { "ms-rest-2.5.0" = {
name = "ms-rest"; name = "ms-rest";
packageName = "ms-rest"; packageName = "ms-rest";
version = "2.3.8"; version = "2.5.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/ms-rest/-/ms-rest-2.3.8.tgz"; url = "https://registry.npmjs.org/ms-rest/-/ms-rest-2.5.0.tgz";
sha512 = "8kaerSPk0Z9W6z8VnJXjKOHDaGGXbsGyO22X4DFtlllzbYLryWo0Dor+jnIKpgvUOzQKSoLW2fel81piG3LnHQ=="; sha512 = "QUTg9CsmWpofDO0MR37z8B28/T9ObpQ+FM23GGDMKXw8KYDJ3cEBdK6dJTDDrtSoZG3U+S/vdmSEwJ7FNj6Kog==";
}; };
}; };
"ms-rest-azure-1.15.7" = { "ms-rest-azure-1.15.7" = {
@ -3010,22 +3019,22 @@ let
sha1 = "d0d4685afd5415193c8c7505602d0d17cd64474d"; sha1 = "d0d4685afd5415193c8c7505602d0d17cd64474d";
}; };
}; };
"npm-bundled-1.0.5" = { "npm-bundled-1.0.6" = {
name = "npm-bundled"; name = "npm-bundled";
packageName = "npm-bundled"; packageName = "npm-bundled";
version = "1.0.5"; version = "1.0.6";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.5.tgz"; url = "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.6.tgz";
sha512 = "m/e6jgWu8/v5niCUKQi9qQl8QdeEduFA96xHDDzFGqly0OOjI7c+60KM/2sppfnUU9JJagf+zs+yGhqSOFj71g=="; sha512 = "8/JCaftHwbd//k6y2rEWp6k1wxVfpFzB6t1p825+cUb7Ym2XQfhwIC5KwhrvzZRJu+LtDE585zVaS32+CGtf0g==";
}; };
}; };
"npm-packlist-1.2.0" = { "npm-packlist-1.3.0" = {
name = "npm-packlist"; name = "npm-packlist";
packageName = "npm-packlist"; packageName = "npm-packlist";
version = "1.2.0"; version = "1.3.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.2.0.tgz"; url = "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.3.0.tgz";
sha512 = "7Mni4Z8Xkx0/oegoqlcao/JpPCPEMtUvsmB0q7mgvlMinykJLSRTYuFqoQLYgGY8biuxIeiHO+QNJKbCfljewQ=="; sha512 = "qPBc6CnxEzpOcc4bjoIBJbYdy0D/LFFPUdxvfwor4/w3vxeE0h6TiOVurCEPpQ6trjN77u/ShyfeJGsbAfB3dA==";
}; };
}; };
"npmlog-4.1.2" = { "npmlog-4.1.2" = {
@ -3532,13 +3541,13 @@ let
sha512 = "NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg=="; sha512 = "NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==";
}; };
}; };
"resolve-1.9.0" = { "resolve-1.10.0" = {
name = "resolve"; name = "resolve";
packageName = "resolve"; packageName = "resolve";
version = "1.9.0"; version = "1.10.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz"; url = "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz";
sha512 = "TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ=="; sha512 = "3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==";
}; };
}; };
"resolve-dir-1.0.1" = { "resolve-dir-1.0.1" = {
@ -3856,13 +3865,13 @@ let
sha1 = "512675a28f08f1e581779e1989ab1e13effb49e4"; sha1 = "512675a28f08f1e581779e1989ab1e13effb49e4";
}; };
}; };
"sshpk-1.16.0" = { "sshpk-1.16.1" = {
name = "sshpk"; name = "sshpk";
packageName = "sshpk"; packageName = "sshpk";
version = "1.16.0"; version = "1.16.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/sshpk/-/sshpk-1.16.0.tgz"; url = "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz";
sha512 = "Zhev35/y7hRMcID/upReIvRse+I9SVhyVre/KTJSJQWMz3C3+G+HpO7m1wK/yckEtujKZ7dS4hkVxAnmHaIGVQ=="; sha512 = "HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==";
}; };
}; };
"stack-trace-0.0.10" = { "stack-trace-0.0.10" = {
@ -4537,17 +4546,17 @@ in
alloy = nodeEnv.buildNodePackage { alloy = nodeEnv.buildNodePackage {
name = "alloy"; name = "alloy";
packageName = "alloy"; packageName = "alloy";
version = "1.13.7"; version = "1.13.8";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/alloy/-/alloy-1.13.7.tgz"; url = "https://registry.npmjs.org/alloy/-/alloy-1.13.8.tgz";
sha512 = "4FUh6/7XppJQN+8L/sG+QZi3CEnXaJbWdb7DPMl44BLKfSg6CSxMJS6KeFo0CR/0RpobfCho6QRgzHfWMaZ0Yg=="; sha512 = "NhxxnijbAEtZg1x18aehW8VBqNMDurgFtJptKjC5k3lT3TDvu+/s6znxJ3x+8ZNpb0aTfkd6N6MvHx/a+6Uhvg==";
}; };
dependencies = [ dependencies = [
sources."JSV-4.0.2" sources."JSV-4.0.2"
sources."ansi-regex-2.1.1" sources."ansi-regex-2.1.1"
sources."ansi-styles-2.2.1" sources."ansi-styles-2.2.1"
sources."array-unique-0.3.2" sources."array-unique-0.3.2"
sources."async-2.6.1" sources."async-2.6.2"
sources."babel-code-frame-6.26.0" sources."babel-code-frame-6.26.0"
(sources."babel-core-6.26.3" // { (sources."babel-core-6.26.3" // {
dependencies = [ dependencies = [
@ -4575,11 +4584,11 @@ in
sources."commander-2.19.0" sources."commander-2.19.0"
sources."concat-map-0.0.1" sources."concat-map-0.0.1"
sources."convert-source-map-1.6.0" sources."convert-source-map-1.6.0"
sources."core-js-2.6.2" sources."core-js-2.6.4"
sources."debug-2.6.9" sources."debug-2.6.9"
sources."detect-indent-4.0.0" sources."detect-indent-4.0.0"
sources."ejs-2.5.7" sources."ejs-2.5.7"
sources."ensure-posix-path-1.0.2" sources."ensure-posix-path-1.1.1"
sources."escape-string-regexp-1.0.5" sources."escape-string-regexp-1.0.5"
sources."esutils-2.0.2" sources."esutils-2.0.2"
sources."fs-extra-5.0.0" sources."fs-extra-5.0.0"
@ -4613,7 +4622,7 @@ in
sources."jsonlint-1.6.2" sources."jsonlint-1.6.2"
sources."lodash-4.17.11" sources."lodash-4.17.11"
sources."loose-envify-1.4.0" sources."loose-envify-1.4.0"
sources."matcher-collection-1.0.5" sources."matcher-collection-1.1.2"
sources."minimatch-3.0.4" sources."minimatch-3.0.4"
sources."minimist-0.0.8" sources."minimist-0.0.8"
sources."mkdirp-0.5.1" sources."mkdirp-0.5.1"
@ -4637,7 +4646,7 @@ in
sources."private-0.1.8" sources."private-0.1.8"
sources."regenerator-runtime-0.11.1" sources."regenerator-runtime-0.11.1"
sources."repeating-2.0.1" sources."repeating-2.0.1"
sources."resolve-1.9.0" sources."resolve-1.10.0"
sources."safe-buffer-5.1.2" sources."safe-buffer-5.1.2"
sources."sax-0.5.8" sources."sax-0.5.8"
sources."slash-1.0.0" sources."slash-1.0.0"
@ -4677,10 +4686,10 @@ in
sha512 = "MMiK5sFfIocNMWCc5PshUCAe6aY4P13/GCmSwudOziA/pFdQMHU8jhu+jU2SSWFug4K1ugeuCwtMXe43oL0PhQ=="; sha512 = "MMiK5sFfIocNMWCc5PshUCAe6aY4P13/GCmSwudOziA/pFdQMHU8jhu+jU2SSWFug4K1ugeuCwtMXe43oL0PhQ==";
}; };
dependencies = [ dependencies = [
sources."@types/node-8.10.39" sources."@types/node-8.10.40"
sources."JSV-4.0.2" sources."JSV-4.0.2"
sources."adal-node-0.1.28" sources."adal-node-0.1.28"
sources."ajv-6.7.0" sources."ajv-6.9.1"
sources."amdefine-1.0.1" sources."amdefine-1.0.1"
sources."ansi-regex-2.1.1" sources."ansi-regex-2.1.1"
sources."ansi-styles-2.2.1" sources."ansi-styles-2.2.1"
@ -4846,7 +4855,7 @@ in
sources."forever-agent-0.6.1" sources."forever-agent-0.6.1"
(sources."form-data-1.0.1" // { (sources."form-data-1.0.1" // {
dependencies = [ dependencies = [
sources."async-2.6.1" sources."async-2.6.2"
]; ];
}) })
sources."from-0.1.7" sources."from-0.1.7"
@ -4902,8 +4911,8 @@ in
]; ];
}) })
sources."jsrsasign-4.8.2" sources."jsrsasign-4.8.2"
sources."jwa-1.1.6" sources."jwa-1.2.0"
sources."jws-3.1.5" sources."jws-3.2.1"
sources."jwt-decode-2.2.0" sources."jwt-decode-2.2.0"
sources."keypress-0.1.0" sources."keypress-0.1.0"
(sources."kuduscript-1.0.16" // { (sources."kuduscript-1.0.16" // {
@ -4920,8 +4929,8 @@ in
sources."minimatch-3.0.4" sources."minimatch-3.0.4"
sources."minimist-0.0.8" sources."minimist-0.0.8"
sources."mkdirp-0.5.1" sources."mkdirp-0.5.1"
sources."moment-2.23.0" sources."moment-2.24.0"
(sources."ms-rest-2.3.8" // { (sources."ms-rest-2.5.0" // {
dependencies = [ dependencies = [
sources."through-2.3.8" sources."through-2.3.8"
sources."tunnel-0.0.5" sources."tunnel-0.0.5"
@ -5005,7 +5014,7 @@ in
sources."asn1-0.1.11" sources."asn1-0.1.11"
]; ];
}) })
(sources."sshpk-1.16.0" // { (sources."sshpk-1.16.1" // {
dependencies = [ dependencies = [
sources."assert-plus-1.0.0" sources."assert-plus-1.0.0"
]; ];
@ -5074,10 +5083,10 @@ in
bower = nodeEnv.buildNodePackage { bower = nodeEnv.buildNodePackage {
name = "bower"; name = "bower";
packageName = "bower"; packageName = "bower";
version = "1.8.4"; version = "1.8.8";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/bower/-/bower-1.8.4.tgz"; url = "https://registry.npmjs.org/bower/-/bower-1.8.8.tgz";
sha1 = "e7876a076deb8137f7d06525dc5e8c66db82f28a"; sha512 = "1SrJnXnkP9soITHptSO+ahx3QKp3cVzn8poI6ujqc5SeOkg5iqM1pK9H+DSc2OQ8SnO0jC/NG4Ur/UIwy7574A==";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {
@ -5278,7 +5287,7 @@ in
sources."regex-not-1.0.2" sources."regex-not-1.0.2"
sources."repeat-element-1.1.3" sources."repeat-element-1.1.3"
sources."repeat-string-1.6.1" sources."repeat-string-1.6.1"
sources."resolve-1.9.0" sources."resolve-1.10.0"
sources."resolve-dir-1.0.1" sources."resolve-dir-1.0.1"
sources."resolve-url-0.2.1" sources."resolve-url-0.2.1"
sources."ret-0.1.15" sources."ret-0.1.15"
@ -5385,7 +5394,7 @@ in
}; };
dependencies = [ dependencies = [
sources."abbrev-1.1.1" sources."abbrev-1.1.1"
sources."ajv-6.7.0" sources."ajv-6.9.1"
sources."ansi-regex-2.1.1" sources."ansi-regex-2.1.1"
sources."aproba-1.2.0" sources."aproba-1.2.0"
sources."are-we-there-yet-1.1.5" sources."are-we-there-yet-1.1.5"
@ -5464,7 +5473,7 @@ in
sources."semver-5.3.0" sources."semver-5.3.0"
sources."set-blocking-2.0.0" sources."set-blocking-2.0.0"
sources."signal-exit-3.0.2" sources."signal-exit-3.0.2"
sources."sshpk-1.16.0" sources."sshpk-1.16.1"
sources."string-width-1.0.2" sources."string-width-1.0.2"
sources."string_decoder-1.1.1" sources."string_decoder-1.1.1"
sources."strip-ansi-3.0.1" sources."strip-ansi-3.0.1"
@ -5496,10 +5505,10 @@ in
node-gyp-build = nodeEnv.buildNodePackage { node-gyp-build = nodeEnv.buildNodePackage {
name = "node-gyp-build"; name = "node-gyp-build";
packageName = "node-gyp-build"; packageName = "node-gyp-build";
version = "3.7.0"; version = "3.8.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.7.0.tgz"; url = "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.8.0.tgz";
sha512 = "L/Eg02Epx6Si2NXmedx+Okg+4UHqmaf3TNcxd50SF9NQGcJaON3AtU++kax69XV7YWz4tUspqZSAsVofhFKG2w=="; sha512 = "bYbpIHyRqZ7sVWXxGpz8QIRug5JZc/hzZH4GbdT9HTZi6WmKCZ8GLvP8OZ9TTiIBvwPFKgtGrlWQSXDAvYdsPw==";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {
@ -5554,8 +5563,8 @@ in
sources."ms-2.0.0" sources."ms-2.0.0"
sources."needle-2.2.4" sources."needle-2.2.4"
sources."nopt-4.0.1" sources."nopt-4.0.1"
sources."npm-bundled-1.0.5" sources."npm-bundled-1.0.6"
sources."npm-packlist-1.2.0" sources."npm-packlist-1.3.0"
sources."npmlog-4.1.2" sources."npmlog-4.1.2"
sources."number-is-nan-1.0.1" sources."number-is-nan-1.0.1"
sources."object-assign-4.1.1" sources."object-assign-4.1.1"
@ -5600,10 +5609,10 @@ in
pnpm = nodeEnv.buildNodePackage { pnpm = nodeEnv.buildNodePackage {
name = "pnpm"; name = "pnpm";
packageName = "pnpm"; packageName = "pnpm";
version = "2.25.1"; version = "2.25.6";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/pnpm/-/pnpm-2.25.1.tgz"; url = "https://registry.npmjs.org/pnpm/-/pnpm-2.25.6.tgz";
sha512 = "VlDIaWSEQJuIQOFzhcg4YQ7enQMrJHb11eUclMj1VxIOxCZX51e/EDu+PZ0IO/4iQsgifiVoQcBbacBKi55jDA=="; sha512 = "5N7JPGL0rwwWQU/ofxhnp3lgmRoF7LlxMvJUCLjWORavfpB8uBIOKoae4JGWt4cPhXY/u6y5k1yZRmHMZiyRKQ==";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {
@ -5624,7 +5633,7 @@ in
}; };
dependencies = [ dependencies = [
sources."adm-zip-0.4.11" sources."adm-zip-0.4.11"
sources."ajv-6.7.0" sources."ajv-6.9.1"
sources."asn1-0.2.4" sources."asn1-0.2.4"
sources."assert-plus-1.0.0" sources."assert-plus-1.0.0"
sources."async-2.6.1" sources."async-2.6.1"
@ -5709,7 +5718,7 @@ in
sources."source-map-0.6.1" sources."source-map-0.6.1"
sources."source-map-support-0.5.10" sources."source-map-support-0.5.10"
sources."sprintf-0.1.5" sources."sprintf-0.1.5"
sources."sshpk-1.16.0" sources."sshpk-1.16.1"
sources."stack-trace-0.0.10" sources."stack-trace-0.0.10"
sources."temp-0.8.3" sources."temp-0.8.3"
(sources."tough-cookie-2.4.3" // { (sources."tough-cookie-2.4.3" // {

View File

@ -2,12 +2,12 @@
asn1crypto, click, pydot, ipython, pyqt5, pyperclip }: asn1crypto, click, pydot, ipython, pyqt5, pyperclip }:
buildPythonPackage rec { buildPythonPackage rec {
version = "3.3.3"; version = "3.3.4";
pname = "androguard"; pname = "androguard";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1zlmn3byh2whg7k2xmcd7yy43lcawhryjnzcxr9bhn54709b6iyd"; sha256 = "1hinfbvha7f1py1jnvxih7lx0p4z2nyaiq9bvg8v3bykwrd9jff2";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -37,9 +37,8 @@ in buildPythonPackage rec {
checkInputs = [ pytest glibcLocales moto ]; checkInputs = [ pytest glibcLocales moto ];
buildInputs = [] ++ optional isDarwin libcxx; buildInputs = [ cython ] ++ optional isDarwin libcxx;
propagatedBuildInputs = [ propagatedBuildInputs = [
cython
dateutil dateutil
scipy scipy
numexpr numexpr

View File

@ -2,11 +2,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "PyOgg"; pname = "PyOgg";
version = "0.6.2a1"; version = "0.6.6a1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1mjh5zx7mfy246lya1qc42j4q4pz6v5zbd8blnfib9ncswcb1v6l"; sha256 = "1ihzgl8p0rc3yjsp27zdrrs2r4qar5yf5l4v8wg0lilvan78h0rs";
}; };
buildInputs = [ libvorbis flac libogg libopus ]; buildInputs = [ libvorbis flac libogg libopus ];

View File

@ -4,11 +4,11 @@ let
in buildPythonPackage rec { in buildPythonPackage rec {
pname = "typing_extensions"; pname = "typing_extensions";
version = "3.6.6"; version = "3.7.2";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "07vhddjnd3mhdijyc3s0mwi9jgfjp3rr056nxqiavydbvkrvgrsi"; sha256 = "0wfsv71pvkyf2na938l579jh0v3kzl6g744ijgnahcwd4d9x0b7v";
}; };
checkInputs = lib.optional (pythonOlder "3.5") typing; checkInputs = lib.optional (pythonOlder "3.5") typing;

View File

@ -4,14 +4,14 @@
, lib }: , lib }:
python.pkgs.buildPythonApplication rec { python.pkgs.buildPythonApplication rec {
version = "1.1"; version = "1.1.1";
pname = "fdroidserver"; pname = "fdroidserver";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "fdroid"; owner = "fdroid";
repo = "fdroidserver"; repo = "fdroidserver";
rev = version; rev = version;
sha256 = "1910ali90aj3wkxy6mi88c5ya6n7zbqr69nvmpc5dydxm0gb98w5"; sha256 = "0m618rvjh8h8hnbafrxsdkw8m5r2wnkz7whqnh60jh91h3yr0kzs";
}; };
patchPhase = '' patchPhase = ''

View File

@ -1,5 +1,6 @@
{ stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib { stdenv, fetchurl, SDL, zlib, libmpeg2, libmad, libogg, libvorbis, flac, alsaLib
, openglSupport ? false, libGLU_combined ? null , libGLSupported
, openglSupport ? libGLSupported, libGLU_combined ? null
}: }:
assert openglSupport -> libGLU_combined != null; assert openglSupport -> libGLU_combined != null;

View File

@ -1,12 +1,13 @@
{ stdenv, lib, fetchurl, pkgconfig, zlib, expat, openssl, autoconf { config, stdenv, lib, fetchurl, pkgconfig, zlib, expat, openssl, autoconf
, libjpeg, libpng, libtiff, freetype, fontconfig, libpaper, jbig2dec , libjpeg, libpng, libtiff, freetype, fontconfig, libpaper, jbig2dec
, libiconv, ijs , libiconv, ijs
, x11Support ? false, xlibsWrapper ? null , cupsSupport ? config.ghostscript.cups or (!stdenv.isDarwin), cups ? null
, cupsSupport ? false, cups ? null , x11Support ? cupsSupport, xlibsWrapper ? null # with CUPS, X11 only adds very little
}: }:
assert x11Support -> xlibsWrapper != null; assert x11Support -> xlibsWrapper != null;
assert cupsSupport -> cups != null; assert cupsSupport -> cups != null;
let let
version = "9.${ver_min}"; version = "9.${ver_min}";
ver_min = "26"; ver_min = "26";

View File

@ -3,7 +3,7 @@
with stdenv.lib; with stdenv.lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "4.14.99"; version = "4.14.98";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "02pbi5jck6fp7y5lihn077i0j3hssxcrbsfbxlyp62xjsnp8rycg"; sha256 = "0pqc04ij6qdfhh3rpakas0qc0vqj8mm120z64q9v9vxin5qi20lg";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View File

@ -1,8 +1,8 @@
{ stdenv, lib, fetchurl, pkgconfig, jansson, pcre { stdenv, lib, fetchurl, pkgconfig, jansson, pcre
# plugins: list of strings, eg. [ "python2" "python3" ] # plugins: list of strings, eg. [ "python2" "python3" ]
, plugins , plugins ? []
, pam, withPAM ? false , pam, withPAM ? stdenv.isLinux
, systemd, withSystemd ? false , systemd, withSystemd ? stdenv.isLinux
, python2, python3, ncurses , python2, python3, ncurses
, ruby, php-embed, mysql , ruby, php-embed, mysql
}: }:

View File

@ -2,8 +2,6 @@
, libcanberra-gtk3, intltool, dvdauthor, libburn, libisofs , libcanberra-gtk3, intltool, dvdauthor, libburn, libisofs
, vcdimager, wrapGAppsHook, hicolor-icon-theme }: , vcdimager, wrapGAppsHook, hicolor-icon-theme }:
# libdvdcss is "too old" (in fast "too new"), see https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/611590
let let
major = "3.12"; major = "3.12";
minor = "2"; minor = "2";

View File

@ -1,4 +1,4 @@
{ lib, symlinkJoin, brasero-original, cdrtools, makeWrapper }: { lib, symlinkJoin, brasero-original, cdrtools, libdvdcss, makeWrapper }:
let let
binPath = lib.makeBinPath [ cdrtools ]; binPath = lib.makeBinPath [ cdrtools ];
@ -10,7 +10,8 @@ in symlinkJoin {
postBuild = '' postBuild = ''
wrapProgram $out/bin/brasero \ wrapProgram $out/bin/brasero \
--prefix PATH ':' ${binPath} --prefix PATH ':' ${binPath} \
--prefix LD_PRELOAD : ${lib.makeLibraryPath [ libdvdcss ]}/libdvdcss.so
''; '';
inherit (brasero-original) meta; inherit (brasero-original) meta;

View File

@ -1,5 +1,5 @@
{ stdenv, runCommand, makeWrapper, lndir { stdenv, runCommand, makeWrapper, lndir
, dconf, hicolor-icon-theme, ibus, librsvg, plugins , dconf, hicolor-icon-theme, ibus, librsvg, plugins ? []
}: }:
let let

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, file, licenseFile, optgamsFile}: { stdenv, fetchurl, unzip, file, licenseFile ? null, optgamsFile ? null}:
assert licenseFile != null; assert licenseFile != null;

View File

@ -1,10 +1,10 @@
{ stdenv, autoconf, automake, pkgconfig, gettext, libtool, bison { stdenv, autoconf, automake, pkgconfig, gettext, libtool, bison
, flex, which, subversion, fetchsvn, makeWrapper, libftdi, libusb, readline , flex, which, subversion, fetchsvn, makeWrapper, libftdi, libusb, readline
, python3 , python3
, svfSupport ? false , svfSupport ? true
, bsdlSupport ? false , bsdlSupport ? true
, staplSupport ? false , staplSupport ? true
, jedecSupport ? false , jedecSupport ? true
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {

View File

@ -2,11 +2,11 @@
python2Packages.buildPythonApplication rec { python2Packages.buildPythonApplication rec {
pname = "getmail"; pname = "getmail";
version = "5.8"; version = "5.10";
src = fetchurl { src = fetchurl {
url = "http://pyropus.ca/software/getmail/old-versions/${pname}-${version}.tar.gz"; url = "http://pyropus.ca/software/getmail/old-versions/${pname}-${version}.tar.gz";
sha256 = "0vl4cc733pd9d21y4pr4jc1ly657d0akxj1bdh1xfjggx33l3541"; sha256 = "0qc4gp66mhaxyjj7pfz9v69kxnw76my4zw07hvc4f3kj3balkygx";
}; };
doCheck = false; doCheck = false;

View File

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
name = "slirp4netns-${version}";
version = "0.3.0-alpha.2";
src = fetchFromGitHub {
owner = "rootless-containers";
repo = "slirp4netns";
rev = "v${version}";
sha256 = "163nwdwi1qigma1c5svm8llgd8pn4sbkchw67ry3v0gfxa9mxibk";
};
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://github.com/rootless-containers/slirp4netns;
description = "User-mode networking for unprivileged network namespaces";
license = licenses.gpl2;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, tlsSupport ? false, openssl ? null}: {stdenv, fetchurl, tlsSupport ? true, openssl ? null}:
assert tlsSupport -> openssl != null; assert tlsSupport -> openssl != null;

View File

@ -13,7 +13,7 @@ let
sh = busybox-sandbox-shell; sh = busybox-sandbox-shell;
common = { name, suffix ? "", src, fromGit ? false }: common = { name, suffix ? "", src, includesPerl ? false, fromGit ? false }:
let nix = stdenv.mkDerivation rec { let nix = stdenv.mkDerivation rec {
inherit name src; inherit name src;
version = lib.getVersion name; version = lib.getVersion name;
@ -113,7 +113,7 @@ let
passthru = { passthru = {
inherit fromGit; inherit fromGit;
perl-bindings = stdenv.mkDerivation { perl-bindings = if includesPerl then nix else stdenv.mkDerivation {
name = "nix-perl-${version}"; name = "nix-perl-${version}";
inherit src; inherit src;
@ -150,6 +150,9 @@ in rec {
url = "http://nixos.org/releases/nix/${name}/${name}.tar.xz"; url = "http://nixos.org/releases/nix/${name}/${name}.tar.xz";
sha256 = "0ca5782fc37d62238d13a620a7b4bff6a200bab1bd63003709249a776162357c"; sha256 = "0ca5782fc37d62238d13a620a7b4bff6a200bab1bd63003709249a776162357c";
}; };
# Nix1 has the perl bindings by default, so no need to build the manually.
includesPerl = true;
}; };
nixStable = common rec { nixStable = common rec {

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, gtk2, libdv, libjpeg, libpng, libX11, pkgconfig, SDL, SDL_gfx { stdenv, lib, fetchurl, gtk2, libdv, libjpeg, libpng, libX11, pkgconfig, SDL, SDL_gfx
, withMinimal ? false , withMinimal ? true
}: }:
# TODO: # TODO:

View File

@ -173,7 +173,7 @@ in
dump1090 = callPackage ../applications/misc/dump1090 { }; dump1090 = callPackage ../applications/misc/dump1090 { };
ebook2cw = callPackage ../applications/misc/ebook2cw { }; ebook2cw = callPackage ../applications/radio/ebook2cw { };
etBook = callPackage ../data/fonts/et-book { }; etBook = callPackage ../data/fonts/et-book { };
@ -230,9 +230,7 @@ in
fetchsvnrevision = import ../build-support/fetchsvnrevision runCommand subversion; fetchsvnrevision = import ../build-support/fetchsvnrevision runCommand subversion;
fetchsvnssh = callPackage ../build-support/fetchsvnssh { fetchsvnssh = callPackage ../build-support/fetchsvnssh { };
sshSupport = true;
};
fetchhg = callPackage ../build-support/fetchhg { }; fetchhg = callPackage ../build-support/fetchhg { };
@ -511,10 +509,7 @@ in
arduino = arduino-core.override { withGui = true; }; arduino = arduino-core.override { withGui = true; };
arduino-core = callPackage ../development/arduino/arduino-core { arduino-core = callPackage ../development/arduino/arduino-core { };
jdk = jdk;
withGui = false;
};
arduino-mk = callPackage ../development/arduino/arduino-mk {}; arduino-mk = callPackage ../development/arduino/arduino-mk {};
@ -692,10 +687,7 @@ in
gamecube-tools = callPackage ../development/tools/gamecube-tools { }; gamecube-tools = callPackage ../development/tools/gamecube-tools { };
gams = callPackage ../tools/misc/gams { gams = callPackage ../tools/misc/gams (config.gams or {});
licenseFile = config.gams.licenseFile or null;
optgamsFile = config.gams.optgamsFile or null;
};
git-fire = callPackage ../tools/misc/git-fire { }; git-fire = callPackage ../tools/misc/git-fire { };
@ -837,9 +829,7 @@ in
autorandr = callPackage ../tools/misc/autorandr {}; autorandr = callPackage ../tools/misc/autorandr {};
avahi = callPackage ../development/libraries/avahi { avahi = callPackage ../development/libraries/avahi (config.avahi or {});
qt4Support = config.avahi.qt4Support or false;
};
avro-c = callPackage ../development/libraries/avro-c { }; avro-c = callPackage ../development/libraries/avro-c { };
@ -1183,7 +1173,7 @@ in
coprthr = callPackage ../development/libraries/coprthr { }; coprthr = callPackage ../development/libraries/coprthr { };
cplex = callPackage ../applications/science/math/cplex { releasePath = config.cplex.releasePath or null; }; cplex = callPackage ../applications/science/math/cplex (config.cplex or {});
cpulimit = callPackage ../tools/misc/cpulimit { }; cpulimit = callPackage ../tools/misc/cpulimit { };
@ -2030,7 +2020,6 @@ in
ibus-with-plugins = callPackage ../tools/inputmethods/ibus/wrapper.nix { ibus-with-plugins = callPackage ../tools/inputmethods/ibus/wrapper.nix {
inherit (gnome3) dconf; inherit (gnome3) dconf;
plugins = [ ];
}; };
interception-tools = callPackage ../tools/inputmethods/interception-tools { }; interception-tools = callPackage ../tools/inputmethods/interception-tools { };
@ -3089,10 +3078,9 @@ in
grpcurl = callPackage ../tools/networking/grpcurl { }; grpcurl = callPackage ../tools/networking/grpcurl { };
grub = pkgsi686Linux.callPackage ../tools/misc/grub { grub = pkgsi686Linux.callPackage ../tools/misc/grub ({
buggyBiosCDSupport = config.grub.buggyBiosCDSupport or true;
stdenv = overrideCC stdenv pkgsi686Linux.gcc6; stdenv = overrideCC stdenv pkgsi686Linux.gcc6;
}; } // (config.grub or {}));
trustedGrub = pkgsi686Linux.callPackage ../tools/misc/grub/trusted.nix { }; trustedGrub = pkgsi686Linux.callPackage ../tools/misc/grub/trusted.nix { };
@ -4209,9 +4197,7 @@ in
mitmproxy = callPackage ../tools/networking/mitmproxy { }; mitmproxy = callPackage ../tools/networking/mitmproxy { };
mjpegtools = callPackage ../tools/video/mjpegtools { mjpegtools = callPackage ../tools/video/mjpegtools { };
withMinimal = true;
};
mjpegtoolsFull = mjpegtools.override { mjpegtoolsFull = mjpegtools.override {
withMinimal = false; withMinimal = false;
@ -5446,6 +5432,8 @@ in
slimrat = callPackage ../tools/networking/slimrat { }; slimrat = callPackage ../tools/networking/slimrat { };
slirp4netns = callPackage ../tools/networking/slirp4netns/default.nix { };
slsnif = callPackage ../tools/misc/slsnif { }; slsnif = callPackage ../tools/misc/slsnif { };
slstatus = callPackage ../applications/misc/slstatus { slstatus = callPackage ../applications/misc/slstatus {
@ -5579,9 +5567,7 @@ in
sslmate = callPackage ../development/tools/sslmate { }; sslmate = callPackage ../development/tools/sslmate { };
ssmtp = callPackage ../tools/networking/ssmtp { ssmtp = callPackage ../tools/networking/ssmtp { };
tlsSupport = true;
};
ssocr = callPackage ../applications/misc/ssocr { }; ssocr = callPackage ../applications/misc/ssocr { };
@ -5593,9 +5579,7 @@ in
stress-ng = callPackage ../tools/system/stress-ng { }; stress-ng = callPackage ../tools/system/stress-ng { };
stoken = callPackage ../tools/security/stoken { stoken = callPackage ../tools/security/stoken (config.stoken or {});
withGTK3 = config.stoken.withGTK3 or true;
};
storeBackup = callPackage ../tools/backup/store-backup { }; storeBackup = callPackage ../tools/backup/store-backup { };
@ -5952,11 +5936,7 @@ in
usync = callPackage ../applications/misc/usync { }; usync = callPackage ../applications/misc/usync { };
uwsgi = callPackage ../servers/uwsgi { uwsgi = callPackage ../servers/uwsgi { };
plugins = [];
withPAM = stdenv.isLinux;
withSystemd = stdenv.isLinux;
};
vacuum = callPackage ../applications/networking/instant-messengers/vacuum {}; vacuum = callPackage ../applications/networking/instant-messengers/vacuum {};
@ -6225,12 +6205,7 @@ in
uptimed = callPackage ../tools/system/uptimed { }; uptimed = callPackage ../tools/system/uptimed { };
urjtag = callPackage ../tools/misc/urjtag { urjtag = callPackage ../tools/misc/urjtag { };
svfSupport = true;
bsdlSupport = true;
staplSupport = true;
jedecSupport = true;
};
urlwatch = callPackage ../tools/networking/urlwatch { }; urlwatch = callPackage ../tools/networking/urlwatch { };
@ -9310,7 +9285,6 @@ in
apr = callPackage ../development/libraries/apr { }; apr = callPackage ../development/libraries/apr { };
aprutil = callPackage ../development/libraries/apr-util { aprutil = callPackage ../development/libraries/apr-util {
bdbSupport = true;
db = if stdenv.isFreeBSD then db4 else db; db = if stdenv.isFreeBSD then db4 else db;
# XXX: only the db_185 interface was available through # XXX: only the db_185 interface was available through
# apr with db58 on freebsd (nov 2015), for unknown reasons # apr with db58 on freebsd (nov 2015), for unknown reasons
@ -9360,7 +9334,9 @@ in
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreServices; inherit (darwin.apple_sdk.frameworks) AudioUnit CoreServices;
}; };
aws-sdk-cpp = callPackage ../development/libraries/aws-sdk-cpp { }; aws-sdk-cpp = callPackage ../development/libraries/aws-sdk-cpp {
inherit (darwin.apple_sdk.frameworks) CoreAudio AudioToolbox;
};
babl = callPackage ../development/libraries/babl { }; babl = callPackage ../development/libraries/babl { };
@ -10929,7 +10905,6 @@ in
libgpod = callPackage ../development/libraries/libgpod { libgpod = callPackage ../development/libraries/libgpod {
inherit (pkgs.pythonPackages) mutagen; inherit (pkgs.pythonPackages) mutagen;
monoSupport = false;
}; };
libgssglue = callPackage ../development/libraries/libgssglue { }; libgssglue = callPackage ../development/libraries/libgssglue { };
@ -11940,6 +11915,8 @@ in
ortp = callPackage ../development/libraries/ortp { }; ortp = callPackage ../development/libraries/ortp { };
openhmd = callPackage ../development/libraries/openhmd { };
openrct2 = callPackage ../games/openrct2 { }; openrct2 = callPackage ../games/openrct2 { };
osm-gps-map = callPackage ../development/libraries/osm-gps-map { }; osm-gps-map = callPackage ../development/libraries/osm-gps-map { };
@ -13651,13 +13628,7 @@ in
mod_python = pkgs.apacheHttpdPackages.mod_python; mod_python = pkgs.apacheHttpdPackages.mod_python;
mod_wsgi = pkgs.apacheHttpdPackages.mod_wsgi; mod_wsgi = pkgs.apacheHttpdPackages.mod_wsgi;
mpd = callPackage ../servers/mpd { mpd = callPackage ../servers/mpd (config.mpd or {});
aacSupport = config.mpd.aacSupport or true;
clientSupport = config.mpd.clientSupport or true;
ffmpegSupport = config.mpd.ffmpegSupport or true;
opusSupport = config.mpd.opusSupport or true;
};
mpd_clientlib = callPackage ../servers/mpd/clientlib.nix { }; mpd_clientlib = callPackage ../servers/mpd/clientlib.nix { };
@ -13770,13 +13741,11 @@ in
bluetoothSupport = true; bluetoothSupport = true;
remoteControlSupport = true; remoteControlSupport = true;
zeroconfSupport = true; zeroconfSupport = true;
inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa;
}; };
# libpulse implementations # libpulse implementations
libpulseaudio-vanilla = pulseaudio.override { libpulseaudio-vanilla = pulseaudio.override {
libOnly = true; libOnly = true;
inherit (darwin.apple_sdk.frameworks) CoreServices AudioUnit Cocoa;
}; };
apulse = callPackage ../misc/apulse { }; apulse = callPackage ../misc/apulse { };
@ -16966,9 +16935,7 @@ in
etherape = callPackage ../applications/networking/sniffers/etherape { }; etherape = callPackage ../applications/networking/sniffers/etherape { };
evilvte = callPackage ../applications/misc/evilvte { evilvte = callPackage ../applications/misc/evilvte (config.evilvte or {});
configH = config.evilvte.config or "";
};
evopedia = callPackage ../applications/misc/evopedia { }; evopedia = callPackage ../applications/misc/evopedia { };
@ -17185,9 +17152,7 @@ in
welle-io = libsForQt5.callPackage ../applications/radio/welle-io { }; welle-io = libsForQt5.callPackage ../applications/radio/welle-io { };
wireshark = callPackage ../applications/networking/sniffers/wireshark { wireshark = callPackage ../applications/networking/sniffers/wireshark {
withQt = true;
qt5 = qt59; qt5 = qt59;
withGtk = false;
inherit (darwin.apple_sdk.frameworks) ApplicationServices SystemConfiguration; inherit (darwin.apple_sdk.frameworks) ApplicationServices SystemConfiguration;
}; };
wireshark-qt = wireshark; wireshark-qt = wireshark;
@ -17284,13 +17249,9 @@ in
flameshot = libsForQt5.callPackage ../tools/misc/flameshot { }; flameshot = libsForQt5.callPackage ../tools/misc/flameshot { };
flashplayer = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer { flashplayer = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer (config.flashplayer or {});
debug = config.flashplayer.debug or false;
};
flashplayer-standalone = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix { flashplayer-standalone = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix (config.flashplayer or {});
debug = config.flashplayer.debug or false;
};
flashplayer-standalone-debugger = flashplayer-standalone.override { flashplayer-standalone-debugger = flashplayer-standalone.override {
debug = true; debug = true;
@ -18206,7 +18167,6 @@ in
mercurial = callPackage ../applications/version-management/mercurial { mercurial = callPackage ../applications/version-management/mercurial {
inherit (darwin.apple_sdk.frameworks) ApplicationServices; inherit (darwin.apple_sdk.frameworks) ApplicationServices;
guiSupport = false; # use mercurialFull to get hgk GUI
}; };
mercurialFull = appendToName "full" (pkgs.mercurial.override { guiSupport = true; }); mercurialFull = appendToName "full" (pkgs.mercurial.override { guiSupport = true; });
@ -18921,12 +18881,9 @@ in
# And I don't want to rewrite all rules # And I don't want to rewrite all rules
procmail = callPackage ../applications/misc/procmail { }; procmail = callPackage ../applications/misc/procmail { };
profanity = callPackage ../applications/networking/instant-messengers/profanity { profanity = callPackage ../applications/networking/instant-messengers/profanity ({
notifySupport = config.profanity.notifySupport or true;
traySupport = config.profanity.traySupport or true;
autoAwaySupport = config.profanity.autoAwaySupport or true;
python = python3; python = python3;
}; } // (config.profanity or {}));
protonmail-bridge = libsForQt5.callPackage ../applications/networking/protonmail-bridge { }; protonmail-bridge = libsForQt5.callPackage ../applications/networking/protonmail-bridge { };
@ -19030,12 +18987,7 @@ in
quantomatic = callPackage ../applications/science/physics/quantomatic { }; quantomatic = callPackage ../applications/science/physics/quantomatic { };
quassel = libsForQt5.callPackage ../applications/networking/irc/quassel { quassel = libsForQt5.callPackage ../applications/networking/irc/quassel {
monolithic = true; inherit (gnome3) dconf;
daemon = false;
client = false;
withKDE = true;
dconf = gnome3.dconf;
tag = "-kf5";
}; };
quasselClient = quassel.override { quasselClient = quassel.override {
@ -19047,8 +18999,8 @@ in
quasselDaemon = quassel.override { quasselDaemon = quassel.override {
monolithic = false; monolithic = false;
daemon = true; daemon = true;
tag = "-daemon-qt5";
withKDE = false; withKDE = false;
tag = "-daemon-qt5";
}; };
quirc = callPackage ../tools/graphics/quirc {}; quirc = callPackage ../tools/graphics/quirc {};
@ -19178,10 +19130,7 @@ in
llvmPackages = llvmPackages_7; llvmPackages = llvmPackages_7;
}; };
rsync = callPackage ../applications/networking/sync/rsync { rsync = callPackage ../applications/networking/sync/rsync (config.rsync or {});
enableACLs = !(stdenv.isDarwin || stdenv.isSunOS || stdenv.isFreeBSD);
enableCopyDevicesPatch = (config.rsync.enableCopyDevicesPatch or false);
};
rrsync = callPackage ../applications/networking/sync/rsync/rrsync.nix {}; rrsync = callPackage ../applications/networking/sync/rsync/rrsync.nix {};
rtl_433 = callPackage ../applications/radio/rtl_433 { }; rtl_433 = callPackage ../applications/radio/rtl_433 { };
@ -19197,11 +19146,7 @@ in
rxvt = callPackage ../applications/misc/rxvt { }; rxvt = callPackage ../applications/misc/rxvt { };
# urxvt # urxvt
rxvt_unicode = callPackage ../applications/misc/rxvt_unicode { rxvt_unicode = callPackage ../applications/misc/rxvt_unicode { };
perlSupport = true;
gdkPixbufSupport = true;
unicode3Support = true;
};
rxvt_unicode-with-plugins = callPackage ../applications/misc/rxvt_unicode/wrapper.nix { rxvt_unicode-with-plugins = callPackage ../applications/misc/rxvt_unicode/wrapper.nix {
plugins = [ plugins = [
@ -19461,9 +19406,7 @@ in
}; };
}; };
libspotify = callPackage ../development/libraries/libspotify { libspotify = callPackage ../development/libraries/libspotify (config.libspotify or {});
apiKey = config.libspotify.apiKey or null;
};
sourcetrail = callPackage ../development/tools/sourcetrail { }; sourcetrail = callPackage ../development/tools/sourcetrail { };
@ -19506,16 +19449,7 @@ in
sublime3-dev = sublime3Packages.sublime3-dev; sublime3-dev = sublime3Packages.sublime3-dev;
inherit (callPackages ../applications/version-management/subversion { inherit (callPackages ../applications/version-management/subversion { sasl = cyrus_sasl; })
bdbSupport = true;
httpServer = false;
httpSupport = true;
pythonBindings = false;
perlBindings = false;
javahlBindings = false;
saslSupport = false;
sasl = cyrus_sasl;
})
subversion18 subversion19 subversion_1_10 subversion_1_11; subversion18 subversion19 subversion_1_10 subversion_1_11;
subversion = subversion_1_11; subversion = subversion_1_11;
@ -19700,14 +19634,11 @@ in
toggldesktop = libsForQt5.callPackage ../applications/misc/toggldesktop { }; toggldesktop = libsForQt5.callPackage ../applications/misc/toggldesktop { };
tomahawk = callPackage ../applications/audio/tomahawk { tomahawk = callPackage ../applications/audio/tomahawk ({
taglib = taglib_1_9; taglib = taglib_1_9;
enableXMPP = config.tomahawk.enableXMPP or true;
enableKDE = config.tomahawk.enableKDE or false;
enableTelepathy = config.tomahawk.enableTelepathy or false;
quazip = quazip_qt4; quazip = quazip_qt4;
boost = boost155; boost = boost155;
}; } // (config.tomahawk or {}));
topydo = callPackage ../applications/misc/topydo {}; topydo = callPackage ../applications/misc/topydo {};
@ -19731,7 +19662,8 @@ in
toxiproxy = callPackage ../development/tools/toxiproxy { }; toxiproxy = callPackage ../development/tools/toxiproxy { };
tqsl = callPackage ../applications/misc/tqsl { }; tqsl = callPackage ../applications/radio/tqsl { };
trustedqsl = tqsl; # Alias added 2019-02-10
transcode = callPackage ../applications/audio/transcode { }; transcode = callPackage ../applications/audio/transcode { };
@ -19970,9 +19902,7 @@ in
vym = qt5.callPackage ../applications/misc/vym { }; vym = qt5.callPackage ../applications/misc/vym { };
w3m = callPackage ../applications/networking/browsers/w3m { w3m = callPackage ../applications/networking/browsers/w3m { };
graphicsSupport = !stdenv.isDarwin;
};
# Should always be the version with the most features # Should always be the version with the most features
w3m-full = w3m; w3m-full = w3m;
@ -20967,9 +20897,7 @@ in
racer = callPackage ../games/racer { }; racer = callPackage ../games/racer { };
residualvm = callPackage ../games/residualvm { residualvm = callPackage ../games/residualvm { };
openglSupport = libGLSupported;
};
rftg = callPackage ../games/rftg { }; rftg = callPackage ../games/rftg { };
@ -22101,13 +22029,7 @@ in
singular = callPackage ../applications/science/math/singular { }; singular = callPackage ../applications/science/math/singular { };
scilab = callPackage ../applications/science/math/scilab { scilab = callPackage ../applications/science/math/scilab { };
withXaw3d = false;
withTk = true;
withGtk = false;
withOCaml = true;
withX = true;
};
scilab-bin = callPackage ../applications/science/math/scilab-bin {}; scilab-bin = callPackage ../applications/science/math/scilab-bin {};
@ -22416,10 +22338,7 @@ in
gensgs = pkgsi686Linux.callPackage ../misc/emulators/gens-gs { }; gensgs = pkgsi686Linux.callPackage ../misc/emulators/gens-gs { };
ghostscript = callPackage ../misc/ghostscript rec { ghostscript = callPackage ../misc/ghostscript { };
cupsSupport = config.ghostscript.cups or (!stdenv.isDarwin);
x11Support = cupsSupport; # with CUPS, X11 only adds very little
};
ghostscriptX = appendToName "with-X" (ghostscript.override { ghostscriptX = appendToName "with-X" (ghostscript.override {
cupsSupport = true; cupsSupport = true;
@ -22725,15 +22644,7 @@ in
disnix = callPackage ../tools/package-management/disnix { }; disnix = callPackage ../tools/package-management/disnix { };
dysnomia = callPackage ../tools/package-management/disnix/dysnomia { dysnomia = callPackage ../tools/package-management/disnix/dysnomia (config.disnix or {});
enableApacheWebApplication = config.disnix.enableApacheWebApplication or false;
enableAxis2WebService = config.disnix.enableAxis2WebService or false;
enableEjabberdDump = config.disnix.enableEjabberdDump or false;
enableMySQLDatabase = config.disnix.enableMySQLDatabase or false;
enablePostgreSQLDatabase = config.disnix.enablePostgreSQLDatabase or false;
enableSubversionRepository = config.disnix.enableSubversionRepository or false;
enableTomcatWebApplication = config.disnix.enableTomcatWebApplication or false;
};
disnixos = callPackage ../tools/package-management/disnix/disnixos { }; disnixos = callPackage ../tools/package-management/disnix/disnixos { };
@ -22875,15 +22786,9 @@ in
samsung-unified-linux-driver_4_01_17 = callPackage ../misc/cups/drivers/samsung/4.01.17.nix { }; samsung-unified-linux-driver_4_01_17 = callPackage ../misc/cups/drivers/samsung/4.01.17.nix { };
samsung-unified-linux-driver = res.samsung-unified-linux-driver_4_01_17; samsung-unified-linux-driver = res.samsung-unified-linux-driver_4_01_17;
sane-backends = callPackage ../applications/graphics/sane/backends { sane-backends = callPackage ../applications/graphics/sane/backends (config.sane or {});
gt68xxFirmware = config.sane.gt68xxFirmware or null;
snapscanFirmware = config.sane.snapscanFirmware or null;
};
sane-backends-git = callPackage ../applications/graphics/sane/backends/git.nix { sane-backends-git = callPackage ../applications/graphics/sane/backends/git.nix (config.sane or {});
gt68xxFirmware = config.sane.gt68xxFirmware or null;
snapscanFirmware = config.sane.snapscanFirmware or null;
};
brlaser = callPackage ../misc/cups/drivers/brlaser { }; brlaser = callPackage ../misc/cups/drivers/brlaser { };

View File

@ -73,7 +73,7 @@ in let
# whatever arguments it doesn't explicitly provide. This way, # whatever arguments it doesn't explicitly provide. This way,
# `all-packages.nix` doesn't know more than it needs too. # `all-packages.nix` doesn't know more than it needs too.
# #
# It's OK that `args` doesn't include default arguemtns from this file: # It's OK that `args` doesn't include default arguments from this file:
# they'll be deterministically inferred. In fact we must *not* include them, # they'll be deterministically inferred. In fact we must *not* include them,
# because it's important that if some parameter which affects the default is # because it's important that if some parameter which affects the default is
# substituted with a different argument, the default is re-inferred. # substituted with a different argument, the default is re-inferred.

View File

@ -167,43 +167,6 @@ with self; {
}; };
}; };
luabitop = buildLuaPackage rec {
version = "1.0.2";
name = "bitop-${version}";
src = fetchurl {
url = "http://bitop.luajit.org/download/LuaBitOp-${version}.tar.gz";
sha256 = "16fffbrgfcw40kskh2bn9q7m3gajffwd2f35rafynlnd7llwj1qj";
};
buildFlags = stdenv.lib.optionalString stdenv.isDarwin "macosx";
disabled = isLua53;
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace Makefile --replace 10.4 10.5
'';
preBuild = ''
makeFlagsArray=(
${stdenv.lib.optionalString stdenv.cc.isClang "CC=$CC"}
INCLUDES="-I${lua}/include"
LUA="${lua}/bin/lua");
'';
installPhase = ''
mkdir -p $out/lib/lua/${lua.luaversion}
install -p bit.so $out/lib/lua/${lua.luaversion}
'';
meta = with stdenv.lib; {
description = "C extension module for Lua which adds bitwise operations on numbers";
homepage = "http://bitop.luajit.org";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
};
http = buildLuaPackage rec { http = buildLuaPackage rec {
version = "0.2"; version = "0.2";
name = "http-${version}"; name = "http-${version}";
@ -236,36 +199,6 @@ with self; {
}; };
}; };
luacheck = buildLuaPackage rec {
pname = "luacheck";
version = "0.20.0";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "mpeterv";
repo = "luacheck";
rev = "${version}";
sha256 = "0ahfkmqcjhlb7r99bswy1sly6d7p4pyw5f4x4fxnxzjhbq0c5qcs";
};
propagatedBuildInputs = [ lua ];
# No Makefile.
dontBuild = true;
installPhase = ''
${lua}/bin/lua install.lua $out
'';
meta = with stdenv.lib; {
description = "A tool for linting and static analysis of Lua code";
homepage = https://github.com/mpeterv/luacheck;
license = licenses.mit;
maintainers = with maintainers; [ vyp ];
platforms = platforms.unix;
};
};
luacyrussasl = buildLuaPackage rec { luacyrussasl = buildLuaPackage rec {
version = "1.1.0"; version = "1.1.0";
name = "lua-cyrussasl-${version}"; name = "lua-cyrussasl-${version}";
@ -295,37 +228,6 @@ with self; {
}; };
}; };
luaevent = buildLuaPackage rec {
version = "0.4.4";
name = "luaevent-${version}";
src = fetchFromGitHub {
owner = "harningt";
repo = "luaevent";
rev = "v${version}";
sha256 = "1krzxr0jkv3gmhpckp02byhdd9s5dd0hpyqc8irc8i79dd8x0p53";
};
preBuild = ''
makeFlagsArray=(
INSTALL_DIR_LUA="$out/share/lua/${lua.luaversion}"
INSTALL_DIR_BIN="$out/lib/lua/${lua.luaversion}"
LUA_INC_DIR="${lua}/include"
);
'';
buildInputs = [ libevent ];
propagatedBuildInputs = [ luasocket ];
meta = with stdenv.lib; {
homepage = http://luaforge.net/projects/luaevent/;
description = "Binding of libevent to Lua";
license = licenses.mit;
maintainers = with maintainers; [ koral ];
};
};
luaexpat = buildLuaPackage rec { luaexpat = buildLuaPackage rec {
version = "1.3.0"; version = "1.3.0";
name = "expat-${version}"; name = "expat-${version}";
@ -482,60 +384,6 @@ with self; {
}; };
}; };
lpty = buildLuaPackage rec {
version = "1.2.1";
name = "lpty-${version}";
src = fetchurl {
url = "http://www.tset.de/downloads/lpty-${version}-1.tar.gz";
sha256 = "0rgvbpymcgdkzdwfag607xfscs9xyqxg0dj0qr5fv906mi183gs6";
};
preBuild = ''
makeFlagsArray=(
INST_LIBDIR="$out/lib/lua/${lua.luaversion}"
INST_LUADIR="$out/share/lua/${lua.luaversion}"
LUA_BINDIR="${lua}/bin"
LUA_INCDIR="-I${lua}/include"
LUA_LIBDIR="-L${lua}/lib"
);
'';
meta = with stdenv.lib; {
description = "PTY control for Lua";
homepage = "http://www.tset.de/lpty";
license = licenses.mit;
maintainers = with maintainers; [ vyp ];
platforms = platforms.linux;
};
};
lua-iconv = buildLuaPackage rec {
name = "lua-iconv-${version}";
version = "7";
src = fetchFromGitHub {
owner = "ittner";
repo = "lua-iconv";
rev = name;
sha256 = "0rd76966qlxfp8ypkyrbif76nxnm1acclqwfs45wz3972jsk654i";
};
preBuild = ''
makeFlagsArray=(
INSTALL_PATH="$out/lib/lua/${lua.luaversion}"
);
'';
meta = with stdenv.lib; {
description = "Lua bindings for POSIX iconv";
homepage = "https://ittner.github.io/lua-iconv/";
license = licenses.mit;
maintainers = with maintainers; [ richardipsum ];
platforms = platforms.unix;
};
};
luasec = buildLuaPackage rec { luasec = buildLuaPackage rec {
name = "sec-0.6"; name = "sec-0.6";

View File

@ -7682,6 +7682,7 @@ let
url = "mirror://cpan/authors/id/T/TO/TODDR/${name}.tar.gz"; url = "mirror://cpan/authors/id/T/TO/TODDR/${name}.tar.gz";
sha256 = "0399anjy3bc0w8xzsc3qx5vcyqryc9gc52lc7wh7i49hsdq8gvx2"; sha256 = "0399anjy3bc0w8xzsc3qx5vcyqryc9gc52lc7wh7i49hsdq8gvx2";
}; };
doCheck = !stdenv.isDarwin; # openpty fails in the sandbox
}; };
IPCountry = buildPerlPackage rec { IPCountry = buildPerlPackage rec {

View File

@ -411,11 +411,11 @@ let
phpstan = pkgs.stdenv.mkDerivation rec { phpstan = pkgs.stdenv.mkDerivation rec {
name = "phpstan-${version}"; name = "phpstan-${version}";
version = "0.11.1"; version = "0.11.2";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar"; url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar";
sha256 = "0iivfp9945gv6pqhp01720rlwzfd260hbfq31a3mmimly721mnsa"; sha256 = "0pkcak51vfrqlwivxbb5pdvc34pxia8pdraii97wmcg4z0d4i1rx";
}; };
phases = [ "installPhase" ]; phases = [ "installPhase" ];