Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2019-10-18 12:26:11 +02:00
commit c51c2f79b2
101 changed files with 7073 additions and 1246 deletions

@ -1450,6 +1450,12 @@
githubId = 245394;
name = "Hannu Hartikainen";
};
danderson = {
email = "dave@natulte.net";
github = "danderson";
githubId = 1918;
name = "David Anderson";
};
danharaj = {
email = "dan@obsidian.systems";
github = "danharaj";
@ -4333,6 +4339,12 @@
githubId = 104795;
name = "Marek Mahut";
};
mmai = {
email = "henri.bourcereau@gmail.com";
github = "mmai";
githubId = 117842;
name = "Henri Bourcereau";
};
mmlb = {
email = "me.mmlb@mmlb.me";
github = "mmlb";

@ -666,6 +666,7 @@
./services/networking/polipo.nix
./services/networking/powerdns.nix
./services/networking/pdns-recursor.nix
./services/networking/pppd.nix
./services/networking/pptpd.nix
./services/networking/prayer.nix
./services/networking/privoxy.nix

@ -3,16 +3,34 @@
with lib;
let
logPrefix = "services.prometheus.exporter.blackbox";
cfg = config.services.prometheus.exporters.blackbox;
checkConfig = file: pkgs.runCommand "checked-blackbox-exporter.conf" {
preferLocalBuild = true;
buildInputs = [ pkgs.buildPackages.prometheus-blackbox-exporter ]; } ''
ln -s ${file} $out
blackbox_exporter --config.check --config.file $out
'';
in
{
# This ensures that we can deal with string paths, path types and
# store-path strings with context.
coerceConfigFile = file:
if (builtins.isPath file) || (lib.isStorePath file) then
file
else
(lib.warn ''
${logPrefix}: configuration file "${file}" is being copied to the nix-store.
If you would like to avoid that, please set enableConfigCheck to false.
'' /. + file);
checkConfigLocation = file:
if lib.hasPrefix "/tmp/" file then
throw
"${logPrefix}: configuration file must not reside within /tmp - it won't be visible to the systemd service."
else
true;
checkConfig = file:
pkgs.runCommand "checked-blackbox-exporter.conf" {
preferLocalBuild = true;
buildInputs = [ pkgs.buildPackages.prometheus-blackbox-exporter ];
} ''
ln -s ${coerceConfigFile file} $out
blackbox_exporter --config.check --config.file $out
'';
in {
port = 9115;
extraOpts = {
configFile = mkOption {
@ -21,14 +39,29 @@ in
Path to configuration file.
'';
};
enableConfigCheck = mkOption {
type = types.bool;
default = true;
description = ''
Whether to run a correctness check for the configuration file. This depends
on the configuration file residing in the nix-store. Paths passed as string will
be copied to the store.
'';
};
};
serviceOpts = {
serviceOpts = let
adjustedConfigFile = if cfg.enableConfigCheck then
checkConfig cfg.configFile
else
checkConfigLocation cfg.configFile;
in {
serviceConfig = {
AmbientCapabilities = [ "CAP_NET_RAW" ]; # for ping probes
ExecStart = ''
${pkgs.prometheus-blackbox-exporter}/bin/blackbox_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
--config.file ${checkConfig cfg.configFile} \
--config.file ${adjustedConfigFile} \
${concatStringsSep " \\\n " cfg.extraFlags}
'';
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";

@ -0,0 +1,134 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.pppd;
in
{
meta = {
maintainers = with maintainers; [ danderson ];
};
options = {
services.pppd = {
enable = mkEnableOption "pppd";
package = mkOption {
default = pkgs.ppp;
defaultText = "pkgs.ppp";
type = types.package;
description = "pppd package to use.";
};
peers = mkOption {
default = {};
description = "pppd peers.";
type = types.attrsOf (types.submodule (
{ name, ... }:
{
options = {
name = mkOption {
type = types.str;
default = name;
example = "dialup";
description = "Name of the PPP peer.";
};
enable = mkOption {
type = types.bool;
default = true;
example = false;
description = "Whether to enable this PPP peer.";
};
autostart = mkOption {
type = types.bool;
default = true;
example = false;
description = "Whether the PPP session is automatically started at boot time.";
};
config = mkOption {
type = types.lines;
default = "";
description = "pppd configuration for this peer, see the pppd(8) man page.";
};
};
}));
};
};
};
config = let
enabledConfigs = filter (f: f.enable) (attrValues cfg.peers);
mkEtc = peerCfg: {
"ppp/peers/${peerCfg.name}".text = peerCfg.config;
};
mkSystemd = peerCfg: {
"pppd-${peerCfg.name}" = {
restartTriggers = [ config.environment.etc."ppp/peers/${peerCfg.name}".source ];
before = [ "network.target" ];
wants = [ "network.target" ];
after = [ "network-pre.target" ];
environment = {
# pppd likes to write directly into /var/run. This is rude
# on a modern system, so we use libredirect to transparently
# move those files into /run/pppd.
LD_PRELOAD = "${pkgs.libredirect}/lib/libredirect.so";
NIX_REDIRECTS = "/var/run=/run/pppd";
};
serviceConfig = {
ExecStart = "${getBin cfg.package}/sbin/pppd call ${peerCfg.name} nodetach nolog";
Restart = "always";
RestartSec = 5;
AmbientCapabilities = "CAP_SYS_TTY_CONFIG CAP_NET_ADMIN CAP_NET_RAW CAP_SYS_ADMIN";
CapabilityBoundingSet = "CAP_SYS_TTY_CONFIG CAP_NET_ADMIN CAP_NET_RAW CAP_SYS_ADMIN";
KeyringMode = "private";
LockPersonality = true;
MemoryDenyWriteExecute = true;
NoNewPrivileges = true;
PrivateMounts = true;
PrivateTmp = true;
ProtectControlGroups = true;
ProtectHome = true;
ProtectHostname = true;
ProtectKernelModules = true;
# pppd can be configured to tweak kernel settings.
ProtectKernelTunables = false;
ProtectSystem = "strict";
RemoveIPC = true;
RestrictAddressFamilies = "AF_PACKET AF_UNIX AF_PPPOX AF_ATMPVC AF_ATMSVC AF_INET AF_INET6 AF_IPX";
RestrictNamespaces = true;
RestrictRealtime = true;
RestrictSUIDSGID = true;
SecureBits = "no-setuid-fixup-locked noroot-locked";
SystemCallFilter = "@system-service";
SystemCallArchitectures = "native";
# All pppd instances on a system must share a runtime
# directory in order for PPP multilink to work correctly. So
# we give all instances the same /run/pppd directory to store
# things in.
#
# For the same reason, we can't set PrivateUsers=true, because
# all instances need to run as the same user to access the
# multilink database.
RuntimeDirectory = "pppd";
RuntimeDirectoryPreserve = true;
};
wantedBy = mkIf peerCfg.autostart [ "multi-user.target" ];
};
};
etcFiles = map mkEtc enabledConfigs;
systemdConfigs = map mkSystemd enabledConfigs;
in mkIf cfg.enable {
environment.etc = mkMerge etcFiles;
systemd.services = mkMerge systemdConfigs;
};
}

@ -227,6 +227,7 @@ in
postgresql = handleTest ./postgresql.nix {};
postgresql-wal-receiver = handleTest ./postgresql-wal-receiver.nix {};
powerdns = handleTest ./powerdns.nix {};
pppd = handleTest ./pppd.nix {};
predictable-interface-names = handleTest ./predictable-interface-names.nix {};
printing = handleTest ./printing.nix {};
prometheus = handleTest ./prometheus.nix {};

62
nixos/tests/pppd.nix Normal file

@ -0,0 +1,62 @@
import ./make-test.nix (
let
chap-secrets = {
text = ''"flynn" * "reindeerflotilla" *'';
mode = "0640";
};
in {
nodes = {
server = {config, pkgs, ...}: {
config = {
# Run a PPPoE access concentrator server. It will spawn an
# appropriate PPP server process when a PPPoE client sets up a
# PPPoE session.
systemd.services.pppoe-server = {
restartTriggers = [
config.environment.etc."ppp/pppoe-server-options".source
config.environment.etc."ppp/chap-secrets".source
];
after = ["network.target"];
serviceConfig = {
ExecStart = "${pkgs.rpPPPoE}/sbin/pppoe-server -F -O /etc/ppp/pppoe-server-options -q ${pkgs.ppp}/sbin/pppd -I eth1 -L 192.0.2.1 -R 192.0.2.2";
};
wantedBy = ["multi-user.target"];
};
environment.etc = {
"ppp/pppoe-server-options".text = ''
lcp-echo-interval 10
lcp-echo-failure 2
plugin rp-pppoe.so
require-chap
nobsdcomp
noccp
novj
'';
"ppp/chap-secrets" = chap-secrets;
};
};
};
client = {config, pkgs, ...}: {
services.pppd = {
enable = true;
peers.test = {
config = ''
plugin rp-pppoe.so eth1
name "flynn"
noipdefault
persist
noauth
debug
'';
};
};
environment.etc."ppp/chap-secrets" = chap-secrets;
};
};
testScript = ''
startAll;
$client->waitUntilSucceeds("ping -c1 -W1 192.0.2.1");
$server->waitUntilSucceeds("ping -c1 -W1 192.0.2.2");
'';
})

@ -60,8 +60,9 @@ in
--prefix PATH : "${neovim}/bin"
# link .desktop file
mkdir -p "$out/share"
mkdir -p "$out/share/pixmaps"
ln -s '${unwrapped}/share/applications' "$out/share/applications"
ln -s '${unwrapped}/share/pixmaps/nvim-qt.png' "$out/share/pixmaps/nvim-qt.png"
'';
preferLocalBuild = true;

@ -75,8 +75,9 @@ let
${optionalString withRuby '' --set GEM_HOME ${rubyEnv}/${rubyEnv.ruby.gemPath}'' }
''
+ optionalString (!stdenv.isDarwin) ''
# copy and patch the original neovim.desktop file
mkdir -p $out/share/applications
# copy icon and patch the original neovim.desktop file
mkdir -p $out/share/{applications,pixmaps}
ln -s ${neovim}/share/pixmaps/nvim.png $out/share/pixmaps/nvim.png
substitute ${neovim}/share/applications/nvim.desktop $out/share/applications/nvim.desktop \
--replace 'TryExec=nvim' "TryExec=$out/bin/nvim" \
--replace 'Name=Neovim' 'Name=WrappedNeovim'

@ -57,6 +57,9 @@ stdenv.mkDerivation {
substituteInPlace $out/lib/libsane.la \
--replace "-ljpeg" "-L${libjpeg.out}/lib -ljpeg"
# net.conf conflicts with the file generated by the nixos module
rm -f $out/etc/sane.d/net.conf
'' + stdenv.lib.concatStrings (builtins.map installFirmware compatFirmware);
meta = with stdenv.lib; {

@ -1,40 +1,37 @@
{ stdenv, fetchFromGitHub
, makeWrapper, which
, taskwarrior, ncurses, perlPackages }:
{ lib
, python3Packages
, taskwarrior }:
stdenv.mkDerivation rec {
with python3Packages;
buildPythonApplication rec {
pname = "vit";
version = "1.3";
version = "2.0.0";
disabled = lib.versionOlder python.version "3.6";
src = fetchFromGitHub {
owner = "scottkosty";
repo = pname;
rev = "v${version}";
sha256 = "0a34rh5w8393wf7jwwr0f74rp1zv2vz606z5j8sr7w19k352ijip";
src = fetchPypi {
inherit pname version;
sha256 = "5282d8076d9814d9248071aec8784cffbd968601542533ccb28ca61d1d08205e";
};
preConfigure = ''
substituteInPlace Makefile.in \
--replace sudo ""
substituteInPlace configure \
--replace /usr/bin/perl ${perlPackages.perl}/bin/perl
substituteInPlace cmdline.pl \
--replace "view " "vim -R "
propagatedBuildInputs = [
pytz
tasklib
tzlocal
urwid
];
makeWrapperArgs = [ "--suffix" "PATH" ":" "${taskwarrior}/bin" ];
preCheck = ''
export TERM=''${TERM-linux}
'';
postInstall = ''
wrapProgram $out/bin/vit --prefix PERL5LIB : $PERL5LIB
'';
nativeBuildInputs = [ makeWrapper which ];
buildInputs = [ taskwarrior ncurses ]
++ (with perlPackages; [ perl Curses TryTiny TextCharWidth ]);
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/scottkosty/vit;
description = "Visual Interactive Taskwarrior";
maintainers = with maintainers; [ dtzWill ];
maintainers = with maintainers; [ dtzWill arcnmx ];
platforms = platforms.all;
license = licenses.gpl3;
license = licenses.mit;
};
}

@ -19,13 +19,13 @@
stdenv.mkDerivation rec {
pname = "ephemeral";
version = "5.4.0";
version = "6.0.0";
src = fetchFromGitHub {
owner = "cassidyjames";
repo = "ephemeral";
rev = version;
sha256 = "1bl5x79nvzq49azcghc2sx9l709524zixh7py8ddccfnhrq641w8";
sha256 = "0g9rrx41grmgf4nn2pp17yhjxxayk826gs6nmkfdnimd4gmlf3nk";
};
nativeBuildInputs = [

@ -18,13 +18,13 @@
mkDerivation rec {
pname = "nextcloud-client";
version = "2.5.3";
version = "2.6.0";
src = fetchFromGitHub {
owner = "nextcloud";
repo = "desktop";
rev = "v${version}";
sha256 = "1pzlq507fasf2ljf37gkw00qrig4w2r712rsy05zfwlncgcn7fnw";
sha256 = "1cggk8yfy6lak48nfh691ad5y3bap49cfa2krp7vak108krgvkxi";
};
patches = [

@ -51,7 +51,7 @@ in stdenv.mkDerivation rec {
mkdir -p $out/bin $out/share/{applications,doc/anydesk,icons/hicolor}
install -m755 anydesk $out/bin/anydesk
cp copyright README $out/share/doc/anydesk
cp -r icons/* $out/share/icons/hicolor/
cp -r icons/hicolor/* $out/share/icons/hicolor/
cp ${desktopItem}/share/applications/*.desktop $out/share/applications
runHook postInstall

@ -2,13 +2,13 @@
callPackage ./generic.nix (args // rec {
pname = "freeoffice";
version = "970";
version = "971";
edition = "2018";
suiteName = "FreeOffice";
src = fetchurl {
url = "https://www.softmaker.net/down/softmaker-freeoffice-${version}-amd64.tgz";
sha256 = "1maibr4x8mksb32ixvyy2rjn4x9f51191p5fcdj5qwz32pf8h2dr";
sha256 = "1h36pjbpbiy4cw383cbrwh1jx2kp1ay29734zailmhifz53gj44f";
};
archive = "freeoffice${edition}.tar.lzma";

@ -4,13 +4,13 @@
let
pname = "gnome-calendar";
version = "3.34.1";
version = "3.34.2";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1qlh7vx5v4mys3rhpaczngpg0zp8apachnz2j9h3ab7ywcippm7y";
sha256 = "1bnmd191044zn2kr6f5vg7sm5q59qf7z652awll1f7s6ahijr8rw";
};
passthru = {

@ -5,14 +5,14 @@
, gnome3, libxml2, gsettings-desktop-schemas, tracker }:
let
version = "3.34.0";
version = "3.34.1";
in stdenv.mkDerivation {
pname = "gnome-notes";
inherit version;
src = fetchurl {
url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz";
sha256 = "0wrnsspcg4s0vdfc23cc84xy02k3b19yim9s4k0vv23b69n37n1l";
sha256 = "0yf2scjnn2qi40g4iqg11qc4bnspd3qcnvg5b11ign5fa3qcihzv";
};
doCheck = true;

@ -4,13 +4,13 @@
let
pname = "gnome-screenshot";
version = "3.33.90";
version = "3.34.0";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0bki99lkp20jvp1yjymy8y56k378vivpvqvfwfx9dwl8r3qal7i2";
sha256 = "1rmiq890j7gfn5mcz31xy6jfnnxgc17dq67bhn2k9m5ylbvza2n8";
};
doCheck = true;

@ -41,11 +41,11 @@
stdenv.mkDerivation rec {
pname = "gnome-settings-daemon";
version = "3.34.0";
version = "3.34.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-settings-daemon/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0dvkq6pwrvqsm30wa965q0wf15v7nmnv6xfb9sli2sc62yc9gr3w";
sha256 = "07y1gbicz0pbxmdgwrdzyc4byy30wfwpbqgvnx27gnpqmc5s50cr";
};
patches = [

@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
pname = "gnome-shell-extensions";
version = "3.34.0";
version = "3.34.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-shell-extensions/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1ayb48l2p3lji7b226027293jfclgcjmdb5dd6xfn67rhxm8zgzm";
sha256 = "0ny7mk82kpfac977j02860c75d7zn05gvy0h9bphvx0v7ca53bdh";
};
passthru = {

@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "gnome-terminal";
version = "3.34.1";
version = "3.34.2";
src = fetchurl {
url = "mirror://gnome/sources/gnome-terminal/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "06fqgyfzjqj5k3cr9ig6xa85ml7ifgwfj4gi9z5f0pyc62lwvzlg";
sha256 = "0gc004f9b5k94gkdanmqjz3wqgnpny0l3nqm8zd19h4f0ps27mrv";
};
buildInputs = [

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "gnome-shell-gsconnect";
version = "26";
version = "27";
src = fetchFromGitHub {
owner = "andyholmes";
repo = "gnome-shell-extension-gsconnect";
rev = "v${version}";
sha256 = "01p8b3blsnxi2i89nddkm51wbbw5irwii2qlvlrzfh8hhh37my0a";
sha256 = "0bpg7hl81wir3c15ri8kbvr6xhalpkfmcyazwmmwyj5lxpn40ykk";
};
patches = [
@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
(substituteAll {
src = ./fix-paths.patch;
gapplication = "${glib.bin}/bin/gapplication";
mutter_gsettings_path = glib.getSchemaPath gnome3.mutter;
})
];

@ -29,32 +29,3 @@
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const Gtk = imports.gi.Gtk;
--- a/src/preferences/service.js
+++ b/src/preferences/service.js
@@ -435,9 +435,9 @@ var Window = GObject.registerClass({
_restoreGeometry() {
if (this._mutterSettings === undefined) {
- this._mutterSettings = new Gio.Settings({
- schema_id: 'org.gnome.mutter'
- });
+ const _schema_source = Gio.SettingsSchemaSource.new_from_directory('@mutter_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true);
+ const _schema = _schema_source.lookup('org.gnome.mutter', false);
+ this._mutterSettings = new Gio.Settings({settings_schema: _schema});
}
// Restore geometry, even if we're going to maximize
--- a/src/service/ui/messaging.js
+++ b/src/service/ui/messaging.js
@@ -891,9 +891,9 @@ var Window = GObject.registerClass({
*/
_restoreGeometry() {
if (this._mutterSettings === undefined) {
- this._mutterSettings = new Gio.Settings({
- schema_id: 'org.gnome.mutter'
- });
+ const _schema_source = Gio.SettingsSchemaSource.new_from_directory('@mutter_gsettings_path@', Gio.SettingsSchemaSource.get_default(), true);
+ const _schema = _schema_source.lookup('org.gnome.mutter', false);
+ this._mutterSettings = new Gio.Settings({settings_schema: _schema});
}

@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
pname = "gnome-sudoku";
version = "3.34.0";
version = "3.34.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-sudoku/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1bwy9w4jkdlsc6iz7lwy0nm4vqa11kgcw24qf4w2g0qyldcvhc3y";
sha256 = "025y85r4qqardivvwiwhbmgarziykdy224m8zlrq8b79zv82793b";
};
nativeBuildInputs = [ meson ninja vala pkgconfig gobject-introspection gettext itstool libxml2 python3 desktop-file-utils wrapGAppsHook ];

@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
pname = "iagno";
version = "3.34.1";
version = "3.34.2";
src = fetchurl {
url = "mirror://gnome/sources/iagno/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1y9sknc5k2vfhbv8bhbid4zwwzqj8g5m1jz0k5bfkixaa1kxvp35";
sha256 = "0r31k6b8mqgn5c55hi94gpdr776ykq7ww55vq6pmp5irhdwb3gn9";
};
nativeBuildInputs = [

@ -26,14 +26,14 @@
let
pname = "gnome-flashback";
version = "3.34.0";
version = "3.34.1";
requiredComponents = wmName: "RequiredComponents=${wmName};gnome-flashback;gnome-panel;org.gnome.SettingsDaemon.A11ySettings;org.gnome.SettingsDaemon.Color;org.gnome.SettingsDaemon.Datetime;org.gnome.SettingsDaemon.Housekeeping;org.gnome.SettingsDaemon.Keyboard;org.gnome.SettingsDaemon.MediaKeys;org.gnome.SettingsDaemon.Power;org.gnome.SettingsDaemon.PrintNotifications;org.gnome.SettingsDaemon.Rfkill;org.gnome.SettingsDaemon.ScreensaverProxy;org.gnome.SettingsDaemon.Sharing;org.gnome.SettingsDaemon.Smartcard;org.gnome.SettingsDaemon.Sound;org.gnome.SettingsDaemon.Wacom;org.gnome.SettingsDaemon.XSettings;";
gnome-flashback = stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1ryr28psrjr3kp0in99a12y4vy6kvi2mvhp174dli2a56ds16mgj";
sha256 = "0xxw5w66gx04amyxhf4xbz0s4bf0rdp7y9nyrf6bb4xdc6b0rfnx";
};
# make .desktop Execs absolute

@ -22,14 +22,14 @@
}:
stdenv.mkDerivation rec {
pname = "gnome-shell-pomodoro-unstable";
version = "2019-09-15";
pname = "gnome-shell-pomodoro";
version = "0.16.0";
src = fetchFromGitHub {
owner = "codito";
repo = "gnome-pomodoro";
rev = "cb1ad32587c209d3322cd1bbc139efa624a4436f";
sha256 = "1zp3z043zzkkn2305s55hnpf9bdzirlzljpzswfh1fj6j4dqlb9k";
rev = version;
sha256 = "1bjsjkbms9irn7nkzi0hmgr5vwcgh9xzr5vw4sk2n711wj5d96bi";
};
nativeBuildInputs = [

@ -589,9 +589,23 @@ self: super: {
sets = dontCheck super.sets;
# Install icons, metadata and cli program.
bustle = overrideCabal super.bustle (drv: {
# Do not build hgettext as it is broken
# https://gitlab.freedesktop.org/bustle/bustle/issues/13
bustle = overrideCabal (disableCabalFlag (super.bustle.override { hgettext = null; }) "hgettext") (drv: {
buildDepends = [ pkgs.libpcap ];
buildTools = with pkgs.buildPackages; [ gettext perl help2man ];
patches = [
# fix build
# https://gitlab.freedesktop.org/bustle/bustle/merge_requests/14
(pkgs.fetchpatch {
url = "https://gitlab.freedesktop.org/bustle/bustle/commit/ee4b81cbc232d47ba9940f1987777b17452e71ff.patch";
sha256 = "0v9cvbmrma5jcqcg1narpm1549h0cg8mr6i00qxmq0x6hs04dnwa";
})
(pkgs.fetchpatch {
url = "https://gitlab.freedesktop.org/bustle/bustle/commit/aae6843f51f54679d440fb3813e61355dc8406b9.patch";
sha256 = "1a8hr38hd1gdkqhsy56hyl7njw8ci79iigr81aalkb7hn4ckvh2a";
})
];
postInstall = ''
make install PREFIX=$out
'';

@ -15,9 +15,18 @@ assert postgresSupport -> postgresql != null;
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "16vxv2qvysh22s8h9h6irx96sacagxkz0i4qgi1wc6ibly6fvjjr";
};
configureFlags = with stdenv.lib; [ "--enable-gi-system-install=no" ]
++ (optional (mysqlSupport) "--with-mysql=yes")
++ (optional (postgresSupport) "--with-postgres=yes");
configureFlags = with stdenv.lib; [
"--enable-gi-system-install=no"
"--with-mysql=${if mysqlSupport then "yes" else "no"}"
"--with-postgres=${if postgresSupport then "yes" else "no"}"
# macOS builds use the sqlite source code that comes with libgda,
# as opposed to using the system or brewed sqlite3, which is not supported on macOS,
# as mentioned in https://github.com/GNOME/libgda/blob/95eeca4b0470f347c645a27f714c62aa6e59f820/libgda/sqlite/README#L31,
# which references the paper https://web.archive.org/web/20100610151539/http://lattice.umiacs.umd.edu/files/functions_tr.pdf
# See also https://github.com/Homebrew/homebrew-core/blob/104f9ecd02854a82372b64d63d41356555378a52/Formula/libgda.rb
"--enable-system-sqlite=${if stdenv.isDarwin then "no" else "yes"}"
];
enableParallelBuilding = true;
@ -39,6 +48,6 @@ assert postgresSupport -> postgresql != null;
homepage = https://www.gnome-db.org/;
license = [ licenses.lgpl2 licenses.gpl2 ];
maintainers = gnome3.maintainers;
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.darwin;
};
}

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "libgweather";
version = "3.33.92";
version = "3.34.0";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1w9y79lrl0ablbxr3zpgkgad1296z3nxh1573icx26fwaklyakkz";
sha256 = "1fgiqswkhiaijanml3mb16ajn5aanrk7x6yiwagp9n9rssam6902";
};
nativeBuildInputs = [ meson ninja pkgconfig gettext vala gtk-doc docbook_xsl docbook_xml_dtd_43 gobject-introspection python3 ];

@ -4,54 +4,14 @@
stdenv.mkDerivation rec {
pname = "liburing";
version = "0.1";
version = "0.2pre246_${builtins.substring 0 8 src.rev}";
src = fetchgit {
url = "http://git.kernel.dk/liburing";
rev = "refs/tags/liburing-${version}";
sha256 = "038iqsbm9bdmlwvmb899bc6g1rw5dalr990azynbvgn8qs5adysh";
rev = "08bd815170ab4352d71019f4d3e532cd3f6f0489";
sha256 = "1wqraxj9mzph3wgfq4ld4bxa8ya2db65cwzyh9fmhvhhlsivi6wr";
};
patches = [
# This patch re-introduces support for aarch64-linux, by adding the
# necessary memory barrier primitives for it to work.
#
# Already upstream: remove when moving to the next version
(fetchpatch {
url = "http://git.kernel.dk/cgit/liburing/patch/?id=0520db454c29f1d96cda6cf6cedeb93df65301e8";
sha256 = "1i8133sb1imzxpplmhlhnaxkffgplhj40vanivc6clbibvhgwpq6";
})
# This patch shuffles the name of the io_uring memory barrier primitives.
# They were using extremely common names by accident, which caused
# namespace conflicts with many other projects using the same names. Note:
# this does not change the user-visible API of liburing (liburing is
# designed exactly to hide the necessary memory barriers when using the
# io_uring syscall directly). It only changes the names of some internals.
# The only reason this caused problems at all is because memory barrier
# primitives are written as preprocessor defines, in a common header file,
# which get included unilaterally.
#
# Already upstream: remove when moving to the next version
(fetchpatch {
url = "http://git.kernel.dk/cgit/liburing/patch/?id=552c6a08d04c74d20eeaa86f535bfd553b352370";
sha256 = "123d6jdqfy7b8aq9f6ax767n48hhbx6pln3nlrp623595i8zz3wf";
})
# Finally, this patch fixes the aarch64-linux support introduced by the
# first patch, but which was _broken_ by the second patch, in a horrid
# twist of fate: it neglected to change the names of the aarch64 barriers
# appropriately.
#
# Already upstream: remove when moving to the next version
(fetchpatch {
url = "http://git.kernel.dk/cgit/liburing/patch/?id=6e9dd0c8c50b5988a0c77532c9c2bd6afd4790d2";
sha256 = "11mqa1bp2pdfqh08gpcd98kg7lh3rrng41b4l1wvhxdbvg5rfw9c";
})
];
separateDebugInfo = true;
enableParallelBuilding = true;
@ -70,6 +30,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
cp ./examples/io_uring-cp examples/io_uring-test $out/bin
cp ./examples/link-cp $out/bin/io_uring-link-cp
cp ./examples/ucontext-cp $out/bin/io_uring-ucontext-cp
'';
meta = with stdenv.lib; {

@ -53,7 +53,7 @@ let
shortArch = {
x86_64-linux = "linux";
x86_64-darwin = "macos";
x86_64-darwin = "mac";
}.${stdenv.hostPlatform.system} or throwSystem;
# calculate the filename of a single zip file

@ -45,11 +45,11 @@
stdenv.mkDerivation rec {
pname = "tracker-miners";
version = "2.3.0";
version = "2.3.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1ky7hd0vms1z40a0y9wq9pg3l7gxh4p6a0ngmnjqh8p23qfxdrxd";
sha256 = "1q4hlpl3nkr0y13rzkwryyajnpy5s661z8n82dw1rskrg9mf07bv";
};
nativeBuildInputs = [

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "tracker";
version = "2.3.0";
version = "2.3.1";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0yxzqvjm3ij28p6g8jc4pd90yhhslmykcvi1cnyb069lm16m611c";
sha256 = "1888vyz2l5n46ywb70fryd0qipyh3x5n6q0mk56jzbb5whk8fx5n";
};
nativeBuildInputs = [

@ -20,13 +20,13 @@
stdenv.mkDerivation rec {
pname = "vte";
version = "0.58.1";
version = "0.58.2";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1njq88a8956xpmakkd1ph992jmpaimk8zjlh5ywh5psr33x8mi94";
sha256 = "1h1bljr090cgnzim00q4pnsmjqblzn1sig3d87wv1hzjn796dj9k";
};
passthru = {

@ -10,8 +10,6 @@
, "@webassemblyjs/wast-refmt"
, "alloy"
, "asar"
, "azure-cli"
, "azure-functions-core-tools"
, "bash-language-server"
, "bower"
, "bower2nix"

@ -5890,366 +5890,6 @@ let
sha1 = "2d8e3e5d0bdbd7327f91bc814f5c57660f81824d";
};
};
"azure-arm-authorization-2.0.0" = {
name = "azure-arm-authorization";
packageName = "azure-arm-authorization";
version = "2.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-authorization/-/azure-arm-authorization-2.0.0.tgz";
sha1 = "56b558ba43b9cb5657662251dabe3cb34c16c56f";
};
};
"azure-arm-batch-3.2.0" = {
name = "azure-arm-batch";
packageName = "azure-arm-batch";
version = "3.2.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-batch/-/azure-arm-batch-3.2.0.tgz";
sha512 = "DDfgAiRruGAiL8Yot5nufG3O8GLA0r5lf1CGYhuF8pEzQ+vYfhLpgJzme7LPh3ASPb8UBSVYHm1IK4W4StvVnw==";
};
};
"azure-arm-cdn-4.2.0" = {
name = "azure-arm-cdn";
packageName = "azure-arm-cdn";
version = "4.2.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-cdn/-/azure-arm-cdn-4.2.0.tgz";
sha512 = "DkpLntvqHtCLbf7p/qqLS0eJluZtsb8gU65deJYiMz4OFQco+InP9giCVnY8gElW3QbMaqKyHOJCDK7NllKMoA==";
};
};
"azure-arm-commerce-2.1.0" = {
name = "azure-arm-commerce";
packageName = "azure-arm-commerce";
version = "2.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-commerce/-/azure-arm-commerce-2.1.0.tgz";
sha512 = "zhZ9b1Comp1Owa8/Pn7ORTL0l+uX9elz5A5yOoL/XdYXC8S6bN2QaiRLPmue9ZB55qGE1Tn7Cf+KRlpskL17hQ==";
};
};
"azure-arm-compute-3.0.0-preview" = {
name = "azure-arm-compute";
packageName = "azure-arm-compute";
version = "3.0.0-preview";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-compute/-/azure-arm-compute-3.0.0-preview.tgz";
sha1 = "f5f07792afcdff29ce0b7e16705342b6986f571b";
};
};
"azure-arm-datalake-analytics-1.0.2-preview" = {
name = "azure-arm-datalake-analytics";
packageName = "azure-arm-datalake-analytics";
version = "1.0.2-preview";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-datalake-analytics/-/azure-arm-datalake-analytics-1.0.2-preview.tgz";
sha1 = "b34f868e98a972ec80e4408d209dc06c000dfb63";
};
};
"azure-arm-datalake-store-1.0.2-preview" = {
name = "azure-arm-datalake-store";
packageName = "azure-arm-datalake-store";
version = "1.0.2-preview";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-datalake-store/-/azure-arm-datalake-store-1.0.2-preview.tgz";
sha1 = "c8b7c113016c92703a84dc28d29ba518e8c64763";
};
};
"azure-arm-devtestlabs-2.1.1" = {
name = "azure-arm-devtestlabs";
packageName = "azure-arm-devtestlabs";
version = "2.1.1";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-devtestlabs/-/azure-arm-devtestlabs-2.1.1.tgz";
sha512 = "S5dCYTMrqL+BJc699fIQtXwLFuv5m8jTDqPdXTFpn/CSkyBcOyJwuZH2zPExQjGNZTyjIR6GWi8oeg/IpYLBWw==";
};
};
"azure-arm-dns-2.1.0" = {
name = "azure-arm-dns";
packageName = "azure-arm-dns";
version = "2.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-dns/-/azure-arm-dns-2.1.0.tgz";
sha512 = "/y0tOM9qNijPYqB381JFYiEyfF+L5B8z+F8JS1OMV1JXIb45vZKXeoe82ZNMZ5g38Vme3uAblxpvp5OtIcvW6Q==";
};
};
"azure-arm-hdinsight-0.2.2" = {
name = "azure-arm-hdinsight";
packageName = "azure-arm-hdinsight";
version = "0.2.2";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-hdinsight/-/azure-arm-hdinsight-0.2.2.tgz";
sha1 = "3daeade6d26f6b115d8598320541ad2dcaa9516d";
};
};
"azure-arm-hdinsight-jobs-0.1.0" = {
name = "azure-arm-hdinsight-jobs";
packageName = "azure-arm-hdinsight-jobs";
version = "0.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-hdinsight-jobs/-/azure-arm-hdinsight-jobs-0.1.0.tgz";
sha1 = "252938f18d4341adf9942261656e791490c3c220";
};
};
"azure-arm-insights-0.11.3" = {
name = "azure-arm-insights";
packageName = "azure-arm-insights";
version = "0.11.3";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-insights/-/azure-arm-insights-0.11.3.tgz";
sha1 = "4e38f8d72cd532e8ad3982d26f43f73f8fb2149f";
};
};
"azure-arm-iothub-1.0.1-preview" = {
name = "azure-arm-iothub";
packageName = "azure-arm-iothub";
version = "1.0.1-preview";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-iothub/-/azure-arm-iothub-1.0.1-preview.tgz";
sha1 = "f63a6dad0355633d9347fb403f417fb195fe3b91";
};
};
"azure-arm-network-5.3.0" = {
name = "azure-arm-network";
packageName = "azure-arm-network";
version = "5.3.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-network/-/azure-arm-network-5.3.0.tgz";
sha512 = "juitxBWofPBZ+kcmLB8OjW5qPD6+/Ncdq86WjDTIUcH+cyb/GWktdDymv6adbOyz4xZ9/wbThFL7AHgq8cHBig==";
};
};
"azure-arm-powerbiembedded-0.1.1" = {
name = "azure-arm-powerbiembedded";
packageName = "azure-arm-powerbiembedded";
version = "0.1.1";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-powerbiembedded/-/azure-arm-powerbiembedded-0.1.1.tgz";
sha1 = "7103c94e06b3ddf628293f60e02fd0ba8f9c3ca9";
};
};
"azure-arm-rediscache-0.2.3" = {
name = "azure-arm-rediscache";
packageName = "azure-arm-rediscache";
version = "0.2.3";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-rediscache/-/azure-arm-rediscache-0.2.3.tgz";
sha1 = "b6898abe8b4c3e1b2ec5be82689ef212bc2b1a06";
};
};
"azure-arm-resource-1.6.1-preview" = {
name = "azure-arm-resource";
packageName = "azure-arm-resource";
version = "1.6.1-preview";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-resource/-/azure-arm-resource-1.6.1-preview.tgz";
sha1 = "aa9a49fb9081a210f2f4cc6596ca4653b68306e6";
};
};
"azure-arm-resource-7.3.0" = {
name = "azure-arm-resource";
packageName = "azure-arm-resource";
version = "7.3.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-resource/-/azure-arm-resource-7.3.0.tgz";
sha512 = "2K+ps1Iwa4PBQFwdCn1X8kAVIRLH5M7nlNZtfOWaYd7DXJ131qJpwW8ul6gKZgG7DAI3PBodrGsHFvPdgA+AzQ==";
};
};
"azure-arm-servermanagement-1.1.0" = {
name = "azure-arm-servermanagement";
packageName = "azure-arm-servermanagement";
version = "1.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-servermanagement/-/azure-arm-servermanagement-1.1.0.tgz";
sha512 = "GlPXPD5Up2U6Qxv40ScC/+7WRcVVYQf7EHUSomD385o/MuyJAjM6CxBS8fPKwkZR5MRSd60p6kBo5AQ+bwfpeA==";
};
};
"azure-arm-storage-5.2.0" = {
name = "azure-arm-storage";
packageName = "azure-arm-storage";
version = "5.2.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-storage/-/azure-arm-storage-5.2.0.tgz";
sha512 = "BVFUPi48eJNJFP4ryQ3BwNRlKRNuAA7cZeSxCvr6dGEP+wrd1Ixmb2MlvoMRjgjcEOVnhP4t2YQyHcHNqQsH9A==";
};
};
"azure-arm-trafficmanager-1.1.0-preview" = {
name = "azure-arm-trafficmanager";
packageName = "azure-arm-trafficmanager";
version = "1.1.0-preview";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-trafficmanager/-/azure-arm-trafficmanager-1.1.0-preview.tgz";
sha1 = "b46cfcf7f1690e4739864dcdb5c8de322e82ec50";
};
};
"azure-arm-website-5.7.0" = {
name = "azure-arm-website";
packageName = "azure-arm-website";
version = "5.7.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-arm-website/-/azure-arm-website-5.7.0.tgz";
sha512 = "GnwqaelTIhv40YI3Ch8+Q272X6XXWTq99Y1aYWZb1cejSP4gjrWWeppwor4HtjlVU9i9YIvYO91TRjQt8FrHVA==";
};
};
"azure-asm-compute-0.18.0" = {
name = "azure-asm-compute";
packageName = "azure-asm-compute";
version = "0.18.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-compute/-/azure-asm-compute-0.18.0.tgz";
sha1 = "109c31e17c697f4a00a01533fb230bf3ae448685";
};
};
"azure-asm-hdinsight-0.10.2" = {
name = "azure-asm-hdinsight";
packageName = "azure-asm-hdinsight";
version = "0.10.2";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-hdinsight/-/azure-asm-hdinsight-0.10.2.tgz";
sha1 = "2d11cdaaa073fc38f31c718991d5923fb7259fa0";
};
};
"azure-asm-mgmt-0.10.1" = {
name = "azure-asm-mgmt";
packageName = "azure-asm-mgmt";
version = "0.10.1";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-mgmt/-/azure-asm-mgmt-0.10.1.tgz";
sha1 = "d0a44b47ccabf338b19d53271675733cfa2d1751";
};
};
"azure-asm-network-0.13.0" = {
name = "azure-asm-network";
packageName = "azure-asm-network";
version = "0.13.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-network/-/azure-asm-network-0.13.0.tgz";
sha1 = "8d5d46b66b16c36dfc067f7c7c87bd2f42049c54";
};
};
"azure-asm-sb-0.10.1" = {
name = "azure-asm-sb";
packageName = "azure-asm-sb";
version = "0.10.1";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-sb/-/azure-asm-sb-0.10.1.tgz";
sha1 = "92487b24166041119714f66760ec1f36e8dc7222";
};
};
"azure-asm-sql-0.10.1" = {
name = "azure-asm-sql";
packageName = "azure-asm-sql";
version = "0.10.1";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-sql/-/azure-asm-sql-0.10.1.tgz";
sha1 = "47728df19a6d4f1cc935235c69fa9cf048cc8f42";
};
};
"azure-asm-storage-0.12.0" = {
name = "azure-asm-storage";
packageName = "azure-asm-storage";
version = "0.12.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-storage/-/azure-asm-storage-0.12.0.tgz";
sha1 = "f5edf48d41d18a80eb14af6a72c1d6924214fdd3";
};
};
"azure-asm-subscription-0.10.1" = {
name = "azure-asm-subscription";
packageName = "azure-asm-subscription";
version = "0.10.1";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-subscription/-/azure-asm-subscription-0.10.1.tgz";
sha1 = "917a5e87a04b69c0f5c29339fe910bb5e5e7a04c";
};
};
"azure-asm-trafficmanager-0.10.3" = {
name = "azure-asm-trafficmanager";
packageName = "azure-asm-trafficmanager";
version = "0.10.3";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-trafficmanager/-/azure-asm-trafficmanager-0.10.3.tgz";
sha1 = "91e2e63d73869090613cd42ee38a3823e55f4447";
};
};
"azure-asm-website-0.10.7" = {
name = "azure-asm-website";
packageName = "azure-asm-website";
version = "0.10.7";
src = fetchurl {
url = "https://registry.npmjs.org/azure-asm-website/-/azure-asm-website-0.10.7.tgz";
sha512 = "h3OmXKKOLd4sbf4khrxqGTjspjqpKduKN9EWgEoIeNhMY+PVKrVEIMr3ZyKzmmy/8123MD+ip67wMqUKSTLtUA==";
};
};
"azure-batch-3.2.2" = {
name = "azure-batch";
packageName = "azure-batch";
version = "3.2.2";
src = fetchurl {
url = "https://registry.npmjs.org/azure-batch/-/azure-batch-3.2.2.tgz";
sha512 = "IM5nUITXMgTFTF4avRxsz/oLcMXLSZEzpukulRRpO1emXBI4EgSIr0++hUo+AZ94MINE2C4DXgCDiQ9P0suYXw==";
};
};
"azure-common-0.9.22" = {
name = "azure-common";
packageName = "azure-common";
version = "0.9.22";
src = fetchurl {
url = "https://registry.npmjs.org/azure-common/-/azure-common-0.9.22.tgz";
sha512 = "0r9tK9D+1xl2/VPVtfmGmtkMqfooiBLS87fX+Ab0hOCPVVe/6CgVC4in0wSf2Ta8r65DbvxV5P4/t8fp8Q3EsQ==";
};
};
"azure-gallery-2.0.0-pre.18" = {
name = "azure-gallery";
packageName = "azure-gallery";
version = "2.0.0-pre.18";
src = fetchurl {
url = "https://registry.npmjs.org/azure-gallery/-/azure-gallery-2.0.0-pre.18.tgz";
sha1 = "3cd4c5e4e0091551d6a5ee757af2354c8a36b3e6";
};
};
"azure-graph-2.2.0" = {
name = "azure-graph";
packageName = "azure-graph";
version = "2.2.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-graph/-/azure-graph-2.2.0.tgz";
sha512 = "ab0LlM5Q3pcKm+V6F6yx2ShzGOTYMcmJvLdL3PQsC9hF+hrYsBdkTCdNZdlPBgrSB8jp5vzhmK83qHGRs14hHw==";
};
};
"azure-keyvault-3.0.5" = {
name = "azure-keyvault";
packageName = "azure-keyvault";
version = "3.0.5";
src = fetchurl {
url = "https://registry.npmjs.org/azure-keyvault/-/azure-keyvault-3.0.5.tgz";
sha512 = "59fzKRq9dnzv03lEuImvgXc3QjRJoSJtK0gv1WXoqCivBuPdFNK+x6hAjoEDS2WEOXG+7m3uiJWqpMh/8NW3ow==";
};
};
"azure-monitoring-0.10.6" = {
name = "azure-monitoring";
packageName = "azure-monitoring";
version = "0.10.6";
src = fetchurl {
url = "https://registry.npmjs.org/azure-monitoring/-/azure-monitoring-0.10.6.tgz";
sha512 = "6HNA8VuC5qYvQMjcQt2/zlB7oyAJ7n6KGIYGstS6KS9Orux0peqxlrGPDeQRa4jDNq6ili83KiGc7RhWcgsE4Q==";
};
};
"azure-servicefabric-2.2.0" = {
name = "azure-servicefabric";
packageName = "azure-servicefabric";
version = "2.2.0";
src = fetchurl {
url = "https://registry.npmjs.org/azure-servicefabric/-/azure-servicefabric-2.2.0.tgz";
sha512 = "b+rxF8esa1Cm+bnJLs6a+hO/7U9QwvQzg0bSR1rKP9NTKjZji3GxdndcPVkHqFv28QiLo9ifyR/FaJMA0cDcTw==";
};
};
"azure-storage-2.10.3" = {
name = "azure-storage";
packageName = "azure-storage";
version = "2.10.3";
src = fetchurl {
url = "https://registry.npmjs.org/azure-storage/-/azure-storage-2.10.3.tgz";
sha512 = "IGLs5Xj6kO8Ii90KerQrrwuJKexLgSwYC4oLWmc11mzKe7Jt2E5IVg+ZQ8K53YWZACtVTMBNO3iGuA+4ipjJxQ==";
};
};
"babel-code-frame-6.26.0" = {
name = "babel-code-frame";
packageName = "babel-code-frame";
@ -26838,24 +26478,6 @@ let
sha512 = "p0CnzrTzEkS8UTEwgCqT2O5YVK9E8KGBBlJVm3hFtMZvf0dmncKYXWFPyUa4PAsfBL7h4jfu39tOIFTu6exntg==";
};
};
"ms-rest-azure-1.15.7" = {
name = "ms-rest-azure";
packageName = "ms-rest-azure";
version = "1.15.7";
src = fetchurl {
url = "https://registry.npmjs.org/ms-rest-azure/-/ms-rest-azure-1.15.7.tgz";
sha1 = "8bce09f053b1565dbaa8bd022ca40155c35b0fde";
};
};
"ms-rest-azure-2.6.0" = {
name = "ms-rest-azure";
packageName = "ms-rest-azure";
version = "2.6.0";
src = fetchurl {
url = "https://registry.npmjs.org/ms-rest-azure/-/ms-rest-azure-2.6.0.tgz";
sha512 = "J6386a9krZ4VtU7CRt+Ypgo9RGf8+d3gjMBkH7zbkM4zzkhbbMOYiPRaZ+bHZcfihkKLlktTgA6rjshTjF329A==";
};
};
"msgpack-lite-0.1.26" = {
name = "msgpack-lite";
packageName = "msgpack-lite";
@ -47304,506 +46926,6 @@ in
bypassCache = true;
reconstructLock = true;
};
azure-cli = nodeEnv.buildNodePackage {
name = "azure-cli";
packageName = "azure-cli";
version = "0.10.20";
src = fetchurl {
url = "https://registry.npmjs.org/azure-cli/-/azure-cli-0.10.20.tgz";
sha512 = "MMiK5sFfIocNMWCc5PshUCAe6aY4P13/GCmSwudOziA/pFdQMHU8jhu+jU2SSWFug4K1ugeuCwtMXe43oL0PhQ==";
};
dependencies = [
sources."@types/node-8.10.54"
sources."JSV-4.0.2"
sources."adal-node-0.1.28"
sources."ajv-6.10.2"
sources."amdefine-1.0.1"
sources."ansi-regex-2.1.1"
sources."ansi-styles-2.2.1"
sources."applicationinsights-0.16.0"
sources."asap-2.0.6"
sources."asn1-0.2.4"
sources."assert-plus-0.2.0"
sources."async-1.4.2"
sources."asynckit-0.4.0"
sources."aws-sign2-0.6.0"
sources."aws4-1.8.0"
sources."azure-arm-authorization-2.0.0"
sources."azure-arm-batch-3.2.0"
sources."azure-arm-cdn-4.2.0"
sources."azure-arm-commerce-2.1.0"
sources."azure-arm-compute-3.0.0-preview"
(sources."azure-arm-datalake-analytics-1.0.2-preview" // {
dependencies = [
sources."async-0.2.7"
sources."azure-arm-resource-1.6.1-preview"
sources."ms-rest-1.15.7"
sources."ms-rest-azure-1.15.7"
sources."request-2.74.0"
];
})
(sources."azure-arm-datalake-store-1.0.2-preview" // {
dependencies = [
sources."async-0.2.7"
sources."azure-arm-resource-1.6.1-preview"
sources."ms-rest-1.15.7"
sources."ms-rest-azure-1.15.7"
sources."request-2.74.0"
];
})
sources."azure-arm-devtestlabs-2.1.1"
sources."azure-arm-dns-2.1.0"
sources."azure-arm-hdinsight-0.2.2"
sources."azure-arm-hdinsight-jobs-0.1.0"
sources."azure-arm-insights-0.11.3"
sources."azure-arm-iothub-1.0.1-preview"
sources."azure-arm-network-5.3.0"
(sources."azure-arm-powerbiembedded-0.1.1" // {
dependencies = [
sources."async-0.2.7"
sources."azure-arm-resource-1.6.1-preview"
sources."ms-rest-1.15.7"
sources."ms-rest-azure-1.15.7"
sources."request-2.74.0"
];
})
(sources."azure-arm-rediscache-0.2.3" // {
dependencies = [
sources."async-0.2.7"
sources."azure-arm-resource-1.6.1-preview"
sources."ms-rest-1.15.7"
sources."ms-rest-azure-1.15.7"
sources."request-2.74.0"
];
})
sources."azure-arm-resource-7.3.0"
sources."azure-arm-servermanagement-1.1.0"
sources."azure-arm-storage-5.2.0"
sources."azure-arm-trafficmanager-1.1.0-preview"
sources."azure-arm-website-5.7.0"
sources."azure-asm-compute-0.18.0"
sources."azure-asm-hdinsight-0.10.2"
sources."azure-asm-mgmt-0.10.1"
sources."azure-asm-network-0.13.0"
sources."azure-asm-sb-0.10.1"
sources."azure-asm-sql-0.10.1"
sources."azure-asm-storage-0.12.0"
sources."azure-asm-subscription-0.10.1"
sources."azure-asm-trafficmanager-0.10.3"
(sources."azure-asm-website-0.10.7" // {
dependencies = [
sources."underscore-1.9.1"
];
})
(sources."azure-batch-3.2.2" // {
dependencies = [
sources."underscore-1.9.1"
];
})
(sources."azure-common-0.9.22" // {
dependencies = [
sources."validator-9.4.1"
(sources."xml2js-0.4.22" // {
dependencies = [
sources."xmlbuilder-11.0.1"
];
})
];
})
sources."azure-gallery-2.0.0-pre.18"
sources."azure-graph-2.2.0"
sources."azure-keyvault-3.0.5"
(sources."azure-monitoring-0.10.6" // {
dependencies = [
sources."underscore-1.9.1"
];
})
sources."azure-servicefabric-2.2.0"
(sources."azure-storage-2.10.3" // {
dependencies = [
sources."readable-stream-2.0.6"
sources."sax-0.5.8"
sources."underscore-1.8.3"
sources."validator-9.4.1"
sources."xml2js-0.2.8"
sources."xmlbuilder-9.0.7"
];
})
sources."balanced-match-1.0.0"
sources."bcrypt-pbkdf-1.0.2"
(sources."bl-1.1.2" // {
dependencies = [
sources."readable-stream-2.0.6"
];
})
sources."boom-2.10.1"
sources."brace-expansion-1.1.11"
sources."browserify-mime-1.2.9"
sources."buffer-equal-constant-time-1.0.1"
sources."buffer-from-1.1.1"
sources."caller-id-0.1.0"
sources."caseless-0.11.0"
sources."chalk-1.1.3"
sources."clone-1.0.4"
sources."colors-1.1.2"
sources."combined-stream-1.0.8"
sources."commander-1.0.4"
sources."concat-map-0.0.1"
(sources."concat-stream-1.6.2" // {
dependencies = [
sources."process-nextick-args-2.0.1"
sources."readable-stream-2.3.6"
sources."safe-buffer-5.1.2"
sources."string_decoder-1.1.1"
];
})
sources."core-util-is-1.0.2"
sources."cryptiles-2.0.5"
sources."ctype-0.5.2"
sources."cycle-1.0.3"
(sources."dashdash-1.14.1" // {
dependencies = [
sources."assert-plus-1.0.0"
];
})
sources."date-utils-1.2.21"
sources."dateformat-1.0.2-1.2.3"
sources."deep-equal-1.1.0"
sources."defaults-1.0.3"
sources."define-properties-1.1.3"
sources."delayed-stream-1.0.0"
sources."duplexer-0.1.1"
sources."easy-table-1.1.0"
sources."ecc-jsbn-0.1.2"
sources."ecdsa-sig-formatter-1.0.11"
sources."envconf-0.0.4"
sources."es-abstract-1.14.2"
sources."es-to-primitive-1.2.0"
sources."escape-string-regexp-1.0.5"
sources."event-stream-3.1.5"
sources."extend-3.0.2"
sources."extsprintf-1.3.0"
sources."eyes-0.1.8"
sources."fast-deep-equal-2.0.1"
sources."fast-json-patch-0.5.6"
sources."fast-json-stable-stringify-2.0.0"
sources."fibers-1.0.15"
sources."forever-agent-0.6.1"
(sources."form-data-1.0.1" // {
dependencies = [
sources."async-2.6.3"
];
})
sources."from-0.1.7"
sources."fs.realpath-1.0.0"
sources."function-bind-1.1.1"
sources."galaxy-0.1.12"
sources."generate-function-2.3.1"
sources."generate-object-property-1.2.0"
(sources."getpass-0.1.7" // {
dependencies = [
sources."assert-plus-1.0.0"
];
})
sources."github-0.1.6"
sources."glob-7.1.4"
sources."har-schema-2.0.0"
(sources."har-validator-2.0.6" // {
dependencies = [
sources."commander-2.20.0"
];
})
sources."has-1.0.3"
sources."has-ansi-2.0.0"
sources."has-color-0.1.7"
sources."has-symbols-1.0.0"
sources."hash-base-3.0.4"
sources."hawk-3.1.3"
sources."hoek-2.16.3"
sources."http-basic-2.5.1"
sources."http-response-object-1.1.0"
sources."http-signature-1.1.1"
sources."i-0.3.6"
sources."inflight-1.0.6"
sources."inherits-2.0.4"
sources."is-arguments-1.0.4"
sources."is-buffer-1.1.6"
sources."is-callable-1.1.4"
sources."is-date-object-1.0.1"
sources."is-my-ip-valid-1.0.0"
sources."is-my-json-valid-2.20.0"
sources."is-property-1.0.2"
sources."is-regex-1.0.4"
sources."is-stream-1.1.0"
sources."is-symbol-1.0.2"
sources."is-typedarray-1.0.0"
sources."isarray-1.0.0"
sources."isstream-0.1.2"
sources."js2xmlparser-1.0.0"
sources."jsbn-0.1.1"
sources."json-edm-parser-0.1.2"
sources."json-schema-0.2.3"
sources."json-schema-traverse-0.4.1"
sources."json-stringify-safe-5.0.1"
sources."jsonlint-1.6.2"
sources."jsonminify-0.4.1"
sources."jsonparse-1.2.0"
sources."jsonpointer-4.0.1"
(sources."jsprim-1.4.1" // {
dependencies = [
sources."assert-plus-1.0.0"
];
})
sources."jsrsasign-4.8.2"
sources."jwa-1.4.1"
sources."jws-3.2.2"
sources."jwt-decode-2.2.0"
sources."keypress-0.1.0"
(sources."kuduscript-1.0.16" // {
dependencies = [
sources."commander-1.1.1"
sources."streamline-0.4.11"
];
})
sources."lodash-4.17.15"
sources."map-stream-0.1.0"
sources."md5.js-1.3.4"
sources."mime-db-1.40.0"
sources."mime-types-2.1.24"
sources."minimatch-3.0.4"
sources."minimist-0.0.8"
sources."mkdirp-0.5.1"
sources."moment-2.24.0"
(sources."ms-rest-2.5.3" // {
dependencies = [
sources."through-2.3.8"
sources."tunnel-0.0.5"
];
})
(sources."ms-rest-azure-2.6.0" // {
dependencies = [
sources."async-2.6.0"
];
})
sources."mute-stream-0.0.8"
sources."ncp-0.4.2"
sources."node-forge-0.6.23"
sources."node-uuid-1.4.8"
(sources."nomnom-1.8.1" // {
dependencies = [
sources."ansi-styles-1.0.0"
sources."chalk-0.4.0"
sources."strip-ansi-0.1.1"
sources."underscore-1.6.0"
];
})
sources."oauth-sign-0.8.2"
sources."object-inspect-1.6.0"
sources."object-is-1.0.1"
sources."object-keys-1.1.1"
sources."object.getownpropertydescriptors-2.0.3"
sources."omelette-0.3.2"
sources."once-1.4.0"
sources."openssl-wrapper-0.3.4"
sources."os-homedir-1.0.2"
sources."path-is-absolute-1.0.1"
sources."pause-stream-0.0.11"
sources."performance-now-2.1.0"
sources."pinkie-2.0.4"
sources."pinkie-promise-2.0.1"
sources."pkginfo-0.4.1"
sources."process-nextick-args-1.0.7"
sources."progress-1.1.8"
sources."promise-7.3.1"
(sources."prompt-0.2.14" // {
dependencies = [
sources."async-0.2.10"
sources."colors-0.6.2"
(sources."winston-0.8.3" // {
dependencies = [
sources."pkginfo-0.3.1"
];
})
];
})
sources."psl-1.4.0"
sources."punycode-1.4.1"
sources."qs-6.2.3"
sources."read-1.0.7"
(sources."readable-stream-1.0.34" // {
dependencies = [
sources."isarray-0.0.1"
];
})
sources."regexp.prototype.flags-1.2.0"
(sources."request-2.88.0" // {
dependencies = [
sources."assert-plus-1.0.0"
sources."aws-sign2-0.7.0"
sources."caseless-0.12.0"
sources."form-data-2.3.3"
sources."har-validator-5.1.3"
sources."http-signature-1.2.0"
sources."oauth-sign-0.9.0"
sources."qs-6.5.2"
sources."tough-cookie-2.4.3"
sources."tunnel-agent-0.6.0"
];
})
sources."revalidator-0.1.8"
sources."rimraf-2.7.1"
sources."safe-buffer-5.2.0"
sources."safer-buffer-2.1.2"
sources."sax-1.2.4"
sources."sntp-1.0.9"
sources."source-map-0.1.43"
sources."split-0.2.10"
(sources."ssh-key-to-pem-0.11.0" // {
dependencies = [
sources."asn1-0.1.11"
];
})
(sources."sshpk-1.16.1" // {
dependencies = [
sources."assert-plus-1.0.0"
];
})
sources."stack-trace-0.0.10"
sources."stream-combiner-0.0.4"
sources."streamline-0.10.17"
sources."streamline-streams-0.1.5"
sources."string.prototype.trimleft-2.1.0"
sources."string.prototype.trimright-2.1.0"
sources."string_decoder-0.10.31"
sources."stringstream-0.0.6"
sources."strip-ansi-3.0.1"
sources."supports-color-2.0.0"
sources."sync-request-3.0.0"
sources."then-request-2.2.0"
sources."through-2.3.4"
sources."tough-cookie-2.3.4"
sources."tunnel-0.0.2"
sources."tunnel-agent-0.4.3"
sources."tweetnacl-0.14.5"
sources."typedarray-0.0.6"
sources."underscore-1.4.4"
(sources."uri-js-4.2.2" // {
dependencies = [
sources."punycode-2.1.1"
];
})
sources."user-home-2.0.0"
sources."util-deprecate-1.0.2"
sources."util.promisify-1.0.0"
(sources."utile-0.2.1" // {
dependencies = [
sources."async-0.2.10"
];
})
sources."uuid-3.3.3"
sources."validator-5.2.0"
(sources."verror-1.10.0" // {
dependencies = [
sources."assert-plus-1.0.0"
];
})
sources."wcwidth-1.0.1"
(sources."winston-2.1.1" // {
dependencies = [
sources."async-1.0.0"
sources."colors-1.0.3"
sources."pkginfo-0.3.1"
];
})
sources."wordwrap-0.0.2"
sources."wrappy-1.0.2"
sources."xml2js-0.1.14"
sources."xmlbuilder-0.4.3"
sources."xmldom-0.1.27"
sources."xpath.js-1.1.0"
sources."xtend-4.0.2"
];
buildInputs = globalBuildInputs;
meta = {
description = "Microsoft Azure Cross Platform Command Line tool";
homepage = https://github.com/Azure/azure-xplat-cli;
license = "Apache-2.0";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
azure-functions-core-tools = nodeEnv.buildNodePackage {
name = "azure-functions-core-tools";
packageName = "azure-functions-core-tools";
version = "2.7.1585";
src = fetchurl {
url = "https://registry.npmjs.org/azure-functions-core-tools/-/azure-functions-core-tools-2.7.1585.tgz";
sha512 = "jxtiDsa1M5eMmXyjrkX8b2jl+7QKsjWifF8ralXI9DJYh1jJATUKGAPw56n5SJFbsxZlxxdxDoboOkgFP4aeog==";
};
dependencies = [
sources."agent-base-4.3.0"
sources."ansi-styles-3.2.1"
sources."balanced-match-1.0.0"
sources."big-integer-1.6.45"
sources."binary-0.3.0"
sources."bluebird-3.4.7"
sources."brace-expansion-1.1.11"
sources."buffer-indexof-polyfill-1.0.1"
sources."buffers-0.1.1"
sources."chainsaw-0.1.0"
sources."chalk-2.4.2"
sources."color-convert-1.9.3"
sources."color-name-1.1.3"
sources."command-exists-1.2.8"
sources."concat-map-0.0.1"
sources."core-util-is-1.0.2"
sources."debug-3.2.6"
sources."duplexer2-0.1.4"
sources."es6-promise-4.2.8"
sources."es6-promisify-5.0.0"
sources."escape-string-regexp-1.0.5"
sources."fs.realpath-1.0.0"
sources."fstream-1.0.12"
sources."glob-7.1.3"
sources."graceful-fs-4.2.2"
sources."has-flag-3.0.0"
sources."https-proxy-agent-2.2.1"
sources."inflight-1.0.6"
sources."inherits-2.0.4"
sources."isarray-1.0.0"
sources."listenercount-1.0.1"
sources."minimatch-3.0.4"
sources."minimist-0.0.8"
sources."mkdirp-0.5.1"
sources."ms-2.1.2"
sources."once-1.4.0"
sources."os-tmpdir-1.0.2"
sources."path-is-absolute-1.0.1"
sources."process-nextick-args-2.0.1"
sources."progress-2.0.3"
sources."readable-stream-2.3.6"
sources."rimraf-2.6.3"
sources."safe-buffer-5.1.2"
sources."setimmediate-1.0.5"
sources."string_decoder-1.1.1"
sources."supports-color-5.5.0"
sources."tmp-0.0.33"
sources."traverse-0.3.9"
sources."unzipper-0.9.7"
sources."util-deprecate-1.0.2"
sources."wrappy-1.0.2"
];
buildInputs = globalBuildInputs;
meta = {
description = "Azure Functions Core Tools";
homepage = "https://github.com/Azure/azure-functions-core-tools#readme";
license = "MIT";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
bash-language-server = nodeEnv.buildNodePackage {
name = "bash-language-server";
packageName = "bash-language-server";
@ -78039,4 +77161,4 @@ in
bypassCache = true;
reconstructLock = true;
};
}
}

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, buildDunePackage, alcotest }:
{ lib, fetchFromGitHub, buildDunePackage, alcotest, bigarray-compat }:
buildDunePackage rec {
pname = "bigstringaf";
version = "0.3.0";
version = "0.6.0";
minimumOCamlVersion = "4.03";
@ -10,16 +10,17 @@ buildDunePackage rec {
owner = "inhabitedtype";
repo = pname;
rev = version;
sha256 = "1yx6hv8rk0ldz1h6kk00rwg8abpfc376z00aifl9f5rn7xavpscs";
sha256 = "04b088vrqzmxsyan9f9nr8721bxip4b930cgvb5zkbbmrw3ylmwc";
};
buildInputs = [ alcotest ];
propagatedBuildInputs = [ bigarray-compat ];
doCheck = true;
meta = {
description = "Bigstring intrinsics and fast blits based on memcpy/memmove";
license = stdenv.lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}

@ -1,22 +0,0 @@
{ stdenv, fetchFromGitHub, buildDunePackage, doc-ock, tyxml, xmlm }:
buildDunePackage rec {
pname = "doc-ock-html";
version = "1.2.1";
src = fetchFromGitHub {
owner = "ocaml-doc";
repo = pname;
rev = "v${version}";
sha256 = "1y620h48qrplmcm78g7c78zibpkai4j3icwmnx95zb3r8xq8554y";
};
propagatedBuildInputs = [ doc-ock tyxml xmlm ];
meta = {
description = "From doc-ock to HTML";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}

@ -1,22 +0,0 @@
{ stdenv, fetchFromGitHub, buildDunePackage, doc-ock, menhir, xmlm }:
buildDunePackage rec {
pname = "doc-ock-xml";
version = "1.2.1";
src = fetchFromGitHub {
owner = "ocaml-doc";
repo = pname;
rev = "v${version}";
sha256 = "1s27ri7vj9ixi5p5ixg6g6invk96807bvxbqjrr1dm8sxgl1nd20";
};
propagatedBuildInputs = [ doc-ock menhir xmlm ];
meta = {
description = "XML printer and parser for Doc-Ock";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}

@ -1,24 +0,0 @@
{ stdenv, fetchFromGitHub, buildDunePackage, octavius, cppo }:
buildDunePackage rec {
pname = "doc-ock";
version = "1.2.1";
src = fetchFromGitHub {
owner = "ocaml-doc";
repo = pname;
rev = "v${version}";
sha256 = "090vprm12jrl55yllk1hdzbsqyr107yjs2qnc49yahdhvnr4h5b7";
};
buildInputs = [ cppo ];
propagatedBuildInputs = [ octavius ];
meta = {
description = "Extract documentation from OCaml files";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, alcotest, bigstringaf }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
buildDunePackage rec {
pname = "faraday";
@ -13,9 +13,9 @@ buildDunePackage rec {
sha256 = "0z6ikwlqad91iac0q5z88p3wzq5k15y86ckzmhdq1aqwrcm14bq2";
};
buildInputs = [ alcotest ];
checkInputs = lib.optional doCheck alcotest;
propagatedBuildInputs = [ bigstringaf ];
doCheck = true;
doCheck = lib.versions.majorMinor ocaml.version != "4.07";
meta = {
description = "Serialization library built for speed and memory efficiency";

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildDunePackage, angstrom, faraday, alcotest }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, angstrom, faraday, alcotest }:
buildDunePackage rec {
pname = "httpaf";
@ -11,14 +11,14 @@ buildDunePackage rec {
sha256 = "0i2r004ihj00hd97475y8nhjqjln58xx087zcjl0dfp0n7q80517";
};
buildInputs = [ alcotest ];
checkInputs = lib.optional doCheck alcotest;
propagatedBuildInputs = [ angstrom faraday ];
doCheck = true;
doCheck = lib.versions.majorMinor ocaml.version != "4.07";
meta = {
description = "A high-performance, memory-efficient, and scalable web server for OCaml";
license = stdenv.lib.licenses.bsd3;
maintainers = [ stdenv.lib.maintainers.vbgl ];
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}

@ -0,0 +1,24 @@
{ lib, fetchFromGitHub, buildDunePackage
, seq
}:
buildDunePackage rec {
pname = "spelll";
version = "0.3";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = "v${version}";
sha256 = "03adqisgsazsxdkrypp05k3g91hydfgcif2014il63gdbd9nhzlh";
};
propagatedBuildInputs = [ seq ];
meta = {
inherit (src.meta) homepage;
description = "Fuzzy string searching, using Levenshtein automaton";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, python, gnugrep }:
{ stdenv, buildPythonPackage, fetchFromGitHub, python, requests, gnugrep }:
let
@ -18,17 +18,19 @@ let
in
buildPythonPackage {
pname = "PyLD";
version = "0.7.2";
buildPythonPackage rec {
pname = "pyld";
version = "1.0.5";
src = fetchFromGitHub {
owner = "digitalbazaar";
repo = "pyld";
rev = "652473f828e9a396d4c1db9addbd294fb7db1797";
sha256 = "1bmpz4s6j7by6l45wwxy7dn7hmrhxc26kbx2hbfy41x29vbjg6j9";
repo = pname;
rev = version;
sha256 = "0z2vkllw8bvzxripwb6l757r7av5qwhzsiy4061gmlhq8z8gq961";
};
propagatedBuildInputs = [ requests ];
# Unfortunately PyLD does not pass all testcases in the JSON-LD corpus. We
# check for at least a minimum amount of successful tests so we know it's not
# getting worse, at least.

@ -0,0 +1,29 @@
{ stdenv, buildPythonPackage, fetchPypi
, pkgs, async-timeout, hiredis, isPyPy, isPy27
}:
buildPythonPackage rec {
pname = "aioredis";
version = "1.2.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "06i53xpz4x6qrmdxqwvkpd17lbgmwfq20v0jrwc73f5y57kjpml4";
};
propagatedBuildInputs = [
async-timeout
] ++ stdenv.lib.optional (!isPyPy) hiredis;
# Wants to run redis-server, hardcoded FHS paths, too much trouble.
doCheck = false;
meta = with stdenv.lib; {
description = "Asyncio (PEP 3156) Redis client library";
homepage = https://github.com/aio-libs/aioredis;
license = licenses.mit;
maintainers = with maintainers; [ mmai ];
};
}

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, fetchpatch
, setuptools
}:
buildPythonPackage rec {
@ -17,6 +18,8 @@ buildPythonPackage rec {
sha256 = "3c0f73db9f8392f7048c8a244809f154d7c39f354e2167f6c477630aa517ed04";
};
propagatedBuildInputs = [ setuptools ];
patches = [
(fetchpatch {
stripLen = 2;

@ -0,0 +1,55 @@
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
, redis, channels, msgpack, aioredis, hiredis, asgiref
# , fetchFromGitHub, async_generator, async-timeout, cryptography, pytest, pytest-asyncio
}:
buildPythonPackage rec {
pname = "channels-redis";
version = "2.4.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit version;
pname = "channels_redis";
sha256 = "1g4izdf8237pwxn85bv5igc2bajrvck1p2a7q448qmjfznrbrk5p";
};
buildInputs = [ redis hiredis ];
propagatedBuildInputs = [ channels msgpack aioredis asgiref ];
# Fetch from github (no tests files on pypi)
# src = fetchFromGitHub {
# rev = version;
# owner = "django";
# repo = "channels_redis";
# sha256 = "05niaqjv790mnrvca26kbnvb50fgnk2zh0k4np60cn6ilp4nl0kc";
# };
#
# checkInputs = [
# async_generator
# async-timeout
# cryptography
# pytest
# pytest-asyncio
# ];
#
# # Fails with : ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 6379)
# # (even with a local redis instance running)
# checkPhase = ''
# pytest -p no:django tests/
# '';
postPatch = ''
sed -i "s/msgpack~=0.6.0/msgpack/" setup.py
sed -i "s/aioredis~=1.0/aioredis/" setup.py
'';
meta = with stdenv.lib; {
homepage = https://github.com/django/channels_redis/;
description = "Redis-backed ASGI channel layer implementation";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

@ -3,11 +3,11 @@
}:
buildPythonPackage rec {
pname = "channels";
version = "2.2.0";
version = "2.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "af7cdba9efb3f55b939917d1b15defb5d40259936013e60660e5e9aff98db4c5";
sha256 = "0vd2ci1w5r4bhmhk349wclnc289lx14lpwp5k4910m63kywb8nap";
};
# Files are missing in the distribution

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi, isPy27
, ldap , django_2_2
, mock
}:
buildPythonPackage rec {
pname = "django-auth-ldap";
version = "2.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1samrxf8lic6a4c0lgw31b38s97l8hnaknd7ilyy2plahmm0h03i";
};
propagatedBuildInputs = [ ldap django_2_2 ];
checkInputs = [ mock ];
# django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false;
meta = with stdenv.lib; {
description = "Django authentication backend that authenticates against an LDAP service";
homepage = https://github.com/django-auth-ldap/django-auth-ldap;
license = licenses.bsd2;
maintainers = with maintainers; [ mmai ];
platforms = platforms.linux;
};
}

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, django
, redis, async-timeout, hiredis
}:
buildPythonPackage rec {
pname = "django-cleanup";
version = "4.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "195hkany3iwg4wb4cbdrdmanxcahjl87n8v03dbamanx2ya3yb21";
};
checkInputs = [ django ];
meta = with stdenv.lib; {
description = "Automatically deletes old file for FileField and ImageField. It also deletes files on models instance deletion";
homepage = https://github.com/un1t/django-cleanup;
license = licenses.mit;
maintainers = with maintainers; [ mmai ];
};
}

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi
, django, persisting-theory, six
}:
buildPythonPackage rec {
pname = "django-dynamic-preferences";
version = "1.7.1";
src = fetchPypi {
inherit pname version;
sha256 = "1z2dndkpypk4pvb0byh5a771vgp50vn8g1rbk5r3sml6dm4wcn7s";
};
propagatedBuildInputs = [ six django persisting-theory ];
# django.core.exceptions.ImproperlyConfigured: Requested setting DYNAMIC_PREFERENCES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/EliotBerriot/django-dynamic-preferences;
description = "Dynamic global and instance settings for your django project";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

@ -0,0 +1,34 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, django
, djangorestframework, python, mock
}:
buildPythonPackage rec {
pname = "django-filter";
version = "2.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "057xiijig8r2nxrd9gj1nki168422rsh8ap5vkbr9zyp1mzvbpn3";
};
propagatedBuildInputs = [ django ];
# Tests fail (needs the 'crispy_forms' module not packaged on nixos)
doCheck = false;
checkInputs = [ djangorestframework django mock ];
checkPhase = ''
runHook preCheck
${python.interpreter} runtests.py tests
runHook postCheck
'';
meta = with stdenv.lib; {
description = "Reusable Django application for allowing users to filter querysets dynamically";
homepage = "https://pypi.org/project/django-filter/";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

@ -0,0 +1,27 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
, django_2_2, requests, oauthlib
}:
buildPythonPackage rec {
pname = "django-oauth-toolkit";
version = "1.2.0";
src = fetchFromGitHub {
owner = "jazzband";
repo = pname;
rev = version;
sha256 = "1zbksxrcxlqnapmlvx4rgvpqc4plgnq0xnf45cjwzwi1626zs8g6";
};
propagatedBuildInputs = [ django_2_2 requests oauthlib ];
# django.core.exceptions.ImproperlyConfigured: Requested setting OAUTH2_PROVIDER, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false;
meta = with stdenv.lib; {
description = "OAuth2 goodies for the Djangonauts";
homepage = https://github.com/jazzband/django-oauth-toolkit;
license = licenses.bsd2;
maintainers = with maintainers; [ mmai ];
};
}

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "django-storages";
version = "1.7.2";
src = fetchPypi {
inherit pname version;
sha256 = "01xq232h321716r08rari9payas7fsiwwr5q6zgcrlwkckwxxczk";
};
propagatedBuildInputs = [ django ];
# django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
doCheck = false;
meta = with stdenv.lib; {
description = "Collection of custom storage backends for Django";
homepage = https://django-storages.readthedocs.io;
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

@ -0,0 +1,31 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, django
, python
, pillow
}:
buildPythonPackage rec {
pname = "django-versatileimagefield";
version = "1.10";
src = fetchPypi {
inherit pname version;
sha256 = "0y0r6ssxyg9x1rylpyxg2ha2hl18080k5xp308k4ankpjm50hvc8";
};
propagatedBuildInputs = [ pillow ];
checkInputs = [ django ];
# tests not included with pypi release
doCheck = false;
meta = with stdenv.lib; {
description = "Replaces django's ImageField with a more flexible interface";
homepage = "https://github.com/respondcreate/django-versatileimagefield/";
license = licenses.mit;
maintainers = with maintainers; [ mmai ];
};
}

@ -1,11 +1,11 @@
{ stdenv, buildPythonPackage, fetchPypi, django }:
buildPythonPackage rec {
version = "3.9.4";
version = "3.10.3";
pname = "djangorestframework";
src = fetchPypi {
inherit pname version;
sha256 = "c12869cfd83c33d579b17b3cb28a2ae7322a53c3ce85580c2a2ebe4e3f56c4fb";
sha256 = "140hwz52rlqqc10gbw5bhyyi4zbpqj3z7wgnh2jrhs2wfzwwp0fw";
};
# Test settings are missing

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, google_auth, protobuf, googleapis_common_protos, requests, grpcio, futures, mock, pytest }:
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, futures, mock, pytest }:
buildPythonPackage rec {
pname = "google-api-core";
@ -12,7 +12,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
googleapis_common_protos protobuf
google_auth requests grpcio
google_auth requests setuptools grpcio
] ++ lib.optional (pythonOlder "3.2") futures;
checkInputs = [ mock pytest ];

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchpatch, fetchPypi
, pytest, mock, oauth2client, flask, requests, urllib3, pytest-localserver, six, pyasn1-modules, cachetools, rsa }:
, pytest, mock, oauth2client, flask, requests, setuptools, urllib3, pytest-localserver, six, pyasn1-modules, cachetools, rsa }:
buildPythonPackage rec {
pname = "google-auth";
@ -18,7 +18,7 @@ buildPythonPackage rec {
];
checkInputs = [ pytest mock oauth2client flask requests urllib3 pytest-localserver ];
propagatedBuildInputs = [ six pyasn1-modules cachetools rsa ];
propagatedBuildInputs = [ six pyasn1-modules cachetools rsa setuptools ];
# The removed test tests the working together of google_auth and google's https://pypi.python.org/pypi/oauth2client
# but the latter is deprecated. Since it is not currently part of the nixpkgs collection and deprecated it will

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, google_api_core, grpcio, pytest, mock }:
, google_api_core, grpcio, pytest, mock, setuptools }:
buildPythonPackage rec {
pname = "google-cloud-core";
@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "d85b1aaaf3bad9415ad1d8ee5eadce96d7007a82f13ce0a0629a003a11e83f29";
};
propagatedBuildInputs = [ google_api_core grpcio ];
propagatedBuildInputs = [ google_api_core grpcio setuptools ];
checkInputs = [ pytest mock ];
checkPhase = ''

@ -6,6 +6,7 @@
, google_cloud_core
, pytest
, mock
, setuptools
}:
buildPythonPackage rec {
@ -17,8 +18,13 @@ buildPythonPackage rec {
sha256 = "8032e576e2f91a1d3de2355118040c3bcd9916e0453a6b3f64c1b42ed151690a";
};
propagatedBuildInputs = [
google_resumable_media
google_api_core
google_cloud_core
setuptools
];
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ google_resumable_media google_api_core google_cloud_core ];
checkPhase = ''
pytest tests/unit

@ -3,6 +3,7 @@
, fetchPypi
, six
, requests
, setuptools
, pytest
, mock
}:
@ -17,7 +18,7 @@ buildPythonPackage rec {
};
checkInputs = [ pytest mock ];
propagatedBuildInputs = [ six requests ];
propagatedBuildInputs = [ requests setuptools six ];
checkPhase = ''
py.test tests/unit

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, protobuf, pytest }:
, protobuf, pytest, setuptools }:
buildPythonPackage rec {
pname = "googleapis-common-protos";
@ -10,7 +10,7 @@ buildPythonPackage rec {
sha256 = "d564872083af40bbcc7091340f17db778a316525c7c76497d58d11b98ca2aa74";
};
propagatedBuildInputs = [ protobuf ];
propagatedBuildInputs = [ protobuf setuptools ];
checkInputs = [ pytest ];
doCheck = false; # there are no tests

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, redis
, python
}:
buildPythonPackage rec {
pname = "hiredis";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "158pymdlnv4d218w66i8kzdn4ka30l1pdwa0wyjh16bj10zraz79";
};
propagatedBuildInputs = [ redis ];
checkPhase = ''
${python.interpreter} test.py
'';
meta = with stdenv.lib; {
description = "Wraps protocol parsing code in hiredis, speeds up parsing of multi bulk replies";
homepage = "https://github.com/redis/hiredis-py";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "persisting-theory";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "02hcg7js23yjyw6gwxqzvyv2b1wfjrypk98cfxfgf7s8iz67vzq0";
};
checkInputs = [ nose ];
checkPhase = "nosetests";
meta = with stdenv.lib; {
homepage = https://code.eliotberriot.com/eliotberriot/persisting-theory;
description = "Automate data discovering and access inside a list of packages";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, django
}:
buildPythonPackage rec {
pname = "pymemoize";
version = "1.0.3";
src = fetchPypi {
inherit version;
pname = "PyMemoize";
sha256 = "0yqr60hm700zph6nv8wb6yp2s0i08mahxvw98bvkmw5ijbsviiq7";
};
checkInputs = [ django ];
# django.core.exceptions.ImproperlyConfigured: Requested settings, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
doCheck = false;
meta = with stdenv.lib; {
description = "Simple Python cache and memoizing module";
homepage = "https://github.com/mikeboers/PyMemoize";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

@ -0,0 +1,33 @@
{ lib, fetchFromGitHub, isPy3k, buildPythonPackage, pygame, pyglet, pysdl2, six }:
buildPythonPackage rec {
pname = "pytmx";
version = "3.21.7";
src = fetchFromGitHub {
# The release was not git tagged.
owner = "bitcraft";
repo = "PyTMX";
rev = "38519b94ab9a2db7cacb8e18de4d83750ec6fac2";
sha256 = "0p2gc6lgian1yk4qvhbkxfkmndf9ras70amigqzzwr02y2jvq7j8";
};
propagatedBuildInputs = [ pygame pyglet pysdl2 six ];
# The tests are failing for Python 2.7.
doCheck = isPy3k;
checkPhase = ''
# The following test imports an example file from the current working
# directory. Thus, we're cd'ing into the test directory.
cd tests/
python -m unittest test_pytmx
'';
meta = with lib; {
homepage = "https://github.com/bitcraft/PyTMX";
description = "Python library to read Tiled Map Editor's TMX maps";
license = licenses.lgpl3;
maintainers = with maintainers; [ geistesk ];
};
}

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, requests
, python
}:
buildPythonPackage rec {
pname = "requests-http-signature";
version = "0.1.0";
# .pem files for tests aren't present on PyPI
src = fetchFromGitHub {
owner = "pyauth";
repo = pname;
rev = "v${version}";
sha256 = "0y96wsbci296m1rcxx0ybx8r44rdvyb59p1jl27p7rgz7isr3kx1";
};
propagatedBuildInputs = [ requests ];
checkPhase = ''
${python.interpreter} test/test.py
'';
meta = with stdenv.lib; {
description = "A Requests auth module for HTTP Signature";
homepage = "https://github.com/kislyuk/requests-http-signature";
license = licenses.asl20;
maintainers = with maintainers; [ mmai ];
};
}

@ -1,4 +1,4 @@
{ lib, fetchPypi, buildPythonPackage, isPy3k
{ lib, fetchPypi, buildPythonPackage, isPy3k, isPy35
, mock
, pysqlite
, pytest
@ -22,7 +22,9 @@ buildPythonPackage rec {
sed -e 's:--max-worker-restart=5::g' -i setup.cfg
'';
checkPhase = ''
checkPhase = if isPy35 then ''
pytest test -k 'not exception_persistent_flush_py3k'
'' else ''
pytest test
'';

@ -0,0 +1,36 @@
{ lib, pythonPackages, taskwarrior, writeShellScriptBin }:
with pythonPackages;
let
wsl_stub = writeShellScriptBin "wsl" "true";
in buildPythonPackage rec {
pname = "tasklib";
version = "1.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "3964fb7e87f86dc5e2708addb67e69d0932534991991b6bae2e37a0c2059273f";
};
propagatedBuildInputs = [
six
pytz
tzlocal
];
checkInputs = [
taskwarrior
wsl_stub
];
meta = with lib; {
homepage = https://github.com/robgolding/tasklib;
description = "A library for interacting with taskwarrior databases";
maintainers = with maintainers; [ arcnmx ];
platforms = platforms.all;
license = licenses.bsd3;
};
}

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
, six
, unittest2
, unidecode
}:
buildPythonPackage rec {
pname = "unicode-slugify";
version = "0.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "0l7nphfdq9rgiczbl8n3mra9gx7pxap0xz540pkyz034zbz3mkrl";
};
propagatedBuildInputs = [ six unidecode ];
checkInputs = [ nose unittest2 ];
meta = with stdenv.lib; {
description = "Generates unicode slugs";
homepage = "https://pypi.org/project/unicode-slugify/";
license = licenses.bsd3;
maintainers = with maintainers; [ mmai ];
};
}

@ -1,27 +1,32 @@
{ stdenv, fetchFromGitHub, perl }:
stdenv.mkDerivation {
name = "FlameGraph-2017-07-01";
stdenv.mkDerivation rec {
pname = "FlameGraph";
version = "2019-02-16";
src = fetchFromGitHub {
owner = "brendangregg";
repo = "FlameGraph";
rev = "a93d905911c07c96a73b35ddbcb5ddb2f39da4b6";
sha256 = "07z2ffnab41dz833wwgr875vjccqyh0238357g7ml1yg5445x2jy";
repo = pname;
rev = "1b1c6deede9c33c5134c920bdb7a44cc5528e9a7";
sha256 = "1flvkmv2gbb003d51myl7r0wyhyw1bk9p7v19xagb8xjj4ci947b";
};
buildInputs = [ perl ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
for x in $src/*.pl $src/*.awk $src/dev/*.pl $src/dev/*.d; do
cp $x $out/bin
done
runHook postInstall
'';
meta = with stdenv.lib; {
license = licenses.cddl;
homepage = http://www.brendangregg.com/flamegraphs.html;
license = with licenses; [ asl20 cddl gpl2Plus ];
homepage = "http://www.brendangregg.com/flamegraphs.html";
description = "Visualization for profiled code";
platforms = platforms.unix;
};

@ -1,33 +1,12 @@
{ stdenv
, python3
, fetchFromGitHub
, makeWrapper
, gdb
, future
, isort
, psutil
, pycparser
, pyelftools
, python-ptrace
, ROPGadget
, six
, unicorn
, pygments
, }:
}:
stdenv.mkDerivation rec {
pname = "pwndbg";
version = "2019.01.25";
src = fetchFromGitHub {
owner = "pwndbg";
repo = "pwndbg";
rev = version;
sha256 = "0k7n6pcrj62ccag801yzf04a9mj9znghpkbnqwrzz0qn3rs42vgs";
};
nativeBuildInputs = [ makeWrapper ];
propagatedBuildInputs = [
let
pythonPath = with python3.pkgs; makePythonPath [
future
isort
psutil
@ -40,16 +19,27 @@ stdenv.mkDerivation rec {
pygments
];
in stdenv.mkDerivation rec {
pname = "pwndbg";
version = "2019.01.25";
format = "other";
src = fetchFromGitHub {
owner = "pwndbg";
repo = "pwndbg";
rev = version;
sha256 = "0k7n6pcrj62ccag801yzf04a9mj9znghpkbnqwrzz0qn3rs42vgs";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
mkdir -p $out/share/pwndbg
cp -r *.py pwndbg $out/share/pwndbg
chmod +x $out/share/pwndbg/gdbinit.py
makeWrapper ${gdb}/bin/gdb $out/bin/pwndbg \
--add-flags "-q -x $out/share/pwndbg/gdbinit.py"
'';
preFixup = ''
sed -i "/import sys/a import sys; sys.path[0:0] = '$PYTHONPATH'.split(':')" \
$out/share/pwndbg/gdbinit.py
--add-flags "-q -x $out/share/pwndbg/gdbinit.py" \
--set NIX_PYTHONPATH ${pythonPath}
'';
meta = with stdenv.lib; {

@ -107,7 +107,7 @@ dependencies = [
[[package]]
name = "cargo-make"
version = "0.22.2"
version = "0.23.0"
dependencies = [
"ci_info 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
"clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",

@ -2,7 +2,7 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-make";
version = "0.22.2";
version = "0.23.0";
src =
let
@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
owner = "sagiegurari";
repo = pname;
rev = version;
sha256 = "17q6lcrn9xwgy20vvv7m3wxnf85k334751iksk89h9l1s2d36bcl";
sha256 = "1g62k0g9b5m8jaxxkbx0d59k8yb3di59l3p9m32hx617rn4k5wjd";
};
in
runCommand "cargo-make-src" {} ''
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
description = "A Rust task runner and build tool";
homepage = "https://github.com/sagiegurari/cargo-make";
license = licenses.asl20;
maintainers = with maintainers; [ xrelkd ];
maintainers = with maintainers; [ xrelkd ma27 ];
platforms = platforms.all;
};
}

@ -4,13 +4,13 @@
rustPlatform.buildRustPackage rec {
pname = "rustup";
version = "1.20.0";
version = "1.20.2";
src = fetchFromGitHub {
owner = "rust-lang";
repo = "rustup.rs";
rev = version;
sha256 = "13i15banbb1k3h6h2pylbdrcpz7pg17x7dkkq36sian6gqq3c2dx";
sha256 = "0vfrfjfg5x1g44w03rdci2ky7s3s7rljdcmmp5h6pdvhzrd234aj";
};
cargoSha256 = "1lsv1d99dn6mngaqhd3lw90cr3zg4gq08wi0adxkkhaikc9jjdwh";

@ -0,0 +1,28 @@
{ rustPlatform, fetchFromGitHub, lib, openssl, pkgconfig, stdenv, curl, Security, ... }:
rustPlatform.buildRustPackage rec {
pname = "wasm-bindgen-cli";
version = "0.2.51";
src = fetchFromGitHub {
owner = "rustwasm";
repo = "wasm-bindgen";
rev = version;
sha256 = "1pfkwak11k3ghvv985c20vhg4cyvf131a1f7k3sv5snw2klww7vm";
};
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
nativeBuildInputs = [ pkgconfig ];
cargoSha256 = "06zk2yzwpl569q5mgn56gprsfxxvyz4a2i949lls13daq1kal5pa";
cargoPatches = [ ./0001-Add-cargo.lock-for-rustPlatform.buildRustPackage-in-.patch ];
cargoBuildFlags = [ "-p" pname ];
meta = with lib; {
homepage = https://rustwasm.github.io/docs/wasm-bindgen/;
license = licenses.asl20;
description = "Facilitating high-level interactions between wasm modules and JavaScript";
maintainers = with maintainers; [ ma27 ];
platforms = platforms.unix;
};
}

@ -5,11 +5,11 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "fs-uae";
version = "2.8.4";
version = "3.0.0";
src = fetchurl {
url = "https://fs-uae.net/fs-uae/stable/${version}/${pname}-${version}.tar.gz";
sha256 = "19ccb3gbpjwwazqc9pyin3jicjl27m2gyvy5bb5zysq0mxpzassj";
url = "https://fs-uae.net/stable/${version}/${pname}-${version}.tar.gz";
sha256 = "0r69i6rh472lj4qwqfcfh17xmlw4x6mhqzr9hhpkbb4byyw6h592";
};
nativeBuildInputs = [ pkgconfig ];

@ -98,8 +98,6 @@ let
networking = {
NET = yes;
IP_PNP = no;
NETFILTER = yes;
NETFILTER_ADVANCED = yes;
IP_VS_PROTO_TCP = yes;
IP_VS_PROTO_UDP = yes;
IP_VS_PROTO_ESP = yes;
@ -144,12 +142,25 @@ let
KEY_DH_OPERATIONS = whenAtLeast "4.7" yes;
# needed for nftables
NF_TABLES_INET = whenAtLeast "4.17" yes;
NF_TABLES_NETDEV = whenAtLeast "4.17" yes;
NF_TABLES_IPV4 = whenAtLeast "4.17" yes;
NF_TABLES_ARP = whenAtLeast "4.17" yes;
NF_TABLES_IPV6 = whenAtLeast "4.17" yes;
NF_TABLES_BRIDGE = whenBetween "4.17" "5.3" yes;
# Networking Options
NETFILTER = yes;
NETFILTER_ADVANCED = yes;
# Core Netfilter Configuration
NF_CONNTRACK_ZONES = yes;
NF_CONNTRACK_EVENTS = yes;
NF_CONNTRACK_TIMEOUT = yes;
NF_CONNTRACK_TIMESTAMP = yes;
NETFILTER_NETLINK_GLUE_CT = yes;
NF_TABLES_INET = whenAtLeast "4.19" yes;
NF_TABLES_NETDEV = whenAtLeast "4.19" yes;
# IP: Netfilter Configuration
NF_TABLES_IPV4 = yes;
NF_TABLES_ARP = whenAtLeast "4.19" yes;
# IPv6: Netfilter Configuration
NF_TABLES_IPV6 = yes;
# Bridge Netfilter Configuration
NF_TABLES_BRIDGE = mkMerge [ (whenBetween "4.19" "5.3" yes)
(whenAtLeast "5.3" module) ];
# needed for ss
INET_DIAG = yes;

@ -1,7 +1,8 @@
{ stdenv, fetchFromGitHub, cmake, libtool
, boost, capnproto, cctz, clang-unwrapped, double-conversion, gperftools, icu
, libcpuid, libxml2, lld, llvm, lz4 , libmysqlclient, openssl, poco, re2, rdkafka
, readline, sparsehash, unixODBC, zstd, ninja, jemalloc, brotli, protobuf, xxHash
{ stdenv, fetchFromGitHub, cmake, libtool, ninja
, boost, brotli, capnproto, cctz, clang-unwrapped, double-conversion, gperftools
, icu, jemalloc, libcpuid, libxml2, lld, llvm, lz4, libmysqlclient, openssl
, poco, protobuf, rapidjson, re2, rdkafka, readline, sparsehash, unixODBC
, xxHash, zstd
}:
stdenv.mkDerivation rec {
@ -17,9 +18,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake libtool ninja ];
buildInputs = [
boost capnproto cctz clang-unwrapped double-conversion gperftools icu
libcpuid libxml2 lld llvm lz4 libmysqlclient openssl poco re2 rdkafka
readline sparsehash unixODBC zstd jemalloc brotli protobuf xxHash
boost brotli capnproto cctz clang-unwrapped double-conversion gperftools
icu jemalloc libcpuid libxml2 lld llvm lz4 libmysqlclient openssl
poco protobuf rapidjson re2 rdkafka readline sparsehash unixODBC
xxHash zstd
];
cmakeFlags = [

@ -30,8 +30,6 @@ stdenv.mkDerivation rec {
++ lib.optional enableSeccomp libseccomp
++ lib.optional enablePython (python3.withPackages (ps: with ps; [ ply ]));
STD_CDEFINES = [ "-DDIG_SIGCHASE=1" ]; # support +sigchase
depsBuildBuild = [ buildPackages.stdenv.cc ];
configureFlags = [
@ -65,6 +63,7 @@ stdenv.mkDerivation rec {
moveToOutput bin/host $host
moveToOutput bin/dig $dnsutils
moveToOutput bin/delv $dnsutils
moveToOutput bin/nslookup $dnsutils
moveToOutput bin/nsupdate $dnsutils

@ -0,0 +1,25 @@
{ pkgs, nodejs, stdenv, lib, ... }:
let
packageName = with lib; concatStrings (map (entry: (concatStrings (mapAttrsToList (key: value: "${key}-${value}") entry))) (importJSON ./package.json));
nodePackages = import ./node-composition.nix {
inherit pkgs nodejs;
inherit (stdenv.hostPlatform) system;
};
in
nodePackages."${packageName}".override {
nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = ''
makeWrapper '${nodejs}/bin/node' "$out/bin/matrix-appservice-slack" \
--add-flags "$out/lib/node_modules/matrix-appservice-slack/lib/app.js"
'';
meta = with lib; {
description = "A Matrix <--> Slack bridge";
maintainers = with maintainers; [ kampka ];
license = licenses.asl20;
};
}

@ -0,0 +1,11 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p nodePackages.node2nix
node2nix \
--nodejs-10 \
--node-env ../../../development/node-packages/node-env.nix \
--development \
--input package.json \
--output node-packages.nix \
--composition node-composition.nix

@ -0,0 +1,17 @@
# This file has been generated by node2nix 1.7.0. Do not edit!
{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let
nodeEnv = import ../../../development/node-packages/node-env.nix {
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
inherit nodejs;
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
};
in
import ./node-packages.nix {
inherit (pkgs) fetchurl fetchgit;
inherit nodeEnv;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,3 @@
[
{"matrix-appservice-slack": "git+https://github.com/matrix-org/matrix-appservice-slack.git#1.0.1" }
]

@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "grafana";
version = "6.4.2";
version = "6.4.3";
goPackagePath = "github.com/grafana/grafana";
@ -12,12 +12,12 @@ buildGoPackage rec {
rev = "v${version}";
owner = "grafana";
repo = "grafana";
sha256 = "12j0lksryggn7lg003ma2cnblclgzdw6b8rhz1wbq8d68m1mq5wv";
sha256 = "0150s14yjgshncs94xf42yrz7awvw2x91j0j9v23fypqmlch2p3m";
};
srcStatic = fetchurl {
url = "https://dl.grafana.com/oss/release/grafana-${version}.linux-amd64.tar.gz";
sha256 = "0ch35h681yq5w7cpys0iiv3kva9hiqxzgk2gp0vcnadzmincwj7c";
sha256 = "0gr9m05h8qx3g0818b0qf1w26pdir3c5ydgi9zwdhjkppsq14dq2";
};
postPatch = ''

@ -19,14 +19,13 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
cp -R bin/{zkCli,zkCleanup,zkEnv,zkServer}.sh $out/bin
patchShebangs $out/bin
substituteInPlace $out/bin/zkServer.sh \
--replace /bin/echo ${coreutils}/bin/echo
for i in $out/bin/{zkCli,zkCleanup,zkServer}.sh; do
wrapProgram $i \
--set JAVA_HOME "${jre}" \
--prefix PATH : "${bash}/bin"
done
substituteInPlace $out/bin/zkServer.sh \
--replace /bin/echo ${coreutils}/bin/echo \
--replace "/usr/bin/env bash" ${bash}/bin/bash
chmod -x $out/bin/zkEnv.sh
mkdir -p $out/share/zooinspector

@ -1,6 +1,6 @@
{ config, stdenv, lib, fetchurl, intltool, pkgconfig, python3Packages, bluez, gtk3
, obex_data_server, xdg_utils, dnsmasq, dhcp, libappindicator, iproute
, gnome3, librsvg, wrapGAppsHook, gobject-introspection
, gnome3, librsvg, wrapGAppsHook, gobject-introspection, autoreconfHook
, networkmanager, withPulseAudio ? config.pulseaudio or stdenv.isLinux, libpulseaudio, fetchpatch }:
let
@ -19,6 +19,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [
gobject-introspection intltool pkgconfig pythonPackages.cython
pythonPackages.wrapPython wrapGAppsHook
autoreconfHook # drop when below patch is removed
];
buildInputs = [ bluez gtk3 pythonPackages.python librsvg
@ -29,8 +30,12 @@ in stdenv.mkDerivation rec {
patches = [
# Don't use etc/dbus-1/system.d
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/blueman-project/blueman/pull/1103.patch";
sha256 = "0zqdi6ya97jljwinn10n9q6bixl23ww55c0pkhskn140qnrj42wf";
url = "https://github.com/blueman-project/blueman/commit/ae2be5a70cdea1d1aa0e3ab1c85c1d3a0c4affc6.patch";
sha256 = "0nb6jzlxhgjvac52cjwi0pi40b8v4h6z6pwz5vkyfmaj86spygg3";
excludes = [
"meson.build"
"Dependencies.md"
];
})
];

@ -1,21 +1,23 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
version = "2.2.2";
version = "2.3.0";
pname = "oxipng";
src = fetchFromGitHub {
owner = "shssoichiro";
repo = pname;
rev = "v${version}";
sha256 = "07amczmyqs09zfp564nk8jy1n65y8pvk89qq6jv5k8npai8zvixn";
sha256 = "1cx026g1gdvk4qmnrbsmg46y2lizx0wqny25hhdjnh9pwzjc77mh";
};
cargoSha256 = "1fkghjzsyg27n6k2yki0yhbdmmb1whgy5fjpydpjm4yv448nhhbm";
cargoSha256 = "1213mg7xhv9ymgm0xqdai5wgammz9n07whw2d42m83208k94zss3";
# https://crates.io/crates/cloudflare-zlib#arm-vs-nightly-rust
cargoBuildFlags = [ "--features=cloudflare-zlib/arm-always" ];
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
meta = with stdenv.lib; {
homepage = https://github.com/shssoichiro/oxipng;
description = "A multithreaded lossless PNG compression optimizer";

@ -18,11 +18,11 @@ buildPythonPackage rec {
# The websites youtube-dl deals with are a very moving target. That means that
# downloads break constantly. Because of that, updates should always be backported
# to the latest stable release.
version = "2019.09.28";
version = "2019.10.16";
src = fetchurl {
url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz";
sha256 = "0nrk0bk6lksnmng8lwhcpkc57iibzjjamlqz8rxjpsw6dnzxz82h";
sha256 = "089bm68255b8af9y1mf1bmsnci9b2vdcm2a9x4rnrvhrwhxb9b7j";
};
nativeBuildInputs = [ makeWrapper ];

@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
(fetchpatch {
url = "https://git.alpinelinux.org/aports/plain/main/iperf3/remove-pg-flags.patch?id=99ec9e1c84e338629cf1b27b0fdc808bde4d8564";
url = "https://git.alpinelinux.org/aports/plain/main/iperf3/remove-pg-flags.patch?id=7f979fc51ae31d5c695d8481ba84a4afc5080efb";
name = "remove-pg-flags.patch";
sha256 = "0b3vcw1pdyk10764p4vlglwi1acrm7wz2jjd6li7p11v4rggrb5c";
sha256 = "0z3zsmf7ln08rg1mmzl8s8jm5gp8x62f5cxiqcmi8dcs2nsxwgbi";
})
];

@ -6,13 +6,13 @@
let
pname = "network-manager-applet";
version = "1.8.22";
version = "1.8.24";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1vbyhxknixyrf75pbjl3rxcy32m8y9cx5s30s3598vgza081rvzb";
sha256 = "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi";
};
mesonFlags = [

@ -1,16 +1,16 @@
{ stdenv, lib, rustPlatform, fetchFromGitHub, openssl, pkg-config, Security, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "cargo-audit";
version = "0.9.1";
version = "0.9.3";
src = fetchFromGitHub {
owner = "RustSec";
repo = "cargo-audit";
rev = "v${version}";
sha256 = "0j556dh0lf2l8nq7pfl5bbypgsvp00fh6ckms9wr4dgb8xvpf2r1";
sha256 = "0yd3qj475hh394f1ya0hwki3pbzkfyz5cssy28cq9bimibxhyfd8";
};
cargoSha256 = "0200x0bdllq7mpxmp7ly5jarpkc3gpg22gxq8qvdbnmyd39b7wx0";
cargoSha256 = "0ba4xrjrh8cbi4pksax3gs7jaiw5mrb9hdrdwaghkikmiza1c08g";
buildInputs = [ openssl libiconv ] ++ lib.optionals stdenv.isDarwin [ Security ];
nativeBuildInputs = [ pkg-config ];

@ -19,6 +19,7 @@ python3Packages.buildPythonApplication rec {
click
requests
characteristic
setuptools
];
meta = {

@ -5,7 +5,7 @@
buildGoPackage rec {
pname = "keybase";
version = "4.3.1";
version = "4.6.0";
goPackagePath = "github.com/keybase/client";
subPackages = [ "go/keybase" ];
@ -16,7 +16,7 @@ buildGoPackage rec {
owner = "keybase";
repo = "client";
rev = "v${version}";
sha256 = "1743d7a7ix882yxz9pk230vdvdj46sbscqv4wqyhb0la2pl9jqdp";
sha256 = "1aqj5s3vfji1zl7xdzphnsw3b8pnbg22n9rzdxkcdjf7via5wz2k";
};
buildInputs = lib.optionals stdenv.isDarwin [ AVFoundation AudioToolbox ImageIO CoreMedia Foundation CoreGraphics MediaToolbox ];

@ -4,16 +4,16 @@
, runtimeShell, gsettings-desktop-schemas }:
let
versionSuffix = "20190813132700.6f497ec371";
versionSuffix = "20191010154240.134c2d892b";
in
stdenv.mkDerivation rec {
pname = "keybase-gui";
version = "4.3.1"; # Find latest version from https://prerelease.keybase.io/deb/dists/stable/main/binary-amd64/Packages
version = "4.6.0"; # Find latest version from https://prerelease.keybase.io/deb/dists/stable/main/binary-amd64/Packages
src = fetchurl {
url = "https://s3.amazonaws.com/prerelease.keybase.io/linux_binaries/deb/keybase_${version + "-" + versionSuffix}_amd64.deb";
sha256 = "1mbbfy1aijqr8209jjja6dm2nzw721qqw94839df047rcwnd38pg";
sha256 = "a25f0c676c00d306859d32e4dad7a23dd4955fa0b352be50c281081f2cf000ae";
};
nativeBuildInputs = [

@ -11,11 +11,11 @@ in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "3.22.1";
version = "3.23.1";
src = fetchurl {
url = "https://github.com/balabit/${pname}/releases/download/${name}/${name}.tar.gz";
sha256 = "1j3l9pn3lf9w87vvwbnxk098gprbqzmfpfw1rch46mgsfqvl8mh6";
sha256 = "0f6d19ysf2bd12fzagrbbrdp854pwx794ymp8d0zfc98k30wydpv";
};
nativeBuildInputs = [ pkgconfig which ];

@ -700,8 +700,6 @@ in
iamy = callPackage ../tools/admin/iamy { };
azure-cli = nodePackages_10_x.azure-cli;
azure-storage-azcopy = callPackage ../development/tools/azcopy { };
azure-vhd-utils = callPackage ../tools/misc/azure-vhd-utils { };
@ -4371,6 +4369,8 @@ in
matrix-synapse = callPackage ../servers/matrix-synapse { };
matrix-appservice-slack = callPackage ../servers/matrix-synapse/matrix-appservice-slack {};
mautrix-telegram = recurseIntoAttrs (callPackage ../servers/mautrix-telegram { });
mautrix-whatsapp = callPackage ../servers/mautrix-whatsapp { };
@ -5711,7 +5711,7 @@ in
pwnat = callPackage ../tools/networking/pwnat { };
pwndbg = python3Packages.callPackage ../development/tools/misc/pwndbg { };
pwndbg = callPackage ../development/tools/misc/pwndbg { };
pycangjie = pythonPackages.pycangjie;
@ -6886,6 +6886,10 @@ in
wasm-text-gen = nodePackages."@webassemblyjs/wasm-text-gen";
wast-refmt = nodePackages."@webassemblyjs/wast-refmt";
wasm-bindgen-cli = callPackage ../development/tools/wasm-bindgen-cli {
inherit (darwin.apple_sdk.frameworks) Security;
};
welkin = callPackage ../tools/graphics/welkin {};
wf-recorder = callPackage ../applications/video/wf-recorder { };

@ -211,12 +211,6 @@ let
digestif = callPackage ../development/ocaml-modules/digestif { };
doc-ock = callPackage ../development/ocaml-modules/doc-ock { };
doc-ock-html = callPackage ../development/ocaml-modules/doc-ock-html { };
doc-ock-xml = callPackage ../development/ocaml-modules/doc-ock-xml { };
dolmen = callPackage ../development/ocaml-modules/dolmen { };
dolog = callPackage ../development/ocaml-modules/dolog { };
@ -749,6 +743,8 @@ let
sedlex = callPackage ../development/ocaml-modules/sedlex { };
spelll = callPackage ../development/ocaml-modules/spelll { };
sqlite3EZ = callPackage ../development/ocaml-modules/sqlite3EZ { };
ssl = callPackage ../development/ocaml-modules/ssl { };

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