Merge master into staging

This commit is contained in:
Frederik Rietdijk 2018-05-28 14:09:55 +02:00
commit dcd59a6f3e
38 changed files with 4525 additions and 1139 deletions

View File

@ -4141,6 +4141,11 @@
github = "wscott"; github = "wscott";
name = "Wayne Scott"; name = "Wayne Scott";
}; };
wucke13 = {
email = "info@wucke13.de";
github = "wucke13";
name = "Wucke";
};
wyvie = { wyvie = {
email = "elijahrum@gmail.com"; email = "elijahrum@gmail.com";
github = "wyvie"; github = "wyvie";

View File

@ -316,6 +316,7 @@
monetdb = 290; monetdb = 290;
restic = 291; restic = 291;
openvpn = 292; openvpn = 292;
meguca = 293;
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
@ -592,6 +593,7 @@
monetdb = 290; monetdb = 290;
restic = 291; restic = 291;
openvpn = 292; openvpn = 292;
meguca = 293;
# When adding a gid, make sure it doesn't match an existing # When adding a gid, make sure it doesn't match an existing
# uid. Users and groups with the same name should have equal # uid. Users and groups with the same name should have equal

View File

@ -667,6 +667,7 @@
./services/web-servers/lighttpd/default.nix ./services/web-servers/lighttpd/default.nix
./services/web-servers/lighttpd/gitweb.nix ./services/web-servers/lighttpd/gitweb.nix
./services/web-servers/lighttpd/inginious.nix ./services/web-servers/lighttpd/inginious.nix
./services/web-servers/meguca.nix
./services/web-servers/mighttpd2.nix ./services/web-servers/mighttpd2.nix
./services/web-servers/minio.nix ./services/web-servers/minio.nix
./services/web-servers/nginx/default.nix ./services/web-servers/nginx/default.nix

View File

@ -0,0 +1,158 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.meguca;
postgres = config.services.postgresql;
in
{
options.services.meguca = {
enable = mkEnableOption "meguca";
baseDir = mkOption {
type = types.path;
default = "/run/meguca";
description = "Location where meguca stores it's database and links.";
};
password = mkOption {
type = types.str;
default = "meguca";
description = "Password for the meguca database.";
};
passwordFile = mkOption {
type = types.path;
default = "/run/keys/meguca-password-file";
description = "Password file for the meguca database.";
};
reverseProxy = mkOption {
type = types.nullOr types.str;
default = null;
description = "Reverse proxy IP.";
};
sslCertificate = mkOption {
type = types.nullOr types.str;
default = null;
description = "Path to the SSL certificate.";
};
listenAddress = mkOption {
type = types.nullOr types.str;
default = null;
description = "Listen on a specific IP address and port.";
};
cacheSize = mkOption {
type = types.nullOr types.int;
default = null;
description = "Cache size in MB.";
};
postgresArgs = mkOption {
type = types.str;
default = "user=meguca password=" + cfg.password + " dbname=meguca sslmode=disable";
description = "Postgresql connection arguments.";
};
postgresArgsFile = mkOption {
type = types.path;
default = "/run/keys/meguca-postgres-args";
description = "Postgresql connection arguments file.";
};
compressTraffic = mkOption {
type = types.bool;
default = false;
description = "Compress all traffic with gzip.";
};
assumeReverseProxy = mkOption {
type = types.bool;
default = false;
description = "Assume the server is behind a reverse proxy, when resolving client IPs.";
};
httpsOnly = mkOption {
type = types.bool;
default = false;
description = "Serve and listen only through HTTPS.";
};
};
config = mkIf cfg.enable {
security.sudo.enable = cfg.enable == true;
services.postgresql.enable = cfg.enable == true;
services.meguca.passwordFile = mkDefault (toString (pkgs.writeTextFile {
name = "meguca-password-file";
text = cfg.password;
}));
services.meguca.postgresArgsFile = mkDefault (toString (pkgs.writeTextFile {
name = "meguca-postgres-args";
text = cfg.postgresArgs;
}));
systemd.services.meguca = {
description = "meguca";
after = [ "network.target" "postgresql.service" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
# Ensure folder exists and links are correct or create them
mkdir -p ${cfg.baseDir}
ln -sf ${pkgs.meguca}/share/meguca/www ${cfg.baseDir}
# Ensure the database is correct or create it
${pkgs.sudo}/bin/sudo -u ${postgres.superUser} ${postgres.package}/bin/createuser \
-SDR meguca || true
${pkgs.sudo}/bin/sudo -u ${postgres.superUser} ${postgres.package}/bin/psql \
-c "ALTER ROLE meguca WITH PASSWORD '$(cat ${cfg.passwordFile})';" || true
${pkgs.sudo}/bin/sudo -u ${postgres.superUser} ${postgres.package}/bin/createdb \
-T template0 -E UTF8 -O meguca meguca || true
'';
script = ''
cd ${cfg.baseDir}
${pkgs.meguca}/bin/meguca -d "$(cat ${cfg.postgresArgsFile})"\
${optionalString (cfg.reverseProxy != null) " -R ${cfg.reverseProxy}"}\
${optionalString (cfg.sslCertificate != null) " -S ${cfg.sslCertificate}"}\
${optionalString (cfg.listenAddress != null) " -a ${cfg.listenAddress}"}\
${optionalString (cfg.cacheSize != null) " -c ${toString cfg.cacheSize}"}\
${optionalString (cfg.compressTraffic) " -g"}\
${optionalString (cfg.assumeReverseProxy) " -r"}\
${optionalString (cfg.httpsOnly) " -s"} start
'';
serviceConfig = {
PermissionsStartOnly = true;
Type = "forking";
User = "meguca";
Group = "meguca";
RuntimeDirectory = "meguca";
ExecStop = "${pkgs.meguca}/bin/meguca stop";
};
};
users = {
extraUsers.meguca = {
description = "meguca server service user";
home = cfg.baseDir;
createHome = true;
group = "meguca";
uid = config.ids.uids.meguca;
};
extraGroups.meguca = {
gid = config.ids.gids.meguca;
members = [ "meguca" ];
};
};
};
meta.maintainers = with maintainers; [ chiiruno ];
}

View File

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
name = "go-ethereum-${version}"; name = "go-ethereum-${version}";
version = "1.8.6"; version = "1.8.8";
goPackagePath = "github.com/ethereum/go-ethereum"; goPackagePath = "github.com/ethereum/go-ethereum";
# Fix for usb-related segmentation faults on darwin # Fix for usb-related segmentation faults on darwin
@ -27,7 +27,7 @@ buildGoPackage rec {
owner = "ethereum"; owner = "ethereum";
repo = "go-ethereum"; repo = "go-ethereum";
rev = "v${version}"; rev = "v${version}";
sha256 = "1n6f34r7zlc64l1q8xzcjk5sljdznjwp81d9naapprhpqb8g01gl"; sha256 = "059nd2jvklziih679dd4cd34xjpj1ci7fha83wv86xjz61awyb16";
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, dpkg, lib, glib, dbus, makeWrapper, gnome2, gtk3, atk, cairo { stdenv, fetchurl, dpkg, lib, glib, dbus, makeWrapper, gnome2, gnome3, gtk3, atk, cairo
, freetype, fontconfig, nspr, nss, xorg, alsaLib, cups, expat, udev }: , freetype, fontconfig, nspr, nss, xorg, alsaLib, cups, expat, udev, wrapGAppsHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "typora-${version}"; name = "typora-${version}";
@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
gnome2.gtk gnome2.gtk
gnome2.gdk_pixbuf gnome2.gdk_pixbuf
gnome2.pango gnome2.pango
gnome3.defaultIconTheme
expat expat
gtk3 gtk3
atk atk
@ -51,6 +52,9 @@ stdenv.mkDerivation rec {
xorg.libXScrnSaver xorg.libXScrnSaver
]; ];
nativeBuildInputs = [ wrapGAppsHook ];
dontWrapGApps = true;
buildInputs = [ dpkg makeWrapper ]; buildInputs = [ dpkg makeWrapper ];
@ -72,7 +76,13 @@ stdenv.mkDerivation rec {
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "$out/share/typora:${rpath}" "$out/share/typora/Typora" --set-rpath "$out/share/typora:${rpath}" "$out/share/typora/Typora"
ln -s "$out/share/typora/Typora" "$out/bin/typora" makeWrapper $out/share/typora/Typora $out/bin/typora
wrapProgram $out/bin/typora \
"''${gappsWrapperArgs[@]}" \
--suffix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \
--set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR" \
--prefix XDG_DATA_DIRS : "${gnome3.defaultIconTheme}/share"
# Fix the desktop link # Fix the desktop link
substituteInPlace $out/share/applications/typora.desktop \ substituteInPlace $out/share/applications/typora.desktop \

View File

@ -7,7 +7,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dbeaver-ce-${version}"; name = "dbeaver-ce-${version}";
version = "5.0.5"; version = "5.0.6";
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
name = "dbeaver"; name = "dbeaver";
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz"; url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
sha256 = "1rcskrv8d3rjcfcn1sxzcaxnvmzgdsbjc9m11li8i4rln712ysza"; sha256 = "12crrazlfzvr1c6y33z7v4z7ip9pjbzki8cw15v5d2irkpa710ky";
}; };
installPhase = '' installPhase = ''

View File

@ -1,25 +1,8 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchurl, go-bindata, kubernetes, libvirt, qemu, docker-machine-kvm, { stdenv, buildGoPackage, fetchFromGitHub, fetchurl, go-bindata, libvirt, qemu, docker-machine-kvm,
gpgme, makeWrapper, hostPlatform, vmnet }: gpgme, makeWrapper, hostPlatform, vmnet, python }:
let let binPath = stdenv.lib.optionals stdenv.isLinux [ libvirt qemu docker-machine-kvm ];
binPath = [ kubernetes ]
++ stdenv.lib.optionals stdenv.isLinux [ libvirt qemu docker-machine-kvm ]
++ stdenv.lib.optionals stdenv.isDarwin [];
# Normally, minikube bundles localkube in its own binary via go-bindata. Unfortunately, it needs to make that localkube
# a static linux binary, and our Linux nixpkgs go compiler doesn't seem to work when asking for a cgo binary that's static
# (presumably because we don't have some static system libraries it wants), and cross-compiling cgo on Darwin is a nightmare.
#
# Note that minikube can download (and cache) versions of localkube it needs on demand. Unfortunately, minikube's knowledge
# of where it can download versions of localkube seems to rely on a json file that doesn't get updated as often as we'd like. So
# instead, we download localkube ourselves and shove it into the minikube binary. The versions URL that minikube uses is
# currently https://storage.googleapis.com/minikube/k8s_releases.json
localkube-version = "1.10.0";
localkube-binary = fetchurl {
url = "https://storage.googleapis.com/minikube/k8sReleases/v${localkube-version}/localkube-linux-amd64";
sha256 = "02lkl2g274689h07pkcwnxn04swy6aa3f2z77n421mx38bbq2kpd";
};
in buildGoPackage rec { in buildGoPackage rec {
pname = "minikube"; pname = "minikube";
name = "${pname}-${version}"; name = "${pname}-${version}";
@ -34,42 +17,40 @@ in buildGoPackage rec {
sha256 = "00gj8x5p0vxwy0y0g5nnddmq049h7zxvhb73lb4gii5mghr9mkws"; sha256 = "00gj8x5p0vxwy0y0g5nnddmq049h7zxvhb73lb4gii5mghr9mkws";
}; };
patches = [ buildInputs = [ go-bindata makeWrapper gpgme ] ++ stdenv.lib.optional hostPlatform.isDarwin vmnet;
./localkube.patch subPackages = [ "cmd/minikube" ] ++ stdenv.lib.optional hostPlatform.isDarwin "cmd/drivers/hyperkit";
];
# kubernetes is here only to shut up a loud warning when generating the completions below. minikube checks very eagerly
# that kubectl is on the $PATH, even if it doesn't use it at all to generate the completions
buildInputs = [ go-bindata makeWrapper kubernetes gpgme ] ++ stdenv.lib.optional hostPlatform.isDarwin vmnet;
subPackages = [ "cmd/minikube" ];
preBuild = '' preBuild = ''
pushd go/src/${goPackagePath} >/dev/null pushd go/src/${goPackagePath} >/dev/null
mkdir -p out go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
cp ${localkube-binary} out/localkube
go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets ./out/localkube deploy/addons/...
ISO_VERSION=$(grep "^ISO_VERSION" Makefile | sed "s/^.*\s//") ISO_VERSION=$(grep "^ISO_VERSION" Makefile | sed "s/^.*\s//")
ISO_BUCKET=$(grep "^ISO_BUCKET" Makefile | sed "s/^.*\s//") ISO_BUCKET=$(grep "^ISO_BUCKET" Makefile | sed "s/^.*\s//")
KUBERNETES_VERSION=$(${python}/bin/python hack/get_k8s_version.py --k8s-version-only 2>&1) || true
export buildFlagsArray="-ldflags=\ export buildFlagsArray="-ldflags=\
-X k8s.io/minikube/pkg/version.version=v${version} \ -X k8s.io/minikube/pkg/version.version=v${version} \
-X k8s.io/minikube/pkg/version.isoVersion=$ISO_VERSION \ -X k8s.io/minikube/pkg/version.isoVersion=$ISO_VERSION \
-X k8s.io/minikube/pkg/version.isoPath=$ISO_BUCKET" -X k8s.io/minikube/pkg/version.isoPath=$ISO_BUCKET \
-X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=$KUBERNETES_VERSION \
-X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=$KUBERNETES_VERSION"
popd >/dev/null popd >/dev/null
''; '';
postInstall = '' postInstall = ''
mkdir -p $bin/share/bash-completion/completions/ mkdir -p $bin/share/bash-completion/completions/
MINIKUBE_WANTUPDATENOTIFICATION=false HOME=$PWD $bin/bin/minikube completion bash > $bin/share/bash-completion/completions/minikube MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTKUBECTLDOWNLOADMSG=false HOME=$PWD $bin/bin/minikube completion bash > $bin/share/bash-completion/completions/minikube
mkdir -p $bin/share/zsh/site-functions/ mkdir -p $bin/share/zsh/site-functions/
MINIKUBE_WANTUPDATENOTIFICATION=false HOME=$PWD $bin/bin/minikube completion zsh > $bin/share/zsh/site-functions/_minikube MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTKUBECTLDOWNLOADMSG=false HOME=$PWD $bin/bin/minikube completion zsh > $bin/share/zsh/site-functions/_minikube
''; '';
postFixup = "wrapProgram $bin/bin/${pname} --prefix PATH : ${stdenv.lib.makeBinPath binPath}"; postFixup = ''
wrapProgram $bin/bin/${pname} --prefix PATH : $bin/bin:${stdenv.lib.makeBinPath binPath}
'' + stdenv.lib.optionalString hostPlatform.isDarwin ''
mv $bin/bin/hyperkit $bin/bin/docker-machine-driver-hyperkit
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/kubernetes/minikube; homepage = https://github.com/kubernetes/minikube;

View File

@ -1,20 +0,0 @@
diff --git a/pkg/minikube/bootstrapper/localkube/localkube.go b/pkg/minikube/bootstrapper/localkube/localkube.go
index 1c4b5000..c9f120d4 100644
--- a/pkg/minikube/bootstrapper/localkube/localkube.go
+++ b/pkg/minikube/bootstrapper/localkube/localkube.go
@@ -113,14 +113,9 @@ func (lk *LocalkubeBootstrapper) UpdateCluster(config bootstrapper.KubernetesCon
copyableFiles := []assets.CopyableFile{}
var localkubeFile assets.CopyableFile
- var err error
//add url/file/bundled localkube to file list
- lCacher := localkubeCacher{config}
- localkubeFile, err = lCacher.fetchLocalkubeFromURI()
- if err != nil {
- return errors.Wrap(err, "Error updating localkube from uri")
- }
+ localkubeFile = assets.NewBinDataAsset("out/localkube", "/usr/local/bin/", "localkube", "0777")
copyableFiles = append(copyableFiles, localkubeFile)
// user added files

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, makeDesktopItem, makeWrapper, autoPatchelfHook { stdenv, fetchurl, makeDesktopItem, makeWrapper, autoPatchelfHook
, xorg, gtk2, atk, glib, pango, gdk_pixbuf, cairo, freetype, fontconfig , xorg, atk, glib, pango, gdk_pixbuf, cairo, freetype, fontconfig
, gnome2, dbus, nss, nspr, alsaLib, cups, expat, udev, libnotify, xdg_utils }: , gnome3, dbus, nss, nspr, alsaLib, cups, expat, udev, libnotify, xdg_utils }:
let let
bits = if stdenv.system == "x86_64-linux" then "x64" bits = if stdenv.system == "x86_64-linux" then "x64"
@ -33,8 +33,8 @@ in stdenv.mkDerivation rec {
libXi libXcursor libXdamage libXrandr libXcomposite libXext libXfixes libXi libXcursor libXdamage libXrandr libXcomposite libXext libXfixes
libXrender libX11 libXtst libXScrnSaver libXrender libX11 libXtst libXScrnSaver
]) ++ [ ]) ++ [
gtk2 atk glib pango gdk_pixbuf cairo freetype fontconfig dbus gnome3.gtk2 atk glib pango gdk_pixbuf cairo freetype fontconfig dbus
gnome2.GConf nss nspr alsaLib cups expat stdenv.cc.cc gnome3.gconf nss nspr alsaLib cups expat stdenv.cc.cc
]; ];
runtimeDependencies = [ udev.lib libnotify ]; runtimeDependencies = [ udev.lib libnotify ];

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, dpkg, gnome2, atk, cairo, gdk_pixbuf, glib, freetype, { stdenv, lib, fetchurl, dpkg, gnome3, atk, cairo, pango, gdk_pixbuf, glib, freetype,
fontconfig, dbus, libX11, xorg, libXi, libXcursor, libXdamage, libXrandr, fontconfig, dbus, libX11, xorg, libXi, libXcursor, libXdamage, libXrandr,
libXcomposite, libXext, libXfixes, libXrender, libXtst, libXScrnSaver, nss, libXcomposite, libXext, libXfixes, libXrender, libXtst, libXScrnSaver, nss,
nspr, alsaLib, cups, expat, udev nspr, alsaLib, cups, expat, udev
@ -15,9 +15,9 @@ let
freetype freetype
gdk_pixbuf gdk_pixbuf
glib glib
gnome2.GConf gnome3.gconf
gnome2.gtk gnome3.gtk2
gnome2.pango pango
libX11 libX11
libXScrnSaver libXScrnSaver
libXcomposite libXcomposite

View File

@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
++ optionals pythonSupport [ python swig ] ++ optionals pythonSupport [ python swig ]
++ optionals docSupport [ doxygen ]; ++ optionals docSupport [ doxygen ];
preBuild = stdenv.lib.optionalString docSupport ''
make doc_i
'';
propagatedBuildInputs = [ libusb1 ]; propagatedBuildInputs = [ libusb1 ];
postInstall = '' postInstall = ''

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, cmake }:
let
version = "2.6.0";
in
stdenv.mkDerivation {
name = "libversion-${version}";
src = fetchFromGitHub {
owner = "repology";
repo = "libversion";
rev = version;
sha256 = "0krhfycva3l4rhac5kx6x1a6fad594i9i77vy52rwn37j62bm601";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
description = "Advanced version string comparison library";
homepage = https://github.com/repology/libversion;
license = with licenses; [ mit ];
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
};
}

View File

@ -18,5 +18,8 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
checkTarget = "test"; checkTarget = "test";
# requires optimisation but memory operations are compiled with -O0
hardeningDisable = ["fortify"];
installFlags = "PREFIX=$(out)"; installFlags = "PREFIX=$(out)";
} }

View File

@ -61,6 +61,7 @@
, "livedown" , "livedown"
, "live-server" , "live-server"
, "meat" , "meat"
, "meguca"
, "mocha" , "mocha"
, "multi-file-swagger" , "multi-file-swagger"
, "nijs" , "nijs"

File diff suppressed because it is too large Load Diff

View File

@ -49,13 +49,13 @@ let
sha1 = "cbc4b9a68981bf0b501ccd06a9058acd65309bf7"; sha1 = "cbc4b9a68981bf0b501ccd06a9058acd65309bf7";
}; };
}; };
"@types/node-10.0.4" = { "@types/node-10.1.1" = {
name = "_at_types_slash_node"; name = "_at_types_slash_node";
packageName = "@types/node"; packageName = "@types/node";
version = "10.0.4"; version = "10.1.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/@types/node/-/node-10.0.4.tgz"; url = "https://registry.npmjs.org/@types/node/-/node-10.1.1.tgz";
sha512 = "2zwjjfa4s706r0w45siwgzax5c8g5j3z79dkckwzgrzqxglj070ijv0m9g1ipc1y4kr7l0r9qia9yfxc9syw64hib8vh216cxk1las6"; sha512 = "35nbbgd4qp35g3nfbrsc9ndmigc9gl31xdjhx0fakfms35c6jqxpdx7m9c3pi0h3b062p31al5vas36facjhs1nmxf3bdpnrb5k3g4z";
}; };
}; };
"@types/superagent-3.5.6" = { "@types/superagent-3.5.6" = {
@ -1228,13 +1228,13 @@ let
sha1 = "0433f44d809680fdeb60ed260f1b0c262e82a40b"; sha1 = "0433f44d809680fdeb60ed260f1b0c262e82a40b";
}; };
}; };
"colors-1.2.4" = { "colors-1.2.5" = {
name = "colors"; name = "colors";
packageName = "colors"; packageName = "colors";
version = "1.2.4"; version = "1.2.5";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/colors/-/colors-1.2.4.tgz"; url = "https://registry.npmjs.org/colors/-/colors-1.2.5.tgz";
sha512 = "1ch53w9md043zff52vsmh89qirws3x7n4zw88xxw0h98fjg71dsll3gh1b598a48xq98d15qpjb07g9ddjsfknrba0byp56fl3a53z9"; sha512 = "2k2a7k096qcm5fghgcmybg96y3x5bpqb62j0zdlnxq7za4asb6vsy9i69nkg9wqfhkcbh6qzm8zzvq7q516p54awxpp2qrzm8nm3cvs";
}; };
}; };
"combine-errors-3.0.3" = { "combine-errors-3.0.3" = {
@ -1615,13 +1615,13 @@ let
sha512 = "0i32dn4p0dmjbljm9csnrfibnrgljbqcqkiy5n2wn0mdqpklnv6k9imrv93c0j6p5hsrpnnpjdibhw6fyf5a3183g2wxd1zw5avx6hi"; sha512 = "0i32dn4p0dmjbljm9csnrfibnrgljbqcqkiy5n2wn0mdqpklnv6k9imrv93c0j6p5hsrpnnpjdibhw6fyf5a3183g2wxd1zw5avx6hi";
}; };
}; };
"dat-link-resolve-2.1.0" = { "dat-link-resolve-2.1.1" = {
name = "dat-link-resolve"; name = "dat-link-resolve";
packageName = "dat-link-resolve"; packageName = "dat-link-resolve";
version = "2.1.0"; version = "2.1.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-2.1.0.tgz"; url = "https://registry.npmjs.org/dat-link-resolve/-/dat-link-resolve-2.1.1.tgz";
sha512 = "0dzpf71lpzr1z3g6m3v29xvcs9r12sgjpzzmg2viy3azkgpscl7p2v8im2ibsa22q64abifkibb4nc3nshs19wvai67m3gdqx15qzvn"; sha512 = "3rchn6ap0ma8ij6qcvf74csbhn41nn5xpyzkf9cabr8fmzbj406iz4vvf0hqq473nfpyrvs1ffw2k3bqp4lv1nb98n39m2f5g3f14zp";
}; };
}; };
"dat-log-1.1.1" = { "dat-log-1.1.1" = {
@ -2443,13 +2443,13 @@ let
sha1 = "bd162262c0b6e94bfbcdcf19a3bbb3764f785695"; sha1 = "bd162262c0b6e94bfbcdcf19a3bbb3764f785695";
}; };
}; };
"fill-range-2.2.3" = { "fill-range-2.2.4" = {
name = "fill-range"; name = "fill-range";
packageName = "fill-range"; packageName = "fill-range";
version = "2.2.3"; version = "2.2.4";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz"; url = "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz";
sha1 = "50b77dfd7e469bc7492470963699fe7a8485a723"; sha512 = "3jpxxzv8ji9xqk6xwbr20nsl31jjqr5asnv0ayixyc3r393yv4r44b7lifpk1pqaw8clzs0cy7dnw9yb5axpg9ih7vfimzlp04xqykj";
}; };
}; };
"fill-range-4.0.0" = { "fill-range-4.0.0" = {
@ -2641,13 +2641,13 @@ let
sha1 = "1504ad2523158caa40db4a2787cb01411994ea4f"; sha1 = "1504ad2523158caa40db4a2787cb01411994ea4f";
}; };
}; };
"fsevents-1.2.3" = { "fsevents-1.2.4" = {
name = "fsevents"; name = "fsevents";
packageName = "fsevents"; packageName = "fsevents";
version = "1.2.3"; version = "1.2.4";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/fsevents/-/fsevents-1.2.3.tgz"; url = "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz";
sha512 = "3nsv4z5qk2hhcrp6bng9bzpj4nsk0b41i363phlqfp69dq1p2x6a1g3y86z2j7aj4mfj88y1i1agkb1y0pg5c388223h394jqxppvjz"; sha512 = "0vfzl6byj55zmi8xiqb9bqd5q0awlpgz4hsph9xzhzrd46did859d6fp5vydh7n4d0n1ph5q36smq6k3pjq6w5fxs0vx4xjv3yzrhfg";
}; };
}; };
"fstream-1.0.11" = { "fstream-1.0.11" = {
@ -3100,13 +3100,13 @@ let
sha1 = "d96c92732076f072711b6b10fd7d4f65ad8ee23d"; sha1 = "d96c92732076f072711b6b10fd7d4f65ad8ee23d";
}; };
}; };
"iconv-lite-0.4.22" = { "iconv-lite-0.4.23" = {
name = "iconv-lite"; name = "iconv-lite";
packageName = "iconv-lite"; packageName = "iconv-lite";
version = "0.4.22"; version = "0.4.23";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.22.tgz"; url = "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz";
sha512 = "1fdqcacbfr3yxs5i2kj9kn06lgx2a9yfrdps0hsmw96p1slawiqp3qyfnqczp570wbbi5sr8valqyll05a5gzj3ahppnkl32waaf26l"; sha512 = "062yxlrx4glr90bxn6jdv83qf03c9appkxdjjz5bhbphsx2yrn0y1i6yn9pfr3hfv2xiwq18hxvrvzfzfa7axv0sbgihskda58r7v4x";
}; };
}; };
"iconv-lite-0.4.8" = { "iconv-lite-0.4.8" = {
@ -3793,13 +3793,13 @@ let
sha512 = "2dkl580azs1f5pj72mpygwdcc2mh4p355sxi84ki1w9c6k226nmjfglq5b7zgk5gmpfjammx5xliirzaf2nh9kyhqdb1xpvhjlic34j"; sha512 = "2dkl580azs1f5pj72mpygwdcc2mh4p355sxi84ki1w9c6k226nmjfglq5b7zgk5gmpfjammx5xliirzaf2nh9kyhqdb1xpvhjlic34j";
}; };
}; };
"k-bucket-4.0.0" = { "k-bucket-4.0.1" = {
name = "k-bucket"; name = "k-bucket";
packageName = "k-bucket"; packageName = "k-bucket";
version = "4.0.0"; version = "4.0.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/k-bucket/-/k-bucket-4.0.0.tgz"; url = "https://registry.npmjs.org/k-bucket/-/k-bucket-4.0.1.tgz";
sha512 = "04i173zw3l2aagsnywafmgs87wzhhkakvnhcfvxbnbmn7rz37rkqkryc8d6x8dccqlmvgawb2vhd49ms8s2wkbg3dh3qlffamzcpshk"; sha512 = "1qyasv93yhjmmvsrxq5srbi1y6wj2vqpnnb1wafjxg1ffj01pyhx9jgqw0byrjm097ywrz0k9yki7dcnn2ncwqxyryqys7hincykw32";
}; };
}; };
"k-rpc-4.3.1" = { "k-rpc-4.3.1" = {
@ -4324,22 +4324,22 @@ let
sha1 = "6d4524e8b955f95d4f5b58851ce21dd72fb4e952"; sha1 = "6d4524e8b955f95d4f5b58851ce21dd72fb4e952";
}; };
}; };
"lru-cache-4.1.2" = { "lru-cache-4.1.3" = {
name = "lru-cache"; name = "lru-cache";
packageName = "lru-cache"; packageName = "lru-cache";
version = "4.1.2"; version = "4.1.3";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.2.tgz"; url = "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz";
sha512 = "1whynbvy3pbwcpkxk6rqhsymj2h3bh7p13nfhs9ch6hfx96vrh86j7vd4lqcaqjy5dhsfjps6sh2wqndh269wjz42khbh6339g9a1y2"; sha512 = "0j2ny2y61f70dbzarfa1xazv68dw7nb2r4p5sy46fw6dwr9y0yg003lb1yv7sdl77hcrpzn22mih799z657sz21al4qmf1kr2yj2lbw";
}; };
}; };
"make-dir-1.2.0" = { "make-dir-1.3.0" = {
name = "make-dir"; name = "make-dir";
packageName = "make-dir"; packageName = "make-dir";
version = "1.2.0"; version = "1.3.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/make-dir/-/make-dir-1.2.0.tgz"; url = "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz";
sha512 = "0ivb7kryzyklvicp8a0lsq56pzjmvycb6bs4d0239q9ygcrs8ylx94q57fgxq3vqvzzs9v3ldl5m1jkxfvfaxh5p8lgb0qchmmh1mb8"; sha512 = "2qkk2yzlzrfwnmw8l80cn4l91rfin7fmqn81j39s32i8gzijilbmc798wy51bs3m5gqa6dgrns95gals771jbbl4s4jgdl9ni3za3fv";
}; };
}; };
"map-cache-0.2.2" = { "map-cache-0.2.2" = {
@ -4369,6 +4369,15 @@ let
sha1 = "ecdca8f13144e660f1b5bd41f12f3479d98dfb8f"; sha1 = "ecdca8f13144e660f1b5bd41f12f3479d98dfb8f";
}; };
}; };
"math-random-1.0.1" = {
name = "math-random";
packageName = "math-random";
version = "1.0.1";
src = fetchurl {
url = "https://registry.npmjs.org/math-random/-/math-random-1.0.1.tgz";
sha1 = "8b3aac588b8a66e4975e3cdea67f7bb329601fac";
};
};
"md5-2.2.1" = { "md5-2.2.1" = {
name = "md5"; name = "md5";
packageName = "md5"; packageName = "md5";
@ -5548,13 +5557,13 @@ let
sha512 = "3jz9jky55s8w0pd5q2v58fxdgca5ymbhlif0zn6jv55jr7bvp1xvn60bz4b2k6m399zzxzdk196385wl3gw6xasxzi3mq8xkp9al118"; sha512 = "3jz9jky55s8w0pd5q2v58fxdgca5ymbhlif0zn6jv55jr7bvp1xvn60bz4b2k6m399zzxzdk196385wl3gw6xasxzi3mq8xkp9al118";
}; };
}; };
"randomatic-1.1.7" = { "randomatic-3.0.0" = {
name = "randomatic"; name = "randomatic";
packageName = "randomatic"; packageName = "randomatic";
version = "1.1.7"; version = "3.0.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz"; url = "https://registry.npmjs.org/randomatic/-/randomatic-3.0.0.tgz";
sha512 = "2is2kipfnz3hl4yxgqk07rll6956cq3zzf9cddai3f0lij5acq76v98qv14qkpljh1pqfsyb8p69xa9cyaww6p0j91s4vc9zj6594hg"; sha512 = "142g2k8ipzpkp1sv5zsbk8qy39r5isc1s9q2x910dh6zqwdksd6mkq16apdrfw6ssv14hpg64j4zy3v4m4lclpvwi767phqh4w4bp2m";
}; };
}; };
"randombytes-2.0.6" = { "randombytes-2.0.6" = {
@ -5746,13 +5755,13 @@ let
sha1 = "8dcae470e1c88abc2d600fff4a776286da75e637"; sha1 = "8dcae470e1c88abc2d600fff4a776286da75e637";
}; };
}; };
"request-2.85.0" = { "request-2.86.0" = {
name = "request"; name = "request";
packageName = "request"; packageName = "request";
version = "2.85.0"; version = "2.86.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/request/-/request-2.85.0.tgz"; url = "https://registry.npmjs.org/request/-/request-2.86.0.tgz";
sha512 = "2d3hg10zs5ycnr8prmiwdhacf88fl0x0bi6szs0z2r07zcbk419laixwpjp8sqapbc2ifyyih7p3r60wgr58bmcncz3pqnx523c8zph"; sha512 = "37xa5i4dk3fkcl9gxrzxkjjy6vcqn6bcc61bwq6kjpqrg5i01yc6xn0iq3zy68vqqav93k1kgr2xdabp22p0bfynfcbzxp8ms3n41h5";
}; };
}; };
"resolve-1.1.7" = { "resolve-1.1.7" = {
@ -6079,13 +6088,13 @@ let
sha1 = "50a9989da7c98c2c61dad119bc97470ef8528129"; sha1 = "50a9989da7c98c2c61dad119bc97470ef8528129";
}; };
}; };
"simple-sha1-2.1.0" = { "simple-sha1-2.1.1" = {
name = "simple-sha1"; name = "simple-sha1";
packageName = "simple-sha1"; packageName = "simple-sha1";
version = "2.1.0"; version = "2.1.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/simple-sha1/-/simple-sha1-2.1.0.tgz"; url = "https://registry.npmjs.org/simple-sha1/-/simple-sha1-2.1.1.tgz";
sha1 = "9427bb96ff1263cc10a8414cedd51a18b919e8b3"; sha512 = "2l45afqnby96gdihg3hi51006502yc33wly8cgmgrww00aiq37jdvp22l9qhbxljra5j6s8lwigjh5hpzj521ccgwlhk59zw9vhylx4";
}; };
}; };
"siphash24-1.1.0" = { "siphash24-1.1.0" = {
@ -6250,13 +6259,13 @@ let
sha1 = "8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"; sha1 = "8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc";
}; };
}; };
"source-map-resolve-0.5.1" = { "source-map-resolve-0.5.2" = {
name = "source-map-resolve"; name = "source-map-resolve";
packageName = "source-map-resolve"; packageName = "source-map-resolve";
version = "0.5.1"; version = "0.5.2";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.1.tgz"; url = "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz";
sha512 = "3ccyfzn4imm9m891wy0bqh85lxrsf82snlh7dlgvjc28rpd2m6n95x8kjmm2crcpqv6234xc2lqzp1h1cyx7xrn146nzinzzk1bd9fh"; sha512 = "14dmrwi7wa13wr1mrygjmb49mzsycpj8h5r41y7qvdf98lz9qzaww7vis6cvgqgfx0ly1sx4vsmw45xzlzs6indjcs5pkrjvjyaqfij";
}; };
}; };
"source-map-url-0.4.0" = { "source-map-url-0.4.0" = {
@ -6484,15 +6493,6 @@ let
sha512 = "315yd4vzwrwk3vwj1klf46y1cj2jbvf88066y2rnwhksb98phj46jkxixbwsp3h607w7czy7cby522s7sx8mvspdpdm3s72y2ga3x4z"; sha512 = "315yd4vzwrwk3vwj1klf46y1cj2jbvf88066y2rnwhksb98phj46jkxixbwsp3h607w7czy7cby522s7sx8mvspdpdm3s72y2ga3x4z";
}; };
}; };
"stringstream-0.0.5" = {
name = "stringstream";
packageName = "stringstream";
version = "0.0.5";
src = fetchurl {
url = "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz";
sha1 = "4e484cd4de5a0bbbee18e46307710a8a81621878";
};
};
"strip-ansi-3.0.1" = { "strip-ansi-3.0.1" = {
name = "strip-ansi"; name = "strip-ansi";
packageName = "strip-ansi"; packageName = "strip-ansi";
@ -6691,13 +6691,13 @@ let
sha512 = "25ypdsz6l4xmg1f89pjy8s773j3lzx855iiakbdknz115vxyg4p4z1j0i84iyjpzwgfjfs2l2njpd0y2hlr5sh4n01nh6124zs09y85"; sha512 = "25ypdsz6l4xmg1f89pjy8s773j3lzx855iiakbdknz115vxyg4p4z1j0i84iyjpzwgfjfs2l2njpd0y2hlr5sh4n01nh6124zs09y85";
}; };
}; };
"tar-stream-1.6.0" = { "tar-stream-1.6.1" = {
name = "tar-stream"; name = "tar-stream";
packageName = "tar-stream"; packageName = "tar-stream";
version = "1.6.0"; version = "1.6.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.0.tgz"; url = "https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.1.tgz";
sha512 = "2kw4php0986jgdzqvrih64plc8md1f1v3wfc8mz3y0lz95dmmvba1lpjmwp1v4crgfky63r8an3syfavn3gb0d56xk7615zy40a47cn"; sha512 = "2j2zhpi3nkxdny3qh1rm3xzx5kvdc4f83cqnqbq8yasqyxj6bpvbvff20rbqp6wl8zicx4dndkcjwm3xnprnkq11m7b4hkp1bkwqli0";
}; };
}; };
"term-size-1.2.0" = { "term-size-1.2.0" = {
@ -7123,13 +7123,13 @@ let
sha1 = "d2f0f737d16b0615e72a6935ed04214572d56f97"; sha1 = "d2f0f737d16b0615e72a6935ed04214572d56f97";
}; };
}; };
"upath-1.0.5" = { "upath-1.1.0" = {
name = "upath"; name = "upath";
packageName = "upath"; packageName = "upath";
version = "1.0.5"; version = "1.1.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/upath/-/upath-1.0.5.tgz"; url = "https://registry.npmjs.org/upath/-/upath-1.1.0.tgz";
sha512 = "31m1lljcfngdnpyz67gpkwvb66gx6750si3jzmf1vg6kq420fq5lcd34cfgp6wz3manjpqbp9i98ax2yjl2xs7mq824chw38vvsgcm9"; sha512 = "2pyjsmaajf6k6ql5qj270l0p3xkjvn25wky2qd1vndvl54ljbv8p8sbr44zsfh33mmrnj93ys4499c3h956wbgn4g82z8b1h3z4ffkg";
}; };
}; };
"update-notifier-2.5.0" = { "update-notifier-2.5.0" = {
@ -7267,13 +7267,13 @@ let
sha1 = "5fa912d81eb7d0c74afc140de7317f0ca7df437e"; sha1 = "5fa912d81eb7d0c74afc140de7317f0ca7df437e";
}; };
}; };
"validator-9.4.1" = { "validator-10.2.0" = {
name = "validator"; name = "validator";
packageName = "validator"; packageName = "validator";
version = "9.4.1"; version = "10.2.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/validator/-/validator-9.4.1.tgz"; url = "https://registry.npmjs.org/validator/-/validator-10.2.0.tgz";
sha512 = "2f2x8zxh7czpkf33h5x8fvj48rfszyhkar554x5c2hw7qlsbdqjqvv6nczzsfkw6z5rj6gqabxhcg8haip0xgz7sn4jr6fi7f7llpk1"; sha512 = "2v8ipjc5jdlwdhj1bcggxm98q2cigj2016rjqyzj0wq4kvjqghi3k66d6j17bpvqix0dqy01s4sh4qg0wv56jshix9zcdddfn9fwgw3";
}; };
}; };
"variable-diff-1.1.0" = { "variable-diff-1.1.0" = {
@ -7528,13 +7528,13 @@ let
sha1 = "a81981ea70a57946133883f029c5821a89359a7f"; sha1 = "a81981ea70a57946133883f029c5821a89359a7f";
}; };
}; };
"z-schema-3.20.0" = { "z-schema-3.22.0" = {
name = "z-schema"; name = "z-schema";
packageName = "z-schema"; packageName = "z-schema";
version = "3.20.0"; version = "3.22.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/z-schema/-/z-schema-3.20.0.tgz"; url = "https://registry.npmjs.org/z-schema/-/z-schema-3.22.0.tgz";
sha512 = "2fmqk4rayvsp7kjhfmr7ldrwvfvg1aif9dwpsqbqvmsz8j18q5lxs1vm4frg7pla8fwj2xacjzy0fsm2xfqvwmsxa5yxvsb21y5v2pn"; sha512 = "24ad8ip4l1k4kvga0yxhx08b3yvzhp1abk94031ar9vcsb1xqr7hafivsxbadf4dm1cw1ndjc9wgh4jki8q1xad4zfg9n2pgjx3dbrs";
}; };
}; };
}; };
@ -7592,7 +7592,7 @@ in
sources."chalk-1.1.3" sources."chalk-1.1.3"
]; ];
}) })
sources."@types/node-10.0.4" sources."@types/node-10.1.1"
sources."@types/superagent-3.5.6" sources."@types/superagent-3.5.6"
sources."ansi-escapes-3.1.0" sources."ansi-escapes-3.1.0"
sources."ansi-regex-2.1.1" sources."ansi-regex-2.1.1"
@ -7635,7 +7635,7 @@ in
sources."formidable-1.2.1" sources."formidable-1.2.1"
sources."has-ansi-2.0.0" sources."has-ansi-2.0.0"
sources."has-flag-3.0.0" sources."has-flag-3.0.0"
sources."iconv-lite-0.4.22" sources."iconv-lite-0.4.23"
sources."inherits-2.0.3" sources."inherits-2.0.3"
(sources."inquirer-3.3.0" // { (sources."inquirer-3.3.0" // {
dependencies = [ dependencies = [
@ -7655,7 +7655,7 @@ in
sources."lodash._root-3.0.1" sources."lodash._root-3.0.1"
sources."lodash._stringtopath-4.8.0" sources."lodash._stringtopath-4.8.0"
sources."lodash.uniqby-4.5.0" sources."lodash.uniqby-4.5.0"
sources."lru-cache-4.1.2" sources."lru-cache-4.1.3"
sources."methods-1.1.2" sources."methods-1.1.2"
sources."mime-1.6.0" sources."mime-1.6.0"
sources."mime-db-1.33.0" sources."mime-db-1.33.0"
@ -7754,7 +7754,7 @@ in
sources."brace-expansion-1.1.11" sources."brace-expansion-1.1.11"
(sources."braces-1.8.5" // { (sources."braces-1.8.5" // {
dependencies = [ dependencies = [
sources."kind-of-4.0.0" sources."kind-of-6.0.2"
]; ];
}) })
sources."buffer-alloc-1.1.0" sources."buffer-alloc-1.1.0"
@ -7775,7 +7775,7 @@ in
sources."codecs-1.2.1" sources."codecs-1.2.1"
sources."color-convert-1.9.1" sources."color-convert-1.9.1"
sources."color-name-1.1.3" sources."color-name-1.1.3"
sources."colors-1.2.4" sources."colors-1.2.5"
sources."combined-stream-1.0.6" sources."combined-stream-1.0.6"
sources."concat-map-0.0.1" sources."concat-map-0.0.1"
sources."concat-stream-1.6.2" sources."concat-stream-1.6.2"
@ -7809,7 +7809,7 @@ in
sources."debug-2.6.9" sources."debug-2.6.9"
]; ];
}) })
(sources."dat-link-resolve-2.1.0" // { (sources."dat-link-resolve-2.1.1" // {
dependencies = [ dependencies = [
sources."debug-2.6.9" sources."debug-2.6.9"
]; ];
@ -7871,7 +7871,7 @@ in
sources."fast-json-stable-stringify-2.0.0" sources."fast-json-stable-stringify-2.0.0"
sources."fd-read-stream-1.1.0" sources."fd-read-stream-1.1.0"
sources."filename-regex-2.0.1" sources."filename-regex-2.0.1"
sources."fill-range-2.2.3" sources."fill-range-2.2.4"
sources."flat-tree-1.6.0" sources."flat-tree-1.6.0"
sources."for-each-0.3.2" sources."for-each-0.3.2"
sources."for-in-1.0.2" sources."for-in-1.0.2"
@ -7936,7 +7936,7 @@ in
(sources."k-rpc-4.3.1" // { (sources."k-rpc-4.3.1" // {
dependencies = [ dependencies = [
sources."bencode-2.0.0" sources."bencode-2.0.0"
sources."k-bucket-4.0.0" sources."k-bucket-4.0.1"
]; ];
}) })
sources."k-rpc-socket-1.8.0" sources."k-rpc-socket-1.8.0"
@ -7946,6 +7946,7 @@ in
sources."lodash.flattendeep-4.4.0" sources."lodash.flattendeep-4.4.0"
sources."lodash.throttle-4.1.1" sources."lodash.throttle-4.1.1"
sources."lru-3.1.0" sources."lru-3.1.0"
sources."math-random-1.0.1"
sources."memory-pager-1.1.0" sources."memory-pager-1.1.0"
sources."merkle-tree-stream-3.0.3" sources."merkle-tree-stream-3.0.3"
sources."micromatch-2.3.11" sources."micromatch-2.3.11"
@ -8005,13 +8006,9 @@ in
sources."random-access-file-2.0.1" sources."random-access-file-2.0.1"
sources."random-access-memory-2.4.0" sources."random-access-memory-2.4.0"
sources."random-access-storage-1.2.0" sources."random-access-storage-1.2.0"
(sources."randomatic-1.1.7" // { (sources."randomatic-3.0.0" // {
dependencies = [ dependencies = [
(sources."is-number-3.0.0" // { sources."is-number-4.0.0"
dependencies = [
sources."kind-of-3.2.2"
];
})
]; ];
}) })
sources."randombytes-2.0.6" sources."randombytes-2.0.6"
@ -8023,13 +8020,13 @@ in
sources."remove-trailing-separator-1.1.0" sources."remove-trailing-separator-1.1.0"
sources."repeat-element-1.1.2" sources."repeat-element-1.1.2"
sources."repeat-string-1.6.1" sources."repeat-string-1.6.1"
sources."request-2.85.0" sources."request-2.86.0"
sources."revalidator-0.1.8" sources."revalidator-0.1.8"
sources."rimraf-2.6.2" sources."rimraf-2.6.2"
sources."rusha-0.8.13" sources."rusha-0.8.13"
sources."safe-buffer-5.1.2" sources."safe-buffer-5.1.2"
sources."signed-varint-2.0.1" sources."signed-varint-2.0.1"
sources."simple-sha1-2.1.0" sources."simple-sha1-2.1.1"
sources."siphash24-1.1.0" sources."siphash24-1.1.0"
sources."slice-ansi-1.0.0" sources."slice-ansi-1.0.0"
sources."sntp-2.1.0" sources."sntp-2.1.0"
@ -8049,7 +8046,6 @@ in
sources."stream-shift-1.0.0" sources."stream-shift-1.0.0"
sources."string-width-2.1.1" sources."string-width-2.1.1"
sources."string_decoder-1.1.1" sources."string_decoder-1.1.1"
sources."stringstream-0.0.5"
sources."strip-ansi-4.0.0" sources."strip-ansi-4.0.0"
(sources."subcommand-2.1.0" // { (sources."subcommand-2.1.0" // {
dependencies = [ dependencies = [
@ -8292,7 +8288,7 @@ in
sources."punycode-1.4.1" sources."punycode-1.4.1"
sources."qs-6.5.2" sources."qs-6.5.2"
sources."readable-stream-2.3.6" sources."readable-stream-2.3.6"
sources."request-2.85.0" sources."request-2.86.0"
sources."rimraf-2.6.2" sources."rimraf-2.6.2"
sources."safe-buffer-5.1.2" sources."safe-buffer-5.1.2"
sources."semver-5.3.0" sources."semver-5.3.0"
@ -8302,7 +8298,6 @@ in
sources."sshpk-1.14.1" sources."sshpk-1.14.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."stringstream-0.0.5"
sources."strip-ansi-3.0.1" sources."strip-ansi-3.0.1"
sources."tar-2.2.1" sources."tar-2.2.1"
sources."tough-cookie-2.3.4" sources."tough-cookie-2.3.4"
@ -8370,7 +8365,7 @@ in
sources."gauge-2.7.4" sources."gauge-2.7.4"
sources."glob-7.1.2" sources."glob-7.1.2"
sources."has-unicode-2.0.1" sources."has-unicode-2.0.1"
sources."iconv-lite-0.4.22" sources."iconv-lite-0.4.23"
sources."ignore-walk-3.0.1" sources."ignore-walk-3.0.1"
sources."inflight-1.0.6" sources."inflight-1.0.6"
sources."inherits-2.0.3" sources."inherits-2.0.3"
@ -8431,10 +8426,10 @@ in
pnpm = nodeEnv.buildNodePackage { pnpm = nodeEnv.buildNodePackage {
name = "pnpm"; name = "pnpm";
packageName = "pnpm"; packageName = "pnpm";
version = "1.41.3"; version = "1.43.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/pnpm/-/pnpm-1.41.3.tgz"; url = "https://registry.npmjs.org/pnpm/-/pnpm-1.43.1.tgz";
sha1 = "66b38792c8447702c47553a87dddc5748a3aefca"; sha1 = "0766354192aa2d843bcf1ddb277627e5cbc9c1e9";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {
@ -8650,7 +8645,7 @@ in
sources."hawk-6.0.2" sources."hawk-6.0.2"
sources."hoek-4.2.1" sources."hoek-4.2.1"
sources."http-signature-1.2.0" sources."http-signature-1.2.0"
sources."iconv-lite-0.4.22" sources."iconv-lite-0.4.23"
sources."ieee754-1.1.11" sources."ieee754-1.1.11"
sources."inflight-1.0.6" sources."inflight-1.0.6"
sources."inherits-2.0.3" sources."inherits-2.0.3"
@ -8685,7 +8680,7 @@ in
sources."log-symbols-2.2.0" sources."log-symbols-2.2.0"
sources."longest-1.0.1" sources."longest-1.0.1"
sources."lowercase-keys-1.0.1" sources."lowercase-keys-1.0.1"
(sources."make-dir-1.2.0" // { (sources."make-dir-1.3.0" // {
dependencies = [ dependencies = [
sources."pify-3.0.0" sources."pify-3.0.0"
]; ];
@ -8731,7 +8726,7 @@ in
sources."readable-stream-2.3.6" sources."readable-stream-2.3.6"
sources."recursive-readdir-2.2.2" sources."recursive-readdir-2.2.2"
sources."repeat-string-1.6.1" sources."repeat-string-1.6.1"
(sources."request-2.85.0" // { (sources."request-2.86.0" // {
dependencies = [ dependencies = [
sources."co-4.6.0" sources."co-4.6.0"
]; ];
@ -8754,12 +8749,11 @@ in
sources."stat-mode-0.2.2" sources."stat-mode-0.2.2"
sources."string-width-2.1.1" sources."string-width-2.1.1"
sources."string_decoder-1.1.1" sources."string_decoder-1.1.1"
sources."stringstream-0.0.5"
sources."strip-ansi-4.0.0" sources."strip-ansi-4.0.0"
sources."strip-dirs-2.1.0" sources."strip-dirs-2.1.0"
sources."strip-outer-1.0.1" sources."strip-outer-1.0.1"
sources."supports-color-5.4.0" sources."supports-color-5.4.0"
sources."tar-stream-1.6.0" sources."tar-stream-1.6.1"
sources."through-2.3.8" sources."through-2.3.8"
sources."thunkify-2.1.2" sources."thunkify-2.1.2"
sources."thunkify-wrap-1.0.4" sources."thunkify-wrap-1.0.4"
@ -8974,7 +8968,7 @@ in
sources."from-0.1.7" sources."from-0.1.7"
sources."fs-extra-0.24.0" sources."fs-extra-0.24.0"
sources."fs.realpath-1.0.0" sources."fs.realpath-1.0.0"
sources."fsevents-1.2.3" sources."fsevents-1.2.4"
sources."get-stream-3.0.0" sources."get-stream-3.0.0"
sources."get-value-2.0.6" sources."get-value-2.0.6"
sources."glob-7.1.2" sources."glob-7.1.2"
@ -9086,7 +9080,7 @@ in
sources."longest-1.0.1" sources."longest-1.0.1"
sources."lowercase-keys-1.0.1" sources."lowercase-keys-1.0.1"
sources."lru-cache-2.7.3" sources."lru-cache-2.7.3"
sources."make-dir-1.2.0" sources."make-dir-1.3.0"
sources."map-cache-0.2.2" sources."map-cache-0.2.2"
sources."map-stream-0.1.0" sources."map-stream-0.1.0"
sources."map-visit-1.0.0" sources."map-visit-1.0.0"
@ -9156,7 +9150,7 @@ in
]; ];
}) })
sources."kind-of-3.2.2" sources."kind-of-3.2.2"
sources."lru-cache-4.1.2" sources."lru-cache-4.1.3"
sources."minimist-1.2.0" sources."minimist-1.2.0"
sources."strip-ansi-4.0.0" sources."strip-ansi-4.0.0"
sources."supports-color-5.4.0" sources."supports-color-5.4.0"
@ -9251,7 +9245,7 @@ in
sources."snapdragon-node-2.1.1" sources."snapdragon-node-2.1.1"
sources."snapdragon-util-3.0.1" sources."snapdragon-util-3.0.1"
sources."source-map-0.5.7" sources."source-map-0.5.7"
sources."source-map-resolve-0.5.1" sources."source-map-resolve-0.5.2"
sources."source-map-url-0.4.0" sources."source-map-url-0.4.0"
sources."spark-md5-1.0.1" sources."spark-md5-1.0.1"
sources."split-0.3.3" sources."split-0.3.3"
@ -9350,7 +9344,7 @@ in
]; ];
}) })
sources."unzip-response-2.0.1" sources."unzip-response-2.0.1"
sources."upath-1.0.5" sources."upath-1.1.0"
sources."update-notifier-2.5.0" sources."update-notifier-2.5.0"
sources."uri-js-3.0.2" sources."uri-js-3.0.2"
sources."urix-0.1.0" sources."urix-0.1.0"
@ -9364,7 +9358,7 @@ in
sources."util-deprecate-1.0.2" sources."util-deprecate-1.0.2"
sources."utils-merge-1.0.1" sources."utils-merge-1.0.1"
sources."valid-url-1.0.9" sources."valid-url-1.0.9"
sources."validator-9.4.1" sources."validator-10.2.0"
sources."which-1.3.0" sources."which-1.3.0"
sources."widest-line-2.0.0" sources."widest-line-2.0.0"
sources."window-size-0.1.0" sources."window-size-0.1.0"
@ -9375,7 +9369,7 @@ in
sources."xtend-4.0.1" sources."xtend-4.0.1"
sources."yallist-2.1.2" sources."yallist-2.1.2"
sources."yargs-3.10.0" sources."yargs-3.10.0"
sources."z-schema-3.20.0" sources."z-schema-3.22.0"
]; ];
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {
@ -9389,10 +9383,10 @@ in
npm = nodeEnv.buildNodePackage { npm = nodeEnv.buildNodePackage {
name = "npm"; name = "npm";
packageName = "npm"; packageName = "npm";
version = "6.0.0"; version = "6.0.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/npm/-/npm-6.0.0.tgz"; url = "https://registry.npmjs.org/npm/-/npm-6.0.1.tgz";
sha512 = "1s1pq7rdh5xxd4phq7bf1fikbfwc9iiglgayiy0bf14skvivj96j7f5mzyh3631gzhm7vmpak0k523axik5n4hza8gd8c90s203plqj"; sha512 = "03x8626d7ngp160j0lx7vmzpjglvlqbz4gf9kmdndaxna9h81zr8rjhad3jcdkr9j1nnlc1rsr7acsdny5ykl3dwilq0p486zr9cyrp";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {

View File

@ -4,11 +4,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "keyring"; pname = "keyring";
version = "12.0.2"; version = "12.2.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "445d9521b4fcf900e51c075112e25ddcf8af1db7d1d717380b64eda2cda84abc"; sha256 = "1zhg2a59rqgigl8apm4s39md6yf3f2v1d4bl6s5rmiigwfifm624";
}; };
nativeBuildInputs = [ setuptools_scm ]; nativeBuildInputs = [ setuptools_scm ];

View File

@ -1,20 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, six { stdenv, buildPythonPackage, fetchPypi, pythonOlder, six
, pytest, unittest2, mock, keyring , pytest, pytest-flake8, backports_unittest-mock, keyring, setuptools_scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "keyrings.alt"; pname = "keyrings.alt";
version = "2.3"; version = "3.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "5cb9b6cdb5ce5e8216533e342d3e1b418ddd210466834061966d7dc1a4736f2d"; sha256 = "0nnva8g03dv6gdhjk1ihn2qw7g15232fyj8shipah9whgfv8d75m";
}; };
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six ];
# Fails with "ImportError: cannot import name mock" # Fails with "ImportError: cannot import name mock"
doCheck = false; #doCheck = false;
checkInputs = [ pytest unittest2 mock keyring ]; checkInputs = [ pytest pytest-flake8 keyring ] ++ stdenv.lib.optional (pythonOlder "3.3") backports_unittest-mock;
checkPhase = ''
py.test
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
license = licenses.mit; license = licenses.mit;

View File

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, python, pkgconfig, libversion, pythonOlder }:
buildPythonPackage rec {
pname = "libversion";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "18hhn7b7458lybs8z8ckh0idm7a2g4c4b5v2p9rr0lb618rchvds";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libversion ];
disabled = pythonOlder "3.6";
meta = with stdenv.lib; {
homepage = https://github.com/repology/py-libversion;
description = "Python bindings for libversion, which provides fast, powerful and correct generic version string comparison algorithm";
license = licenses.mit;
maintainers = [ maintainers.ryantm ];
};
}

View File

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, jinja2, werkzeug, flask { stdenv, buildPythonPackage, fetchPypi, jinja2, werkzeug, flask
, requests, pytz, backports_tempfile, cookies, jsondiff, botocore, aws-xray-sdk, docker , requests, pytz, backports_tempfile, cookies, jsondiff, botocore, aws-xray-sdk, docker, responses
, six, boto, httpretty, xmltodict, nose, sure, boto3, freezegun, dateutil, mock, pyaml }: , six, boto, httpretty, xmltodict, nose, sure, boto3, freezegun, dateutil, mock, pyaml }:
buildPythonPackage rec { buildPythonPackage rec {
@ -40,6 +40,7 @@ buildPythonPackage rec {
jsondiff jsondiff
botocore botocore
docker docker
responses
]; ];
checkInputs = [ boto3 nose sure freezegun ]; checkInputs = [ boto3 nose sure freezegun ];

View File

@ -22,7 +22,6 @@ if !(pythonOlder "3.4") then null else buildPythonPackage rec {
preCheck = '' preCheck = ''
export LC_ALL="en_US.UTF-8" export LC_ALL="en_US.UTF-8"
sed -i test_pathlib2.py -e "s@hasattr(pwd, 'getpwall')@False@"
''; '';
meta = { meta = {

View File

@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, python, hypothesis }:
buildPythonPackage rec {
pname = "rubymarshal";
version = "1.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "131lbc18s3rlmby2dpbvi4msz13gqw6xvx067mh4zcx9npygn9r2";
};
propagatedBuildInputs = [ hypothesis ];
meta = with stdenv.lib; {
homepage = https://github.com/d9pouces/RubyMarshal/;
description = "Read and write Ruby-marshalled data";
license = licenses.wtfpl;
maintainers = [ maintainers.ryantm ];
};
}

View File

@ -0,0 +1,27 @@
{ lib, buildPythonPackage, isPy3k, fetchPypi
, mock
, meld3
}:
buildPythonPackage rec {
pname = "supervisor";
version = "3.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "0wp62z9xprvz2krg02xnbwcnq6pxfq3byd8cxx8c2d8xznih28i1";
};
checkInputs = [ mock ];
propagatedBuildInputs = [ meld3 ];
# Supervisor requires Python 2.4 or later but does not work on any version of Python 3. You are using version 3.6.5 (default, Mar 28 2018, 10:24:30)
disabled = isPy3k;
meta = {
description = "A system for controlling process state under UNIX";
homepage = http://supervisord.org/;
license = lib.licenses.free; # http://www.repoze.org/LICENSE.txt
maintainers = with lib.maintainers; [ zimbatm ];
};
}

View File

@ -3,11 +3,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "transitions"; pname = "transitions";
version = "0.6.5"; version = "0.6.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f72b6c5fcac3d1345bbf829e1a48a810255bcb4fc2c11a634af68107c378c1be"; sha256 = "155de243bd935959ae66cdab5c4c1a92f2bbf48555c6f994365935a0a9fffc1b";
}; };
postPatch = '' postPatch = ''

View File

@ -0,0 +1,16 @@
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 2008a0b..5a3e8ee 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -35,11 +35,6 @@
struct cmLinkImplementation;
-#if defined(CMAKE_BUILD_WITH_CMAKE) && defined(__APPLE__)
-#define HAVE_APPLICATION_SERVICES
-#include <ApplicationServices/ApplicationServices.h>
-#endif
-
#if defined(CMAKE_BUILD_WITH_CMAKE)
#include "cmXMLParser.h"

View File

@ -57,6 +57,8 @@ stdenv.mkDerivation rec {
# Don't search in non-Nix locations such as /usr, but do search in our libc. # Don't search in non-Nix locations such as /usr, but do search in our libc.
patches = [ ./search-path-3.9.patch ] patches = [ ./search-path-3.9.patch ]
# Don't depend on frameworks.
++ optional useSharedLibraries ./application-services.patch # TODO: remove conditional
++ optional stdenv.isCygwin ./3.2.2-cygwin.patch; ++ optional stdenv.isCygwin ./3.2.2-cygwin.patch;
outputs = [ "out" ]; outputs = [ "out" ];
@ -101,7 +103,9 @@ stdenv.mkDerivation rec {
"-DCMAKE_AR=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar" "-DCMAKE_AR=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ar"
"-DCMAKE_RANLIB=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib" "-DCMAKE_RANLIB=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}ranlib"
"-DCMAKE_STRIP=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip" "-DCMAKE_STRIP=${getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}strip"
] ++ optionals (!useNcurses) [ "-DBUILD_CursesDialog=OFF" ]; ]
# Avoid depending on frameworks.
++ optional (!useNcurses) "-DBUILD_CursesDialog=OFF";
dontUseCmakeConfigure = true; dontUseCmakeConfigure = true;
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -0,0 +1,26 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
name = "easyjson-unstable-${version}";
version = "2018-03-23";
rev = "8b799c424f57fa123fc63a99d6383bc6e4c02578";
goPackagePath = "github.com/mailru/easyjson";
src = fetchgit {
inherit rev;
url = "https://github.com/mailru/easyjson";
sha256 = "15ba6drfmw98lzw5qjh3ijcxh9iz9rcp3hid169yfd08l06z05w0";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = "https://github.com/mailru/easyjson";
description = "Fast JSON serializer for golang";
license = licenses.mit;
maintainers = with maintainers; [ chiiruno ];
platforms = platforms.all;
};
}

View File

@ -0,0 +1,3 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
]

View File

@ -0,0 +1,26 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
name = "quicktemplate-unstable-${version}";
version = "2018-04-30";
rev = "a91e0946457b6583004fbfc159339b8171423aed";
goPackagePath = "github.com/valyala/quicktemplate";
src = fetchgit {
inherit rev;
url = "https://github.com/valyala/quicktemplate";
sha256 = "1z89ang5pkq5qs5b2nwhzyrw0zjlsas539l9kix374fhka49n8yc";
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = "https://github.com/valyala/quicktemplate";
description = "Fast, powerful, yet easy to use template engine for Go";
license = licenses.mit;
maintainers = with maintainers; [ chiiruno ];
platforms = platforms.all;
};
}

View File

@ -0,0 +1,12 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
{
goPackagePath = "github.com/valyala/bytebufferpool";
fetch = {
type = "git";
url = "https://github.com/valyala/bytebufferpool";
rev = "e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7";
sha256 = "01lqzjddq6kz9v41nkky7wbgk7f1cw036sa7ldz10d82g5klzl93";
};
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,28 +1,30 @@
#! /usr/bin/env nix-shell #! /usr/bin/env nix-shell
#! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ ])" #! nix-shell -i python3 -p "python3.withPackages (ps: with ps; [ requests pyyaml pytz pip jinja2 voluptuous typing aiohttp async-timeout astral certifi attrs ])"
# #
# This script downloads https://github.com/home-assistant/home-assistant/blob/master/requirements_all.txt. # This script downloads Home Assistant's source tarball.
# This file contains lines of the form # Inside the homeassistant/components directory, each component has an associated .py file,
# specifying required packages and other components it depends on:
# #
# # homeassistant.components.foo # REQUIREMENTS = [ 'package==1.2.3' ]
# # homeassistant.components.bar # DEPENDENCIES = [ 'component' ]
# foobar==1.2.3
# #
# i.e. it lists dependencies and the components that require them. # By parsing the files, a dictionary mapping component to requirements and dependencies is created.
# By parsing the file, a dictionary mapping component to dependencies is created. # For all of these requirements and the dependencies' requirements,
# For all of these dependencies, Nixpkgs' python3Packages are searched for appropriate names. # Nixpkgs' python3Packages are searched for appropriate names.
# Then, a Nix attribute set mapping component name to dependencies is created. # Then, a Nix attribute set mapping component name to dependencies is created.
from urllib.request import urlopen from urllib.request import urlopen
from collections import OrderedDict import tempfile
from io import BytesIO
import tarfile
import importlib
import subprocess import subprocess
import os import os
import sys import sys
import json import json
import re import re
GENERAL_PREFIX = '# homeassistant.' COMPONENT_PREFIX = 'homeassistant.components'
COMPONENT_PREFIX = GENERAL_PREFIX + 'components.'
PKG_SET = 'python3Packages' PKG_SET = 'python3Packages'
# If some requirements are matched by multiple python packages, # If some requirements are matched by multiple python packages,
@ -37,28 +39,32 @@ def get_version():
m = re.search('hassVersion = "([\\d\\.]+)";', f.read()) m = re.search('hassVersion = "([\\d\\.]+)";', f.read())
return m.group(1) return m.group(1)
def fetch_reqs(version='master'): def parse_components(version='master'):
requirements = {} components = {}
with urlopen('https://github.com/home-assistant/home-assistant/raw/{}/requirements_all.txt'.format(version)) as response: with tempfile.TemporaryDirectory() as tmp:
components = [] with urlopen('https://github.com/home-assistant/home-assistant/archive/{}.tar.gz'.format(version)) as response:
for line in response.read().decode().splitlines(): tarfile.open(fileobj=BytesIO(response.read())).extractall(tmp)
if line == '': # Use part of a script from the Home Assistant codebase
components = [] sys.path.append(tmp + '/home-assistant-{}'.format(version))
elif line[:len(COMPONENT_PREFIX)] == COMPONENT_PREFIX: from script.gen_requirements_all import explore_module
component = line[len(COMPONENT_PREFIX):] for package in explore_module(COMPONENT_PREFIX, True):
components.append(component) # Remove 'homeassistant.components.' prefix
if component not in requirements: component = package[len(COMPONENT_PREFIX + '.'):]
requirements[component] = [] try:
elif line[:len(GENERAL_PREFIX)] != GENERAL_PREFIX: # skip lines like "# homeassistant.scripts.xyz" module = importlib.import_module(package)
# Some dependencies are commented out because they don't build on all platforms components[component] = {}
# Since they are still required for running the component, don't skip them components[component]['requirements'] = getattr(module, 'REQUIREMENTS', [])
if line[:2] == '# ': components[component]['dependencies'] = getattr(module, 'DEPENDENCIES', [])
line = line[2:] # If there is an ImportError, the imported file is not the main file of the component
# Some requirements are specified by url, e.g. https://example.org/foobar#xyz==1.0.0 except ImportError:
# Therefore, if there's a "#" in the line, only take the part after it continue
line = line[line.find('#') + 1:] return components
for component in components:
requirements[component].append(line) # Recursively get the requirements of a component and its dependencies
def get_reqs(components, component):
requirements = set(components[component]['requirements'])
for dependency in components[component]['dependencies']:
requirements.update(get_reqs(components, dependency))
return requirements return requirements
# Store a JSON dump of Nixpkgs' python3Packages # Store a JSON dump of Nixpkgs' python3Packages
@ -95,11 +101,14 @@ def name_to_attr_path(req):
version = get_version() version = get_version()
print('Generating component-packages.nix for version {}'.format(version)) print('Generating component-packages.nix for version {}'.format(version))
requirements = fetch_reqs(version=version) components = parse_components(version=version)
build_inputs = {} build_inputs = {}
for component, reqs in OrderedDict(sorted(requirements.items())).items(): for component in sorted(components.keys()):
attr_paths = [] attr_paths = []
for req in reqs: for req in sorted(get_reqs(components, component)):
# Some requirements are specified by url, e.g. https://example.org/foobar#xyz==1.0.0
# Therefore, if there's a "#" in the line, only take the part after it
req = req[req.find('#') + 1:]
name = req.split('==')[0] name = req.split('==')[0]
attr_path = name_to_attr_path(name) attr_path = name_to_attr_path(name)
if attr_path is not None: if attr_path is not None:
@ -108,11 +117,8 @@ for component, reqs in OrderedDict(sorted(requirements.items())).items():
else: else:
build_inputs[component] = attr_paths build_inputs[component] = attr_paths
# Only select components which have any dependency
#build_inputs = {k: v for k, v in build_inputs.items() if len(v) > 0}
with open(os.path.dirname(sys.argv[0]) + '/component-packages.nix', 'w') as f: with open(os.path.dirname(sys.argv[0]) + '/component-packages.nix', 'w') as f:
f.write('# Generated from parse-requirements.py\n') f.write('# Generated by parse-requirements.py\n')
f.write('# Do not edit!\n\n') f.write('# Do not edit!\n\n')
f.write('{\n') f.write('{\n')
f.write(' version = "{}";\n'.format(version)) f.write(' version = "{}";\n'.format(version))

View File

@ -0,0 +1,48 @@
{ stdenv, buildGoPackage, fetchgit, pkgconfig, ffmpeg-full, graphicsmagick, ghostscript, quicktemplate,
go-bindata, easyjson, nodePackages, cmake, emscripten }:
buildGoPackage rec {
name = "meguca-unstable-${version}";
version = "2018-05-26";
rev = "9f3d902fb899dbc874c1a91298d86fda7da59b1e";
goPackagePath = "github.com/bakape/meguca";
goDeps = ./server_deps.nix;
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ ffmpeg-full graphicsmagick ghostscript quicktemplate go-bindata easyjson emscripten ];
src = fetchgit {
inherit rev;
url = "https://github.com/bakape/meguca";
sha256 = "0qblllf23pxcwi5fhaq8xc77iawll7v7xpk2mf9ngks3h8p7gddq";
fetchSubmodules = true;
};
configurePhase = ''
export HOME=$PWD
export GOPATH=$GOPATH:$HOME/go
ln -sf ${nodePackages.meguca}/lib/node_modules/meguca/node_modules
sed -i "/npm install --progress false --depth 0/d" Makefile
make generate_clean
go generate meguca/...
'';
buildPhase = ''
go build -p $NIX_BUILD_CORES meguca
make -j $NIX_BUILD_CORES client wasm
'';
installPhase = ''
mkdir -p $bin/bin $bin/share/meguca
cp meguca $bin/bin
cp -r www $bin/share/meguca
'';
meta = with stdenv.lib; {
homepage = "https://github.com/bakape/meguca";
description = "Anonymous realtime imageboard focused on high performance, free speech and transparent moderation";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ chiiruno ];
platforms = platforms.all;
};
}

View File

@ -0,0 +1,255 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
{
goPackagePath = "github.com/Masterminds/squirrel";
fetch = {
type = "git";
url = "https://github.com/Masterminds/squirrel";
rev = "40ef4f86bf59a996c348a9f56ddb4c4d3d49a6df";
sha256 = "1zdv8hds2skqz9xrybf1pw5hfxzd27c35fsrfq11ryif1wxwbkyp";
};
}
{
goPackagePath = "github.com/Soreil/apngdetector";
fetch = {
type = "git";
url = "https://github.com/Soreil/apngdetector";
rev = "e412c29dbc998dfcffe266b12587b29096ac4d46";
sha256 = "0ci71nk6jijspzbgcfrgi4in9lmd2c39f6xzcf9k3z9ixwv8c79j";
};
}
{
goPackagePath = "github.com/aquilax/tripcode";
fetch = {
type = "git";
url = "https://github.com/aquilax/tripcode";
rev = "db58da84bb12e26032493b73eb3b58ba884590ef";
sha256 = "0maqk0rwp39kcc64w4mfkgcvn2q76hqwziwc3g7ckc1qpwxql5z3";
};
}
{
goPackagePath = "github.com/bakape/mnemonics";
fetch = {
type = "git";
url = "https://github.com/bakape/mnemonics";
rev = "056d8d3259923b93bb0449a45b0c56ac20c77f1b";
sha256 = "137dl4bkpszj7pm4dyj222xdvy9lmwsgmm0l6bxni0msc3jdrqkl";
};
}
{
goPackagePath = "github.com/bakape/thumbnailer";
fetch = {
type = "git";
url = "https://github.com/bakape/thumbnailer";
rev = "5b92eb4c4500fd8e004e4cc9eeb2038961e2004f";
sha256 = "0z9myzp6rjyylh91ibd1nfpz7za1gxg4n3pnn7sw54i9zyws1l4x";
};
}
{
goPackagePath = "github.com/boltdb/bolt";
fetch = {
type = "git";
url = "https://github.com/boltdb/bolt";
rev = "fd01fc79c553a8e99d512a07e8e0c63d4a3ccfc5";
sha256 = "12f5swiwzcamk87r9j73nn7rmyyday7jkgzfh7x5wdg9blzhrir2";
};
}
{
goPackagePath = "github.com/dchest/captcha";
fetch = {
type = "git";
url = "https://github.com/dchest/captcha";
rev = "6a29415a8364ec2971fdc62d9e415ed53fc20410";
sha256 = "0j0yspx5rlyx7fdfcx74viqc8jlq3nwyd62bdx4gvbd56cppldcm";
};
}
{
goPackagePath = "github.com/dimfeld/httptreemux";
fetch = {
type = "git";
url = "https://github.com/dimfeld/httptreemux";
rev = "7f532489e7739b3d49df5c602bf63549881fe753";
sha256 = "0hkw04rsvljvx8ynqjgz9cb743x09fd2xiiycrgz5vbsa8q9iyyk";
};
}
{
goPackagePath = "github.com/go-playground/ansi";
fetch = {
type = "git";
url = "https://github.com/go-playground/ansi";
rev = "777788a9be1a7296979a999c86b251fc777077a9";
sha256 = "1y2pqx04lc7cqg50scfivzw0n8f0dliflnih14f5jf4svff8s561";
};
}
{
goPackagePath = "github.com/go-playground/errors";
fetch = {
type = "git";
url = "https://github.com/go-playground/errors";
rev = "14d2d30656a95a5fa5a17d2e33540269eda5f158";
sha256 = "0w13vgxwc1x780x716kqzzwp9ld3w3jpkclabh2qwpcwx821nhpy";
};
}
{
goPackagePath = "github.com/go-playground/log";
fetch = {
type = "git";
url = "https://github.com/go-playground/log";
rev = "91a5908e654f9fc444a71ea3c51c72cb5c6c2442";
sha256 = "0p67j453pi7ffv3axl5g97qadx8lj22vsi5xrzqrr3v6mj8b0lbm";
};
}
{
goPackagePath = "github.com/gorilla/handlers";
fetch = {
type = "git";
url = "https://github.com/gorilla/handlers";
rev = "13a38d26174b16d5b4bf6f1094c1389ec9879572";
sha256 = "0zg43blpyyy667y0kpiifk5a2w35jh8qkk4zwlabb365c0lzrv6v";
};
}
{
goPackagePath = "github.com/gorilla/websocket";
fetch = {
type = "git";
url = "https://github.com/gorilla/websocket";
rev = "21ab95fa12b9bdd8fecf5fa3586aad941cc98785";
sha256 = "1ygg6cr84461d6k3nzbja0dxhcgf5zvry2w10f6i7291ghrcwhyy";
};
}
{
goPackagePath = "github.com/kardianos/osext";
fetch = {
type = "git";
url = "https://github.com/kardianos/osext";
rev = "ae77be60afb1dcacde03767a8c37337fad28ac14";
sha256 = "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz";
};
}
{
goPackagePath = "github.com/lann/builder";
fetch = {
type = "git";
url = "https://github.com/lann/builder";
rev = "1b87b36280d04fe7882d1512bf038ea2967ad534";
sha256 = "015q46awbyp47vld07yi7d27i0lkd82r7qn5230bb9qxl4mcfiqc";
};
}
{
goPackagePath = "github.com/lann/ps";
fetch = {
type = "git";
url = "https://github.com/lann/ps";
rev = "62de8c46ede02a7675c4c79c84883eb164cb71e3";
sha256 = "10yhcyymypvdiiipchsp80jbglk8c4r7lq7h54v9f4mxmvz6xgf7";
};
}
{
goPackagePath = "github.com/lib/pq";
fetch = {
type = "git";
url = "https://github.com/lib/pq";
rev = "90697d60dd844d5ef6ff15135d0203f65d2f53b8";
sha256 = "0hb4bfsk8g5473yzbf3lzrb373xicakjznkf0v085xgimz991i9r";
};
}
{
goPackagePath = "github.com/mailru/easyjson";
fetch = {
type = "git";
url = "https://github.com/mailru/easyjson";
rev = "8b799c424f57fa123fc63a99d6383bc6e4c02578";
sha256 = "15ba6drfmw98lzw5qjh3ijcxh9iz9rcp3hid169yfd08l06z05w0";
};
}
{
goPackagePath = "github.com/nyarlabo/go-crypt";
fetch = {
type = "git";
url = "https://github.com/nyarlabo/go-crypt";
rev = "d9a5dc2b789bc330075d4b805d9b7c971f2865a1";
sha256 = "0249hbwvhy0xywi9b5k8964km27pvfkr3jvliy3azri6vnyvkkx1";
};
}
{
goPackagePath = "github.com/oschwald/maxminddb-golang";
fetch = {
type = "git";
url = "https://github.com/oschwald/maxminddb-golang";
rev = "c5bec84d1963260297932a1b7a1753c8420717a7";
sha256 = "0n8vhinm2x0prbn0vhxw38c24iiaizwk1b76s4srg30gk3dfdd39";
};
}
{
goPackagePath = "github.com/sevlyar/go-daemon";
fetch = {
type = "git";
url = "https://github.com/sevlyar/go-daemon";
rev = "45a2ba1b7c6710a044163fa109bf08d060bc3afa";
sha256 = "1fd8cwljgbxsm3w38pii0n02zg8s53x7j08w784csj3sfzq7rbv4";
};
}
{
goPackagePath = "github.com/ulikunitz/xz";
fetch = {
type = "git";
url = "https://github.com/ulikunitz/xz";
rev = "0c6b41e72360850ca4f98dc341fd999726ea007f";
sha256 = "0a6l7sp67ipxim093qh6fvw8knbxj24l7bj5lykcddi5gwfi78n3";
};
}
{
goPackagePath = "github.com/valyala/bytebufferpool";
fetch = {
type = "git";
url = "https://github.com/valyala/bytebufferpool";
rev = "e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7";
sha256 = "01lqzjddq6kz9v41nkky7wbgk7f1cw036sa7ldz10d82g5klzl93";
};
}
{
goPackagePath = "github.com/valyala/quicktemplate";
fetch = {
type = "git";
url = "https://github.com/valyala/quicktemplate";
rev = "a91e0946457b6583004fbfc159339b8171423aed";
sha256 = "1z89ang5pkq5qs5b2nwhzyrw0zjlsas539l9kix374fhka49n8yc";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "a3beeb748656e13e54256fd2cde19e058f41f60f";
sha256 = "0h0a1v2g3hf0dlfjfiv76vfvvy7r9sdhjyqc2snvh9dczm2k5zki";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "c11f84a56e43e20a78cee75a7c034031ecf57d1f";
sha256 = "1fn1wwr94v6ca1zcbsrs5v79s95pajdjqzz9rm9lxkgcvv1rl189";
};
}
{
goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
rev = "5c1cf69b5978e5a34c5f9ba09a83e56acc4b7877";
sha256 = "03br8p1sb1ffr02l8hyrgcyib7ms0z06wy3v4r1dj2l6q4ghwzfs";
};
}
{
goPackagePath = "gopkg.in/gomail.v2";
fetch = {
type = "git";
url = "https://gopkg.in/gomail.v2";
rev = "81ebce5c23dfd25c6c67194b37d3dd3f338c98b1";
sha256 = "0zdykrv5s19lnq0g49p6njldy4cpk4g161vyjafiw7f84h8r28mc";
};
}
]

View File

@ -0,0 +1,35 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "s-tar-${version}";
version = "1.5.3";
src = fetchurl {
url = "mirror://sourceforge/s-tar/star-${version}.tar.bz2";
sha256 = "0nsg3adv8lwqsbizicgmyxx8w26d1f4almprkcb08cd87s1l40q7";
};
preConfigure = "rm configure";
preBuild = "sed 's_/bin/__g' -i RULES/*";
makeFlags = [ "GMAKE_NOWARN=true" ];
installFlags = [ "DESTDIR=$(out)" "INS_BASE=/" ];
postInstall = ''
find $out/bin -type l -delete
rm -r $out/etc $out/include $out/sbin
'';
meta = {
description = "A very fast tar like tape archiver with improved functionality";
longDescription = ''
Star archives and extracts multiple files to and from a single file called a tarfile.
A tarfile is usually a magnetic tape, but it can be any file.
In all cases, appearance of a directory name refers to the files and (recursively) sub-directories of that directory.
Star's actions are controlled by the mandatory command flags from the list below.
The way star acts may be modified by additional options.
Note that unpacking tar archives may be a security risk because star may overwrite existing files.
'';
homepage = http://cdrtools.sourceforge.net/private/star.html;
license = stdenv.lib.licenses.cddl;
maintainers = [ stdenv.lib.maintainers.wucke13 ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -2146,6 +2146,8 @@ with pkgs;
mcrcon = callPackage ../tools/networking/mcrcon {}; mcrcon = callPackage ../tools/networking/mcrcon {};
s-tar = callPackages ../tools/archivers/s-tar {};
tealdeer = callPackage ../tools/misc/tealdeer/default.nix { }; tealdeer = callPackage ../tools/misc/tealdeer/default.nix { };
uudeview = callPackage ../tools/misc/uudeview { }; uudeview = callPackage ../tools/misc/uudeview { };
@ -10519,6 +10521,8 @@ with pkgs;
libvdpau-va-gl = callPackage ../development/libraries/libvdpau-va-gl { }; libvdpau-va-gl = callPackage ../development/libraries/libvdpau-va-gl { };
libversion = callPackage ../development/libraries/libversion { };
libvirt = callPackage ../development/libraries/libvirt { }; libvirt = callPackage ../development/libraries/libvirt { };
libvirt-glib = callPackage ../development/libraries/libvirt-glib { }; libvirt-glib = callPackage ../development/libraries/libvirt-glib { };
@ -12548,6 +12552,8 @@ with pkgs;
mediatomb = callPackage ../servers/mediatomb { }; mediatomb = callPackage ../servers/mediatomb { };
meguca = callPackage ../servers/meguca/default.nix { };
memcached = callPackage ../servers/memcached {}; memcached = callPackage ../servers/memcached {};
meteor = callPackage ../servers/meteor/default.nix { }; meteor = callPackage ../servers/meteor/default.nix { };
@ -13850,6 +13856,8 @@ with pkgs;
dep = callPackage ../development/tools/dep { }; dep = callPackage ../development/tools/dep { };
easyjson = callPackage ../development/tools/easyjson { };
go-bindata = callPackage ../development/tools/go-bindata { }; go-bindata = callPackage ../development/tools/go-bindata { };
go-bindata-assetfs = callPackage ../development/tools/go-bindata-assetfs { }; go-bindata-assetfs = callPackage ../development/tools/go-bindata-assetfs { };
@ -13889,6 +13897,8 @@ with pkgs;
gotests = callPackage ../development/tools/gotests { }; gotests = callPackage ../development/tools/gotests { };
quicktemplate = callPackage ../development/tools/quicktemplate { };
gogoclient = callPackage ../os-specific/linux/gogoclient { }; gogoclient = callPackage ../os-specific/linux/gogoclient { };
linux-pam = callPackage ../os-specific/linux/pam { }; linux-pam = callPackage ../os-specific/linux/pam { };

View File

@ -13423,27 +13423,7 @@ in {
}; };
}; };
supervisor = buildPythonPackage rec { supervisor = callPackage ../development/python-modules/supervisor {};
name = "supervisor-3.1.4";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "mirror://pypi/s/supervisor/${name}.tar.gz";
sha256 = "0kk0sv7780m4dzmrcb2m284krz907jh8jp7khz5a79qryy4m1xw2";
};
buildInputs = with self; [ mock ];
propagatedBuildInputs = with self; [ meld3 ];
# failing tests when building under chroot as root user doesn't exist
doCheck = false;
meta = {
description = "A system for controlling process state under UNIX";
homepage = http://supervisord.org/;
};
};
subprocess32 = callPackage ../development/python-modules/subprocess32 { }; subprocess32 = callPackage ../development/python-modules/subprocess32 { };
@ -16241,6 +16221,10 @@ EOF
}; };
}; };
libversion = callPackage ../development/python-modules/libversion {
inherit (pkgs) libversion;
};
libvirt = callPackage ../development/python-modules/libvirt { libvirt = callPackage ../development/python-modules/libvirt {
inherit (pkgs) libvirt; inherit (pkgs) libvirt;
}; };
@ -18182,6 +18166,8 @@ EOF
pysdl2 = callPackage ../development/python-modules/pysdl2 { }; pysdl2 = callPackage ../development/python-modules/pysdl2 { };
pyogg = callPackage ../development/python-modules/pyogg { }; pyogg = callPackage ../development/python-modules/pyogg { };
rubymarshal = callPackage ../development/python-modules/rubymarshal { };
}); });
in fix' (extends overrides packages) in fix' (extends overrides packages)