Merge master into staging

This commit is contained in:
Frederik Rietdijk 2018-06-21 07:42:14 +02:00
commit 404f91c4c2
49 changed files with 3007 additions and 2718 deletions

View File

@ -541,6 +541,7 @@
./services/networking/openntpd.nix
./services/networking/openvpn.nix
./services/networking/ostinato.nix
./services/networking/owamp.nix
./services/networking/pdnsd.nix
./services/networking/polipo.nix
./services/networking/powerdns.nix

View File

@ -200,6 +200,12 @@ with lib;
(mkRenamedOptionModule [ "fonts" "fontconfig" "ultimate" "forceAutohint" ] [ "fonts" "fontconfig" "forceAutohint" ])
(mkRenamedOptionModule [ "fonts" "fontconfig" "ultimate" "renderMonoTTFAsBitmap" ] [ "fonts" "fontconfig" "renderMonoTTFAsBitmap" ])
# postgresqlBackup
(mkRemovedOptionModule [ "services" "postgresqlBackup" "period" ] ''
A systemd timer is now used instead of cron.
The starting time can be configured via <literal>services.postgresqlBackup.startAt</literal>.
'')
# Profile splitting
(mkRenamedOptionModule [ "virtualization" "growPartition" ] [ "boot" "growPartition" ])

View File

@ -3,18 +3,41 @@
with lib;
let
inherit (pkgs) gzip;
location = config.services.postgresqlBackup.location;
cfg = config.services.postgresqlBackup;
postgresqlBackupCron = db:
''
${config.services.postgresqlBackup.period} root ${config.services.postgresql.package}/bin/pg_dump ${db} | ${gzip}/bin/gzip -c > ${location}/${db}.gz
'';
postgresqlBackupService = db :
{
enable = true;
in
description = "Backup of database ${db}";
{
requires = [ "postgresql.service" ];
preStart = ''
mkdir -m 0700 -p ${cfg.location}
chown postgres ${cfg.location}
'';
script = ''
if [ -e ${cfg.location}/${db}.sql.gz ]; then
${pkgs.coreutils}/bin/mv ${cfg.location}/${db}.sql.gz ${cfg.location}/${db}.prev.sql.gz
fi
${config.services.postgresql.package}/bin/pg_dump ${cfg.pgdumpOptions} ${db} | \
${pkgs.gzip}/bin/gzip -c > ${cfg.location}/${db}.sql.gz
'';
serviceConfig = {
Type = "oneshot";
PermissionsStartOnly = "true";
User = "postgres";
};
startAt = cfg.startAt;
};
in {
options = {
@ -27,10 +50,10 @@ in
'';
};
period = mkOption {
default = "15 01 * * *";
startAt = mkOption {
default = "*-*-* 01:15:00";
description = ''
This option defines (in the format used by cron) when the
This option defines (see <literal>systemd.time</literal> for format) when the
databases should be dumped.
The default is to update at 01:15 (at night) every day.
'';
@ -49,18 +72,23 @@ in
Location to put the gzipped PostgreSQL database dumps.
'';
};
pgdumpOptions = mkOption {
type = types.string;
default = "-Cbo";
description = ''
Command line options for pg_dump.
'';
};
};
};
config = mkIf config.services.postgresqlBackup.enable {
services.cron.systemCronJobs = map postgresqlBackupCron config.services.postgresqlBackup.databases;
system.activationScripts.postgresqlBackup = stringAfter [ "stdio" "users" ]
''
mkdir -m 0700 -p ${config.services.postgresqlBackup.location}
chown root ${config.services.postgresqlBackup.location}
'';
systemd.services = listToAttrs (map (db : {
name = "postgresqlBackup-${db}";
value = postgresqlBackupService db; } ) cfg.databases);
};
}

View File

@ -42,7 +42,7 @@ let
};
};
configFile = pkgs.writeText "docker-registry-config.yml" (builtins.toJSON (registryConfig // cfg.extraConfig));
configFile = pkgs.writeText "docker-registry-config.yml" (builtins.toJSON (recursiveUpdate registryConfig cfg.extraConfig));
in {
options.services.dockerRegistry = {
@ -91,7 +91,7 @@ in {
Docker extra registry configuration via environment variables.
'';
default = {};
type = types.attrsOf types.str;
type = types.attrs;
};
enableGarbageCollect = mkEnableOption "garbage collect";
@ -120,6 +120,7 @@ in {
serviceConfig = {
User = "docker-registry";
WorkingDirectory = cfg.storagePath;
AmbientCapabilities = mkIf (cfg.port < 1024) "cap_net_bind_service";
};
};

View File

@ -0,0 +1,47 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.owamp;
in
{
###### interface
options = {
services.owamp.enable = mkEnableOption ''Enable OWAMP server'';
};
###### implementation
config = mkIf cfg.enable {
users.extraUsers = singleton {
name = "owamp";
group = "owamp";
description = "Owamp daemon";
};
users.extraGroups = singleton {
name = "owamp";
};
systemd.services.owamp = {
description = "Owamp server";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart="${pkgs.owamp}/bin/owampd -R /run/owamp -d /run/owamp -v -Z ";
PrivateTmp = true;
Restart = "always";
Type="simple";
User = "owamp";
Group = "owamp";
RuntimeDirectory = "owamp";
StateDirectory = "owamp";
AmbientCapabilities = "cap_net_bind_service";
};
};
};
}

View File

@ -25,7 +25,7 @@ in
{
options = {
services.mattermost = {
enable = mkEnableOption "Mattermost chat platform";
enable = mkEnableOption "Mattermost chat server";
statePath = mkOption {
type = types.str;
@ -167,7 +167,7 @@ in
'';
systemd.services.mattermost = {
description = "Mattermost chat platform service";
description = "Mattermost chat service";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "postgresql.service" ];
@ -201,7 +201,7 @@ in
PermissionsStartOnly = true;
User = cfg.user;
Group = cfg.group;
ExecStart = "${pkgs.mattermost}/bin/mattermost-platform";
ExecStart = "${pkgs.mattermost}/bin/mattermost";
WorkingDirectory = "${cfg.statePath}";
Restart = "always";
RestartSec = "10";

View File

@ -398,6 +398,7 @@ in rec {
tests.switchTest = callTest tests/switch-test.nix {};
tests.taskserver = callTest tests/taskserver.nix {};
tests.tomcat = callTest tests/tomcat.nix {};
tests.tor = callTest tests/tor.nix {};
tests.transmission = callTest tests/transmission.nix {};
tests.udisks2 = callTest tests/udisks2.nix {};
tests.vault = callTest tests/vault.nix {};

View File

@ -26,6 +26,9 @@ let
{
services.postgresql.package=postgresql-package;
services.postgresql.enable = true;
services.postgresqlBackup.enable = true;
services.postgresqlBackup.databases = [ "postgres" ];
};
testScript = ''
@ -46,6 +49,10 @@ let
$machine->succeed(check_count("SELECT * FROM sth;", 5));
$machine->fail(check_count("SELECT * FROM sth;", 4));
$machine->succeed(check_count("SELECT xpath(\'/test/text()\', doc) FROM xmltest;", 1));
# Check backup service
$machine->succeed("systemctl start postgresqlBackup-postgres.service");
$machine->succeed("zcat /var/backup/postgresql/postgres.sql.gz | grep '<test>ok</test>'");
$machine->shutdown;
'';

28
nixos/tests/tor.nix Normal file
View File

@ -0,0 +1,28 @@
import ./make-test.nix ({ lib, ... }: with lib;
rec {
name = "tor";
meta.maintainers = with maintainers; [ joachifm ];
common =
{ config, ... }:
{ boot.kernelParams = [ "audit=0" "apparmor=0" "quiet" ];
networking.firewall.enable = false;
networking.useDHCP = false;
};
nodes.client =
{ config, pkgs, ... }:
{ imports = [ common ];
environment.systemPackages = with pkgs; [ netcat ];
services.tor.enable = true;
services.tor.client.enable = true;
services.tor.controlPort = 9051;
};
testScript = ''
$client->waitForUnit("tor.service");
$client->waitForOpenPort(9051);
$client->succeed("echo GETINFO version | nc 127.0.0.1 9051") =~ /514 Authentication required./ or die;
'';
})

View File

@ -1,7 +1,7 @@
let
version = "1.10.6";
sha256 = "1x2sm262z8fdkx8zin6r8nwbb7znziw9nm224pr6ap3p0jmv7fcq";
cargoSha256 = "1wf1lh32f9dlhv810gdcssv92g1yximx09lw63m0mxcjbn9813bs";
version = "1.10.7";
sha256 = "0syhvr4n9zyxhx20xln7sf70ljzj6ab36xjz4710ivnwwz2pjajf";
cargoSha256 = "0zwk8xv71s7xkwvssh27772qfb23yhq5jlcny617qik6bwpcdh6b";
patches = [ ./patches/vendored-sources-1.10.patch ];
in
import ./parity.nix { inherit version sha256 cargoSha256 patches; }

View File

@ -532,11 +532,12 @@ rec {
spotbugs = buildEclipseUpdateSite rec {
name = "spotbugs-${version}";
version = "3.1.3";
version = "3.1.5";
src = fetchzip {
stripRoot = false;
url = "https://github.com/spotbugs/spotbugs/releases/download/${version}/eclipsePlugin.zip";
sha256 = "01zrmk497bxzqgwgbpsvi5iz5qk9b4q949h4918abm54zvkgndlg";
sha256 = "0fxdirz6ik9rqykm2lcr720apsaqgngr4c7q793rjb9b3bn30c85";
};
meta = with stdenv.lib; {

View File

@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = with stdenv.lib; {
description = "GNU Emacs 25, the extensible, customizable text editor";
description = "The extensible, customizable text editor";
homepage = http://www.gnu.org/software/emacs/;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jwiegley matthewbauer ];
@ -97,7 +97,7 @@ stdenv.mkDerivation rec {
extensions are distributed with GNU Emacs; others are available
separately.
This is "Mac port" addition to GNU Emacs 25. This provides a native
This is the "Mac port" addition to GNU Emacs 26. This provides a native
GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later
already contain the official GUI support via the NS (Cocoa) port for
Mac OS X 10.4 and later. So if it is good enough for you, then you

View File

@ -4,7 +4,7 @@
} :
let
version = "18.04.1";
version = "18.06.0";
in stdenv.mkDerivation {
name = "limesuite-${version}";
@ -13,7 +13,7 @@ in stdenv.mkDerivation {
owner = "myriadrf";
repo = "LimeSuite";
rev = "v${version}";
sha256 = "1aaqnwif1j045hvj011k5dyqxgxx72h33r4al74h5f8al81zvzj9";
sha256 = "0j6mxlvij2k6ib1d9jwzvilmqgm1h0q7wy9sf8a6bvidwlphvy25";
};
nativeBuildInputs = [ cmake ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, makeWrapper, perl, ncurses, taskwarrior }:
{ stdenv, fetchFromGitHub, makeWrapper, perl, ncurses5, taskwarrior }:
stdenv.mkDerivation rec {
version = "2017-05-15";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
perl # For generating the man pages with pod2man
];
buildInputs = [ ncurses ];
buildInputs = [ ncurses5 ];
hardeningDisable = [ "format" ];

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, dpkg, makeWrapper
, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, gdk_pixbuf, glib, glibc, gnome3
, gtk2, libnotify, libpulseaudio, libsecret, libv4l, nspr, nss, pango, systemd, xorg }:
, gtk3, libnotify, libpulseaudio, libsecret, libv4l, nspr, nss, pango, systemd, xorg }:
let
# Please keep the version x.y.0.z and do not update to x.y.76.z because the
# source of the latter disappears much faster.
version = "8.18.0.6";
version = "8.24.0.2";
rpath = stdenv.lib.makeLibraryPath [
alsaLib
@ -24,8 +24,7 @@ let
gnome3.gconf
gdk_pixbuf
gtk2
gtk3
gnome3.gnome-keyring
@ -57,7 +56,7 @@ let
if stdenv.system == "x86_64-linux" then
fetchurl {
url = "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb";
sha256 = "193icz1s385d25qzm5vx58h66m4hfwwmkavn0p3w6631gj617hig";
sha256 = "079bv0wilwwd9gqykcyfs4bj8za140788dxi058k4275h1jlvrww";
}
else
throw "Skype for linux is not supported on ${stdenv.system}";

View File

@ -31,7 +31,7 @@ in
stdenv.mkDerivation rec {
name = "teamspeak-client-${version}";
version = "3.1.8";
version = "3.1.10";
src = fetchurl {
urls = [
@ -39,8 +39,8 @@ stdenv.mkDerivation rec {
"http://teamspeak.gameserver.gamed.de/ts3/releases/${version}/TeamSpeak3-Client-linux_${arch}-${version}.run"
];
sha256 = if stdenv.is64bit
then "0yav71sfklqg2k3ayd0bllsixd486l0587s5ygjlc9gnchw3zg6z"
else "1agf6jf5hkyxazxqcnvcjfb263p5532ahi7h4rkifnnvqay36v5i";
then "17gylj5pxba14c1c98b5rdyyb87c58z8l8yrd1iw5k293wf7iwv3"
else "1bkn3ykrc73wr02qaqwpr4garlqm3424y3dm2fjx6lqcfzm3ms2k";
};
# grab the plugin sdk for the desktop icon

View File

@ -0,0 +1,28 @@
{stdenv, fetchurl, fetchFromGitHub
, autoconf, automake, mandoc }:
stdenv.mkDerivation rec {
name = "owamp-${version}";
version = "3.5.6";
buildInputs = [ autoconf automake mandoc ];
src = fetchFromGitHub {
owner = "perfsonar";
repo = "owamp";
rev = version;
sha256="019rcshmrqk8pfp510j5jvazdcnz0igfkwv44mfxb5wirzj9p6s7";
fetchSubmodules = true;
};
preConfigure = ''
I2util/bootstrap.sh
./bootstrap
'';
meta = with stdenv.lib; {
homepage = http://software.internet2.edu/owamp/;
description = ''A tool for performing one-way active measurements'';
platforms = platforms.linux;
maintainers = [maintainers.teto];
license = licenses.asl20;
};
}

View File

@ -1,20 +1,20 @@
{ stdenv, fetchFromGitHub, SDL2, frei0r, gettext, mlt, jack1, pkgconfig, qtbase
, qtmultimedia, qtwebkit, qtx11extras, qtwebsockets, qtquickcontrols
, qtgraphicaleffects, libmlt
, qmake, makeWrapper }:
, qmake, makeWrapper, fetchpatch, qttools }:
assert stdenv.lib.versionAtLeast libmlt.version "6.8.0";
assert stdenv.lib.versionAtLeast mlt.version "6.8.0";
stdenv.mkDerivation rec {
name = "shotcut-${version}";
version = "18.05.08";
version = "18.06.02";
src = fetchFromGitHub {
owner = "mltframework";
repo = "shotcut";
rev = "v${version}";
sha256 = "1qm1ycsx93qpw2vga25m3cr82vzqla1qqardjiln3iqfa0m93qsk";
sha256 = "1pqpgsb8ix1akq326chf46vvl5h02dwmdskskf2n6impygsy4x7v";
};
enableParallelBuilding = true;
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
];
NIX_CFLAGS_COMPILE = "-I${libmlt}/include/mlt++ -I${libmlt}/include/mlt";
qmakeFlags = [ "QMAKE_LRELEASE=${stdenv.lib.getDev qttools}/bin/lrelease" ];
prePatch = ''
sed 's_shotcutPath, "qmelt"_"${mlt}/bin/melt"_' -i src/jobs/meltjob.cpp
@ -34,6 +35,12 @@ stdenv.mkDerivation rec {
sed "s_/usr/bin/nice_''${NICE}_" -i src/jobs/meltjob.cpp src/jobs/ffmpegjob.cpp
'';
patches = [ (fetchpatch {
url = https://github.com/mltframework/shotcut/commit/f304b7403cc7beb57b1610afd9c5c8173749e80b.patch;
name = "qt511.patch";
sha256 = "1ynvyjchcb33a33x4w1ddnah2gyzmnm125ailgg6xy60lqsnsmp9";
} ) ];
postInstall = ''
mkdir -p $out/share/shotcut
cp -r src/qml $out/share/shotcut/

View File

@ -1,17 +1,19 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qt5 }:
{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qt5, glib }:
stdenv.mkDerivation rec {
name = "lxqt-build-tools-${version}";
version = "0.4.0";
version = "0.5.0";
src = fetchFromGitHub {
owner = "lxde";
repo = "lxqt-build-tools";
rev = version;
sha256 = "0i3pzgyd80n73dnqs8f6axinaji7biflgqsi33baxn4r1hy58ym1";
sha256 = "0dcwzrijmn4sgivmy2zwz3xa4y69pwhranyw0m90g0pp55di2psz";
};
nativeBuildInputs = [ cmake pkgconfig pcre qt5.qtbase ];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ qt5.qtbase glib pcre ];
preConfigure = ''cmakeFlags+=" -DLXQT_ETC_XDG_DIR=$out/etc/xdg"'';

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "pavucontrol-qt";
version = "0.3.0";
version = "0.4.0";
src = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "1pfqdzsbygvq77npsizydps25d9g6vgw177yqvmz3cg3a68dad27";
sha256 = "1bxqpasfvaagbq8azl7536z2zk2725xg7jkvad5xh95zq1gb4hgk";
};
nativeBuildInputs = [
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
description = "A Pulseaudio mixer in Qt (port of pavucontrol)";
homepage = https://github.com/lxde/pavucontrol-qt;
license = licenses.gpl2;
platforms = with platforms; unix;
platforms = with platforms; linux;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "caja-extensions-${version}";
version = "1.20.0";
version = "1.20.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1abi7s31mx7v8x0f747bmb3s8hrv8fv007pflv2n545yvn0m1dpj";
sha256 = "01k7c3gw6rfd7vlch61zig22bvz40wlnalc5p3rz4d9i98fr643n";
};
nativeBuildInputs = [

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "engrampa-${version}";
version = "1.20.0";
version = "1.20.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1pk053i14a0r5s9qkipwnp4qjg76b763203z64ymnpkslrrarnnm";
sha256 = "09p9jaljaihc723zp17la6lw7h7q16ysk7q0fr0al0k11ss16w6f";
};
nativeBuildInputs = [

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "eom-${version}";
version = "1.20.0";
version = "1.20.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0320ph6cyh0m4cfyvky10j9prk2hry6rpm4jzgcn7ig03dnj4y0s";
sha256 = "0z9l96j0q637hw2mkcc2w737acl7g2c5brgrlk4h73hjamfmsdrm";
};
nativeBuildInputs = [

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "libmatekbd-${version}";
version = "1.20.1";
version = "1.20.2";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1d80xnbb8w51cv9cziybdxca037lksqkc5bd8wqlyb2p79z77426";
sha256 = "1l1zbphs4snswf4bkrwkk6gsmb44bdhymcfgaaspzbrcmw3y7hr1";
};
nativeBuildInputs = [ pkgconfig intltool ];

View File

@ -6,11 +6,11 @@
stdenv.mkDerivation rec {
name = "libmatemixer-${version}";
version = "1.20.0";
version = "1.20.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0jpfaqbspn2mjv6ysgzdmzhb07gx61yiiiwmrw94qymld2igrzb5";
sha256 = "00p67mi0flsbgn15qpwq60rzf917s5islbmhirbvz6npcvv0d493";
};
nativeBuildInputs = [ pkgconfig intltool ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "libmateweather-${version}";
version = "1.20.0";
version = "1.20.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1c8mvydb0h7z3zn0qahwlp15z5wl6nrv24q4z7ldhm340jnxsvh7";
sha256 = "0bp1nn3b5gf5nqrdwl43fxbb82j74s3x8jkmp40ilv2qpc2mxwr1";
};
nativeBuildInputs = [ pkgconfig intltool ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "mate-calc-${version}";
version = "1.20.1";
version = "1.20.2";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "00k063ia4dclvcpg1q733lbi56533s6mj8bgb1nrgna6y7zw4q87";
sha256 = "1ghz03j9lfgrjrh8givsw83dpbkw4wlhq4ar3r5g1bf1z636jlx0";
};
nativeBuildInputs = [

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
name = "mate-control-center-${version}";
version = "1.20.2";
version = "1.20.3";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1x40gxrz1hrzbdfl8vbag231g08h45vaky5z827k44qwl6pjd6nl";
sha256 = "0wpi8b3zz10xd5i7ir7nd737a9vl4q17rc5nh8vfrqpyrcilqzkd";
};
nativeBuildInputs = [

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "mate-menus-${version}";
version = "1.20.0";
version = "1.20.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "1w1k6kdabmabhpqvkizk1si6ri4rmspsbj0252ki834ml0dxpnhg";
sha256 = "1p8pkw6aby2hq2liqrnsf3lvyn2jqamfbs83fv6q7clw5w179sy6";
};
nativeBuildInputs = [ pkgconfig intltool ];

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
name = "mate-notification-daemon-${version}";
version = "1.20.0";
version = "1.20.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0dq457npzid20yfwigdh8gfqgf5wv8p6jhbxfnzybam9xidlqc5f";
sha256 = "0hwswgc3i6d7zvmj0as95xjjw431spxkf1d37mxwaf6j80gx0p78";
};
nativeBuildInputs = [

View File

@ -4,6 +4,7 @@
, meson
, ninja
, pkgconfig
, fixDarwinDylibNames
}:
stdenv.mkDerivation rec {
@ -18,6 +19,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
outputs = [ "out" "devdoc" ];

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
name = "lasso-${version}";
version = "2.5.1";
version = "2.6.0";
src = fetchurl {
url = "https://dev.entrouvert.org/lasso/lasso-${version}.tar.gz";
sha256 = "0n10zjjw84303c9vfy9bqhyzdl01459akbwy86cbgphd826mq45y";
sha256 = "1kqagm63a4mv5sw5qc3y0qlky7r9qg5lccq0c3cnfr0n4mxgysql";
};

View File

@ -54,12 +54,13 @@
, "js-yaml"
, "karma"
, { "kibana-authentication-proxy": "git://github.com/fangli/kibana-authentication-proxy.git" }
, "lcov-result-merger"
, "leetcode-cli"
, "lerna"
, "less"
, "less-plugin-clean-css"
, "lcov-result-merger"
, "livedown"
, "live-server"
, "livedown"
, "meat"
, "meguca"
, "mocha"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -397,6 +397,7 @@ let
RPushbullet = [ pkgs.which ];
qtpaint = [ pkgs.cmake ];
qtbase = [ pkgs.cmake pkgs.perl ];
RcppEigen = [ pkgs.libiconv ];
RCurl = [ pkgs.curl.dev ];
R2SWF = [ pkgs.pkgconfig ];
rggobi = [ pkgs.pkgconfig ];
@ -438,6 +439,7 @@ let
nlme = [ pkgs.libiconv ];
Matrix = [ pkgs.libiconv ];
mgcv = [ pkgs.libiconv ];
igraph = [ pkgs.libiconv ];
};
packagesRequireingX = [

View File

@ -10,13 +10,13 @@ let
};
in stdenv.mkDerivation rec {
name = "godot-${version}";
version = "3.0.2";
version = "3.0.3";
src = fetchFromGitHub {
owner = "godotengine";
repo = "godot";
rev = "${version}-stable";
sha256 = "1ca1zznb7qqn4vf2nfwb8nww5x0k8fc4lwjvgydr6nr2mn70xka4";
sha256 = "060jb5jip1si32a0sm1mmkvy3nldl1cjb82kjh5wihzllph93sxd";
};
nativeBuildInputs = [ pkgconfig ];

View File

@ -1,10 +1,10 @@
{stdenv, fetchurl, python}:
stdenv.mkDerivation {
name = "doclifter-2.17";
name = "doclifter-2.18";
src = fetchurl {
url = http://www.catb.org/~esr/doclifter/doclifter-2.17.tar.gz;
sha256 = "1m8yfjbl8wzcml9q4k7m1crwid0a14r07fqf33bmmgx1zpjk8kmv";
url = http://www.catb.org/~esr/doclifter/doclifter-2.18.tar.gz;
sha256 = "0g39lbml7dclm2nb20j4ffzhq28226qiwxq1w37p7mpqijm7x3hw";
};
buildInputs = [ python ];

View File

@ -2,11 +2,11 @@
with python3Packages; buildPythonApplication rec {
name = "${pname}-${version}";
pname = "pipenv";
version = "11.9.0";
version = "2018.5.18";
src = fetchPypi {
inherit pname version;
sha256 = "7b3c52fb57e17ca61b6141b75c8f5ba61a95c713ca470754240f7f1dbd0a4968";
sha256 = "1knyknmykjj7gixdpfyns77sv4mizl68addk09ajmw9z5aqaif84";
};
LC_ALL = "en_US.UTF-8";

View File

@ -1,6 +1,7 @@
{ stdenv
, desktop-file-utils
, fetchurl
, fetchpatch
, gettext
, glib
, gtk3
@ -28,6 +29,15 @@ in stdenv.mkDerivation rec {
sha256 = "05534dvwrzrmryb4y2m1sb2q0r8i6nr88pzjg7xs5nr9zq8a87p3";
};
patches = [
# fix includedir in pkgconfig
# https://gitlab.gnome.org/GNOME/sysprof/merge_requests/2
(fetchpatch {
url = https://gitlab.gnome.org/GNOME/sysprof/commit/d19a496bb55b8646e866df8bb07bc6ad3c55eaf2.patch;
sha256 = "15w6di9c4n1gsymkpk413f5f9gd3iq23wdkzs01y9xrxwqpm7hm4";
})
];
nativeBuildInputs = [ desktop-file-utils gettext itstool libxml2 meson ninja pkgconfig shared-mime-info wrapGAppsHook ];
buildInputs = [ glib gtk3 pango polkit systemd.dev systemd.lib ];

View File

@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
name = "eventstat-${version}";
version = "0.04.03";
version = "0.04.04";
src = fetchzip {
url = "http://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
sha256 = "0yv7rpdg07rihw8iilvigib963nxf16mn26hzlb6qd1wv54k6dbr";
sha256 = "034xpdr3ip4w9k713wjc45x66k3nz6wg9wkzmchrjifxk4dldbd8";
};
buildInputs = [ ncurses ];
installFlags = [ "DESTDIR=$(out)" ];

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, fetchFromGitHub, buildGoPackage, buildEnv }:
let
version = "4.10.0";
version = "5.0.0";
mattermost-server = buildGoPackage rec {
name = "mattermost-server-${version}";
@ -10,7 +10,7 @@ let
owner = "mattermost";
repo = "mattermost-server";
rev = "v${version}";
sha256 = "02isw8qapp35pgriy4w1ar1ppvgc5a10j550hjbc1mylnhzkg1jf";
sha256 = "12wiw8k5is78ppazrf26y2xq73kwbafa9w75wjnb1839v2k9sark";
};
goPackagePath = "github.com/mattermost/mattermost-server";
@ -20,11 +20,6 @@ let
-X ${goPackagePath}/model.BuildNumber=nixpkgs-${version}
'';
postInstall = ''
ln -s $bin/bin/mattermost-server $bin/bin/platform
ln -s $bin/bin/mattermost-server $bin/bin/mattermost-platform
'';
};
mattermost-webapp = stdenv.mkDerivation {
@ -32,7 +27,7 @@ let
src = fetchurl {
url = "https://releases.mattermost.com/${version}/mattermost-${version}-linux-amd64.tar.gz";
sha256 = "0pfj2dxl4qrv4w6yj0385nw0fa4flcg95kkahs0arwhan5bgifl5";
sha256 = "1pal65di6w9idf3rwxh77la1v816h8kama1ilkbs40cpp2vazw3b";
};
installPhase = ''

View File

@ -3,14 +3,14 @@
}:
let
version = "11.29.3";
version = "11.29.7";
in stdenv.mkDerivation rec {
name = "monetdb-${version}";
src = fetchurl {
url = "https://dev.monetdb.org/downloads/sources/archive/MonetDB-${version}.tar.bz2";
sha256 = "18l4jkkryki5az5n7gnalfdxz6ibnkg3q2z4cwh1010b313wqi8s";
sha256 = "19f9zfg94k8hr9qc7jp1iwl8av08mibzgmid0gbqplyhf6x1j0r7";
};
nativeBuildInputs = [ pkgconfig ];

View File

@ -19,18 +19,18 @@ let
sources = name: system: {
x86_64-darwin = {
url = "${baseUrl}/${name}-darwin-x86_64.tar.gz";
sha256 = "0c4jj580f7z6phiw4zhd32dlf4inkrxy3cig6ng66fi4zi6vnpc9";
sha256 = "0fdcd5d63e231443b9e032de4e2c2be9e4f1c766a25054ad93410f5213e45645";
};
x86_64-linux = {
url = "${baseUrl}/${name}-linux-x86_64.tar.gz";
sha256 = "0rblb0akwdzr5i8al0dcz482xmx1xdnjnzgqywjvwd8fzdyzq7bp";
sha256 = "d39293914b2e969bfe18dd19eb77ba96d283995f8cf1e5d7ba6ac712a3c9479a";
};
}.${system};
in stdenv.mkDerivation rec {
name = "google-cloud-sdk-${version}";
version = "190.0.1";
version = "206.0.0";
src = fetchurl (sources name stdenv.system);

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "abcMIDI-${version}";
version = "2018.05.02";
version = "2018.06.13";
src = fetchzip {
url = "http://ifdo.ca/~seymour/runabc/${name}.zip";
sha256 = "0pva0kwkwdrq4mfgiz389dhaqv66csqjaddirzxmhvvi6qji5d24";
sha256 = "0mmr0wfdwx9vfz17gp0arspv835l5gka78hm5hkri4h3cvxpflfy";
};
# There is also a file called "makefile" which seems to be preferred by the standard build phase

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
name = "cutecom-${version}";
version = "0.40.0";
version = "0.45.0";
src = fetchFromGitHub {
owner = "neundorf";
repo = "CuteCom";
rev = "v${version}";
sha256 = "1bn6vndqlvn73riq6p0nanmcl35ja9gsil5hvfpf509r7i8gx4ds";
sha256 = "07h1r7bcz86fvcvxq6g5zyh7fsginx27jbp81a7hjhhhn6v0dsmh";
};
preConfigure = ''

View File

@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
mkdir -p "$out/bin" "$out/share/gams"
cp -a * "$out/share/gams"
cp ${licenseFile} $out/share/gamslice.txt
cp ${licenseFile} $out/share/gams/gamslice.txt
'' + stdenv.lib.optionalString (optgamsFile != null) ''
cp ${optgamsFile} $out/share/optgams.def
cp ${optgamsFile} $out/share/gams/optgams.def
ln -s $out/share/gams/optgams.def $out/bin/optgams.def
'';

View File

@ -1,18 +1,18 @@
{ stdenv, buildGoPackage, fetchFromGitHub, git, gnupg, xclip, makeWrapper }:
buildGoPackage rec {
version = "1.7.1";
version = "1.8.1";
name = "gopass-${version}";
goPackagePath = "github.com/justwatchcom/gopass";
goPackagePath = "github.com/gopasspw/gopass";
nativeBuildInputs = [ makeWrapper ];
src = fetchFromGitHub {
owner = "justwatchcom";
owner = "gopasspw";
repo = "gopass";
rev = "v${version}";
sha256 = "01cif6a2xa3c8nki0pas9mywdxs8d9niv8z13mii5hcfqvm0s7aw";
sha256 = "1b3caydxz3zf1ky6qvkx0dgidlalvpmga6cjh3gqc269n00lwh6w";
};
wrapperPath = with stdenv.lib; makeBinPath ([
@ -38,7 +38,7 @@ buildGoPackage rec {
meta = with stdenv.lib; {
description = "The slightly more awesome Standard Unix Password Manager for Teams. Written in Go.";
homepage = https://www.justwatch.com/gopass/;
homepage = https://www.gopass.pw/;
license = licenses.mit;
maintainers = with maintainers; [ andir ];
platforms = platforms.unix;

View File

@ -17423,6 +17423,8 @@ with pkgs;
osmctools = callPackage ../applications/misc/osmctools { };
owamp = callPackage ../applications/networking/owamp { };
vivaldi = callPackage ../applications/networking/browsers/vivaldi {};
vivaldi-ffmpeg-codecs = callPackage ../applications/networking/browsers/vivaldi/ffmpeg-codecs.nix {};
@ -18230,7 +18232,7 @@ with pkgs;
gconf = gnome2.GConf;
};
teamspeak_client = libsForQt59.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { };
teamspeak_client = libsForQt5.callPackage ../applications/networking/instant-messengers/teamspeak/client.nix { };
teamspeak_server = callPackage ../applications/networking/instant-messengers/teamspeak/server.nix { };
uaskjuggler = callPackage ../applications/misc/taskjuggler { };