From 2c0ba884c20a2f8c6f40793e254c220871937088 Mon Sep 17 00:00:00 2001 From: gmarmstrong <guthrie.armstrong@gmail.com> Date: Tue, 12 Jun 2018 08:49:40 -0400 Subject: [PATCH 001/106] nixos/seahorse: require gnome3.dconf Fix #41886. --- nixos/modules/services/desktops/gnome3/seahorse.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/desktops/gnome3/seahorse.nix b/nixos/modules/services/desktops/gnome3/seahorse.nix index e9ad738269e4..9631157934f9 100644 --- a/nixos/modules/services/desktops/gnome3/seahorse.nix +++ b/nixos/modules/services/desktops/gnome3/seahorse.nix @@ -29,7 +29,7 @@ with lib; config = mkIf config.services.gnome3.seahorse.enable { - environment.systemPackages = [ pkgs.gnome3.seahorse ]; + environment.systemPackages = [ pkgs.gnome3.seahorse pkgs.gnome3.dconf ]; services.dbus.packages = [ pkgs.gnome3.seahorse ]; From fb19fb6b704ae5c3a5300d3e6443b92075855132 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Date: Wed, 31 Oct 2018 21:46:04 -0400 Subject: [PATCH 002/106] pythonPackages.simanneal: 0.4.1 -> 0.4.1 --- pkgs/development/python-modules/simanneal/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/simanneal/default.nix b/pkgs/development/python-modules/simanneal/default.nix index d059d720f8bd..ad1f2643e5f0 100644 --- a/pkgs/development/python-modules/simanneal/default.nix +++ b/pkgs/development/python-modules/simanneal/default.nix @@ -2,13 +2,13 @@ buildPythonPackage rec { pname = "simanneal"; - version = "0.4.1"; + version = "0.4.2"; src = fetchFromGitHub { owner = "perrygeo"; repo = "simanneal"; rev = version; - sha256 = "12499wvf7ii7cy8z2f1d472p7q9napg1lj0h9xx8l1mbr1hjlp3q"; + sha256 = "0p75da4nbk6iy16aahl0ilqg605jrr6aa1pzfyd9hc7ak2vs6840"; }; checkInputs = [ pytest ]; From b903be77c032e2f22868c84fc7eee89da8370aa7 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Date: Wed, 31 Oct 2018 21:54:43 -0400 Subject: [PATCH 003/106] fastjet: 3.3.1 -> 3.3.2 --- pkgs/development/libraries/physics/fastjet/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/development/libraries/physics/fastjet/default.nix b/pkgs/development/libraries/physics/fastjet/default.nix index 7a65da25890f..3828cfda2aff 100644 --- a/pkgs/development/libraries/physics/fastjet/default.nix +++ b/pkgs/development/libraries/physics/fastjet/default.nix @@ -2,21 +2,15 @@ stdenv.mkDerivation rec { name = "fastjet-${version}"; - version = "3.3.1"; + version = "3.3.2"; src = fetchurl { url = "http://fastjet.fr/repo/fastjet-${version}.tar.gz"; - sha256 = "0lvchyh9q2p8lb10isazw0wbwzs24yg7gxyhpj9xpvz5hydyvgvn"; + sha256 = "1hk3k7dyik640dzg21filpywc2dl862nl2hbpg384hf5pw9syn9z"; }; buildInputs = [ python2 ]; - postPatch = '' - substituteInPlace plugins/SISCone/SISConeBasePlugin.cc \ - --replace 'structure_of<UserScaleBase::StructureType>()' \ - 'structure_of<UserScaleBase>()' - ''; - configureFlags = [ "--enable-allcxxplugins" "--enable-pyext" From 19803a3b69fc450ee72f3104e9676fefe0706c2a Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Date: Wed, 31 Oct 2018 22:13:52 -0400 Subject: [PATCH 004/106] herwig: 7.1.4 thepeg: 2.1.4 --- pkgs/development/libraries/physics/herwig/default.nix | 4 ++-- pkgs/development/libraries/physics/thepeg/default.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/physics/herwig/default.nix b/pkgs/development/libraries/physics/herwig/default.nix index a8655c2dcbe3..88a565f3b1b7 100644 --- a/pkgs/development/libraries/physics/herwig/default.nix +++ b/pkgs/development/libraries/physics/herwig/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "herwig-${version}"; - version = "7.1.3"; + version = "7.1.4"; src = fetchurl { url = "https://www.hepforge.org/archive/herwig/Herwig-${version}.tar.bz2"; - sha256 = "1iq1h5ap86729c4pfkswzfh0l2v20fyvqsb15c35g0407l54wfqm"; + sha256 = "1awr1jz0q873x8bgwiilzklhk1zkgm6slvpychpnvsf9vk05mmdx"; }; nativeBuildInputs = [ autoconf automake libtool ]; diff --git a/pkgs/development/libraries/physics/thepeg/default.nix b/pkgs/development/libraries/physics/thepeg/default.nix index feffa5c11d54..63bc3c06e102 100644 --- a/pkgs/development/libraries/physics/thepeg/default.nix +++ b/pkgs/development/libraries/physics/thepeg/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "thepeg-${version}"; - version = "2.1.3"; + version = "2.1.4"; src = fetchurl { url = "https://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2"; - sha256 = "030wpk78mwb56iph5iqmblsxgzpydsa25bbkv07bihihfm8gds0n"; + sha256 = "1x9dfxmsbmzmsxrv3cczfyrnqkxjcpy89v6v7ycysrx9k8qkf320"; }; buildInputs = [ boost fastjet gsl hepmc lhapdf rivet zlib ]; From 9d35a02dab868b00699ef79c3f9a3c8596b804a8 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski <oxij@oxij.org> Date: Sat, 18 Aug 2018 16:38:14 +0000 Subject: [PATCH 005/106] metrics.nix: add a metrick for the current number of packages as seen by nix-env --- pkgs/top-level/metrics.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/metrics.nix b/pkgs/top-level/metrics.nix index 77f620da7249..a199f61020c6 100644 --- a/pkgs/top-level/metrics.nix +++ b/pkgs/top-level/metrics.nix @@ -49,6 +49,9 @@ runCommand "nixpkgs-metrics" run nix-env.qa nix-env -f ${nixpkgs} -qa run nix-env.qaDrv nix-env -f ${nixpkgs} -qa --drv-path --meta --xml + num=$(nix-env -f ${nixpkgs} -qa | wc -l) + echo "nix-env.qaCount $num" >> $out/nix-support/hydra-metrics + export GC_INITIAL_HEAP_SIZE=128k run nix-env.qaAggressive nix-env -f ${nixpkgs} -qa run nix-env.qaDrvAggressive nix-env -f ${nixpkgs} -qa --drv-path --meta --xml From 874468f23e21681bc6493f42b44bd620918e2f82 Mon Sep 17 00:00:00 2001 From: Alyssa Ross <hi@alyssa.is> Date: Sat, 17 Nov 2018 20:18:42 +0000 Subject: [PATCH 006/106] qt59.qtwebkit: fix build on Darwin --- pkgs/development/libraries/qt-5/modules/qtwebkit.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-5/modules/qtwebkit.nix b/pkgs/development/libraries/qt-5/modules/qtwebkit.nix index 6b61359c8aaa..526fc2b8b2d1 100644 --- a/pkgs/development/libraries/qt-5/modules/qtwebkit.nix +++ b/pkgs/development/libraries/qt-5/modules/qtwebkit.nix @@ -27,7 +27,7 @@ qtModule { ++ optional (stdenv.isDarwin && lib.versionAtLeast qtbase.version "5.9.0") qtmultimedia ++ optional (lib.versionAtLeast qtbase.version "5.11.0") qtwebchannel; buildInputs = [ fontconfig libwebp libxml2 libxslt sqlite glib gst_all_1.gstreamer gst_all_1.gst-plugins-base ] - ++ optionals (stdenv.isDarwin) (with darwin.apple_sdk.frameworks; [ OpenGL ]) + ++ optionals (stdenv.isDarwin) (with darwin; with apple_sdk.frameworks; [ cf-private OpenGL ]) ++ optionals (lib.versionAtLeast qtbase.version "5.11.0") [ hyphen ]; nativeBuildInputs = [ bison2 flex gdb gperf perl pkgconfig python2 ruby From 24b7bdb1c2e80550b8d78db27dc5507591310098 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch <maximilian@mbosch.me> Date: Thu, 15 Nov 2018 19:35:50 +0100 Subject: [PATCH 007/106] phpPackages: drop all packages and package versions for PHP5 PHP5 will be EOLed by the end of the year: https://secure.php.net/supported-versions.php In fact we don't support PHP5 anymore since 7e6b76fc6bdebb12c8c3c2e6223f9fe5f3b38a39. The following packages had older versions packaged as well to retain PHP5 support: * APCu (4.0.11) * Memcached (2.2.0), Memcache (3.0.8) * XDebug (2.3.1) * YAML (1.3.1) * pthreads (2.0.10) * redis (2.2.7) The following packages were removed entirely due to missing support for PHP7: * spidermonkey * zendopcache (part of PHP itself since 5.5) * xcache * geoip Furthermore I declared `phpPackages.pthreads` as broken for now as it supports PHP7, but the last release was 2016 and therefore PHP 7.0 is supported, but the build fails with PHP 7.1 and PHP 7.2 (https://pecl.php.net/package/pthreads). --- pkgs/top-level/php-packages.nix | 160 +++----------------------------- 1 file changed, 12 insertions(+), 148 deletions(-) diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index b96a0ef75f4f..273592428e03 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -6,20 +6,8 @@ let inherit php; inherit (pkgs) stdenv autoreconfHook fetchurl; }; - isPhpOlder55 = pkgs.lib.versionOlder php.version "5.5"; - isPhp7 = pkgs.lib.versionAtLeast php.version "7.0"; - apcu = if isPhp7 then apcu51 else apcu40; - - apcu40 = assert !isPhp7; buildPecl { - name = "apcu-4.0.11"; - sha256 = "002d1gklkf0z170wkbhmm2z1p9p5ghhq3q1r9k54fq1sq4p30ks5"; - buildInputs = [ pkgs.pcre ]; - makeFlags = [ "phpincludedir=$(dev)/include" ]; - outputs = [ "out" "dev" ]; - }; - - apcu51 = assert isPhp7; buildPecl { + apcu = buildPecl { name = "apcu-5.1.11"; sha256 = "0nz9m3fbxgyc2ij63yqmxm06a1f51g8rkxk85f85ziqdin66q2f1"; buildInputs = [ pkgs.pcre ]; @@ -36,7 +24,7 @@ let buildInputs = [ apcu pkgs.pcre ]; }; - ast = assert isPhp7; buildPecl { + ast = buildPecl { name = "ast-0.1.5"; sha256 = "0vv2w5fkkw9n7qdmi5aq50416zxmvyzjym8kb6j1v8kd4xcsjjgw"; @@ -83,7 +71,7 @@ let ]; }; - php_excel = assert isPhp7; buildPecl rec { + php_excel = buildPecl rec { name = "php_excel-${version}"; version = "1.0.2"; phpVersion = "php7"; @@ -110,7 +98,7 @@ let sha256 = "0a55l4f0bgbf3f6sh34njd14niwagg829gfkvb8n5fs69xqab67d"; }; - mailparse = assert isPhp7; buildPecl { + mailparse = buildPecl { name = "mailparse-3.0.2"; sha256 = "0fw447ralqihsjnn0fm2hkaj8343cvb90v0d1wfclgz49256y6nq"; @@ -124,35 +112,7 @@ let buildInputs = [ pkgs.pcre ]; }; - # No support for PHP 7 yet - memcache = assert !isPhp7; buildPecl { - name = "memcache-3.0.8"; - - sha256 = "04c35rj0cvq5ygn2jgmyvqcb0k8d03v4k642b6i37zgv7x15pbic"; - - configureFlags = [ "--with-zlib-dir=${pkgs.zlib.dev}" ]; - - makeFlags = [ "CFLAGS=-fgnu89-inline" ]; - }; - - memcached = if isPhp7 then memcachedPhp7 else memcached22; - - memcached22 = assert !isPhp7; buildPecl { - name = "memcached-2.2.0"; - - sha256 = "0n4z2mp4rvrbmxq079zdsrhjxjkmhz6mzi7mlcipz02cdl7n1f8p"; - - configureFlags = [ - "--with-zlib-dir=${pkgs.zlib.dev}" - "--with-libmemcached-dir=${pkgs.libmemcached}" - ]; - - nativeBuildInputs = [ pkgs.pkgconfig ]; - buildInputs = with pkgs; [ cyrus_sasl zlib ]; - }; - - # Not released yet - memcachedPhp7 = assert isPhp7; buildPecl rec { + memcached = buildPecl rec { name = "memcached-php7"; src = fetchgit { @@ -183,31 +143,7 @@ let sha256 = "0d4p1gpl8gkzdiv860qzxfz250ryf0wmjgyc8qcaaqgkdyh5jy5p"; }; - # No support for PHP 7 yet (and probably never will be) - spidermonkey = assert !isPhp7; buildPecl rec { - name = "spidermonkey-1.0.0"; - - sha256 = "1ywrsp90w6rlgq3v2vmvp2zvvykkgqqasab7h9bf3vgvgv3qasbg"; - - configureFlags = [ - "--with-spidermonkey=${pkgs.spidermonkey_1_8_5}" - ]; - - buildInputs = [ pkgs.spidermonkey_1_8_5 ]; - }; - - xdebug = if isPhp7 then xdebug26 else xdebug23; - - xdebug23 = assert !isPhp7; buildPecl { - name = "xdebug-2.3.1"; - - sha256 = "0k567i6w7cw14m13s7ip0946pvy5ii16cjwjcinnviw9c24na0xm"; - - doCheck = true; - checkTarget = "test"; - }; - - xdebug26 = assert isPhp7; buildPecl { + xdebug = buildPecl { name = "xdebug-2.6.1"; sha256 = "0xxxy6n4lv7ghi9liqx133yskg07lw316vhcds43n1sjq3b93rns"; @@ -216,21 +152,7 @@ let checkTarget = "test"; }; - yaml = if isPhp7 then yaml20 else yaml13; - - yaml13 = assert !isPhp7; buildPecl { - name = "yaml-1.3.1"; - - sha256 = "1fbmgsgnd6l0d4vbjaca0x9mrfgl99yix5yf0q0pfcqzfdg4bj8q"; - - configureFlags = [ - "--with-yaml=${pkgs.libyaml}" - ]; - - nativeBuildInputs = [ pkgs.pkgconfig ]; - }; - - yaml20 = assert isPhp7; buildPecl { + yaml = buildPecl { name = "yaml-2.0.2"; sha256 = "0f80zy79kyy4hn6iigpgfkwppwldjfj5g7s4gddklv3vskdb1by3"; @@ -242,13 +164,6 @@ let nativeBuildInputs = [ pkgs.pkgconfig ]; }; - # Since PHP 5.5 OPcache is integrated in the core and has to be enabled via --enable-opcache during compilation. - zendopcache = assert isPhpOlder55; buildPecl { - name = "zendopcache-7.0.3"; - - sha256 = "0qpfbkfy4wlnsfq4vc4q5wvaia83l89ky33s08gqrcfp3p1adn88"; - }; - zmq = buildPecl { name = "zmq-1.1.3"; @@ -261,69 +176,18 @@ let nativeBuildInputs = [ pkgs.pkgconfig ]; }; - # No support for PHP 7 and probably never will be - xcache = assert !isPhp7; buildPecl rec { - name = "xcache-${version}"; - - version = "3.2.0"; - - src = pkgs.fetchurl { - url = "http://xcache.lighttpd.net/pub/Releases/${version}/${name}.tar.bz2"; - sha256 = "1gbcpw64da9ynjxv70jybwf9y88idm01kb16j87vfagpsp5s64kx"; - }; - - doCheck = true; - checkTarget = "test"; - - configureFlags = [ - "--enable-xcache" - "--enable-xcache-coverager" - "--enable-xcache-optimizer" - "--enable-xcache-assembler" - "--enable-xcache-encoder" - "--enable-xcache-decoder" - ]; - - buildInputs = [ pkgs.m4 ]; - }; - - #pthreads requires a build of PHP with ZTS (Zend Thread Safety) enabled - #--enable-maintainer-zts or --enable-zts on Windows - pthreads = if isPhp7 then pthreads31 else pthreads20; - - pthreads20 = assert (pkgs.config.php.zts or false) && (!isPhp7); buildPecl { - name = "pthreads-2.0.10"; - sha256 = "1xlcb1b1g10jd0xhm3c01a06yqpb5qln47pd1k522138324qvpwb"; - }; - - pthreads31 = assert (pkgs.config.php.zts or false) && isPhp7; buildPecl { + pthreads = assert (pkgs.config.php.zts or false); buildPecl { name = "pthreads-3.1.5"; sha256 = "1ziap0py3zrc7qj9lw4nzq6wx1viyj8v9y1babchizzan014x6p5"; + meta.broken = true; }; - # No support for PHP 7 yet - geoip = assert !isPhp7; buildPecl { - name = "geoip-1.1.0"; - sha256 = "1fcqpsvwba84gqqmwyb5x5xhkazprwkpsnn4sv2gfbsd4svxxil2"; - - configureFlags = [ "--with-geoip=${pkgs.geoip}" ]; - - buildInputs = [ pkgs.geoip ]; - }; - - redis = if isPhp7 then redis31 else redis22; - - redis22 = assert !isPhp7; buildPecl { - name = "redis-2.2.7"; - sha256 = "00n9dpk9ak0bl35sbcd3msr78sijrxdlb727nhg7f2g7swf37rcm"; - }; - - redis31 = assert isPhp7; buildPecl { + redis = buildPecl { name = "redis-3.1.4"; sha256 = "0rgjdrqfif8pfn3ipk1v4gyjkkdcdrdk479qbpda89w25vaxzsxd"; }; - v8 = assert isPhp7; buildPecl rec { + v8 = buildPecl rec { version = "0.1.9"; name = "v8-${version}"; @@ -333,7 +197,7 @@ let configureFlags = [ "--with-v8=${pkgs.v8_6_x}" ]; }; - v8js = assert isPhp7; buildPecl rec { + v8js = buildPecl rec { version = "1.4.1"; name = "v8js-${version}"; From 839d0635459430f8576e9ce4afe908edc544739c Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov <sivanov@colimite.fr> Date: Sun, 18 Nov 2018 23:47:50 +0100 Subject: [PATCH 008/106] processing3: update the hash of the reference --- pkgs/applications/graphics/processing3/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/graphics/processing3/default.nix b/pkgs/applications/graphics/processing3/default.nix index 5575c56b7fd0..6f90131db12a 100644 --- a/pkgs/applications/graphics/processing3/default.nix +++ b/pkgs/applications/graphics/processing3/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { ${xmlstarlet}/bin/xmlstarlet ed --inplace -P -d '//get[@src="http://download.processing.org/reference.zip"]' build/build.xml install -D -m0444 ${fetchurl { url = http://download.processing.org/reference.zip; - sha256 = "0dli1bdgw8hsx7g7b048ap81v2za9maa6pfcwdqm3qkfypr8q7pr"; + sha256 = "0ai0cr62gc7n6y22ki3qibyj1qnlaxv1miqxmmahfk3hpbyfqz9n"; } } ./java/reference.zip From ef8c9637b958436089b8bcd3a58c38a2b80f2472 Mon Sep 17 00:00:00 2001 From: Alexander Krupenkin <mail@akru.me> Date: Mon, 19 Nov 2018 13:28:53 +0300 Subject: [PATCH 009/106] parity: 2.0.8 -> 2.1.6; parity-beta: 2.1.3 -> 2.2.1 --- pkgs/applications/altcoins/parity/beta.nix | 8 ++++---- pkgs/applications/altcoins/parity/default.nix | 8 ++++---- .../altcoins/parity/patches/vendored-sources-2.1.patch | 2 +- ...dored-sources-2.0.patch => vendored-sources-2.2.patch} | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) rename pkgs/applications/altcoins/parity/patches/{vendored-sources-2.0.patch => vendored-sources-2.2.patch} (99%) diff --git a/pkgs/applications/altcoins/parity/beta.nix b/pkgs/applications/altcoins/parity/beta.nix index b2c9fdfd1eeb..da504d633825 100644 --- a/pkgs/applications/altcoins/parity/beta.nix +++ b/pkgs/applications/altcoins/parity/beta.nix @@ -1,9 +1,9 @@ let - version = "2.1.3"; - sha256 = "0il18r229r32jzwsjksp8cc63rp6cf6c0j5dvbfzrnv1zndw0cg3"; - cargoSha256 = "08dyb0lgf66zfq9xmfkhcn6rj070d49dm0rjl3v39sfag6sryz20"; + version = "2.2.1"; + sha256 = "1m65pks2jk83j82f1i901p03qb54xhcp6gfjngcm975187zzvmcq"; + cargoSha256 = "1mf1jgphwvhlqkvzrgbhnqfyqgf3ljc1l9zckyilzmw5k4lf4g1w"; patches = [ - ./patches/vendored-sources-2.1.patch + ./patches/vendored-sources-2.2.patch ]; in import ./parity.nix { inherit version sha256 cargoSha256 patches; } diff --git a/pkgs/applications/altcoins/parity/default.nix b/pkgs/applications/altcoins/parity/default.nix index b0286bf65837..2abc1abe0ed4 100644 --- a/pkgs/applications/altcoins/parity/default.nix +++ b/pkgs/applications/altcoins/parity/default.nix @@ -1,7 +1,7 @@ let - version = "2.0.8"; - sha256 = "1bz6dvx8wxhs3g447s62d9091sard2x7w2zd6iy7hf76wg0p73hr"; - cargoSha256 = "0wj93md87fr7a9ag73h0rd9xxqscl0lhbj3g3kvnqrqz9xxajing"; - patches = [ ./patches/vendored-sources-2.0.patch ]; + version = "2.1.6"; + sha256 = "0njkypszi0fjh9y0zfgxbycs4c1wpylk7wx6xn1pp6gqvvri6hav"; + cargoSha256 = "116sj7pi50k5gb1i618g4pgckqaf8kb13jh2a3shj2kwywzzcgjs"; + patches = [ ./patches/vendored-sources-2.1.patch ]; in import ./parity.nix { inherit version sha256 cargoSha256 patches; } diff --git a/pkgs/applications/altcoins/parity/patches/vendored-sources-2.1.patch b/pkgs/applications/altcoins/parity/patches/vendored-sources-2.1.patch index 4af536cdf3cf..678dd0829237 100644 --- a/pkgs/applications/altcoins/parity/patches/vendored-sources-2.1.patch +++ b/pkgs/applications/altcoins/parity/patches/vendored-sources-2.1.patch @@ -14,7 +14,7 @@ index 72652ad2f..3c0eca89a 100644 + +[source."https://github.com/nikvolf/parity-tokio-ipc"] +git = "https://github.com/nikvolf/parity-tokio-ipc" -+rev = "7c9bbe3bc45d8e72a92b0951acc877da228abd50" ++rev = "c0f80b40399d7f08ef1e6869569640eb28645f56" +replace-with = "vendored-sources" + +[source."https://github.com/nikvolf/tokio-named-pipes"] diff --git a/pkgs/applications/altcoins/parity/patches/vendored-sources-2.0.patch b/pkgs/applications/altcoins/parity/patches/vendored-sources-2.2.patch similarity index 99% rename from pkgs/applications/altcoins/parity/patches/vendored-sources-2.0.patch rename to pkgs/applications/altcoins/parity/patches/vendored-sources-2.2.patch index 9af64559d971..f45de5ed8560 100644 --- a/pkgs/applications/altcoins/parity/patches/vendored-sources-2.0.patch +++ b/pkgs/applications/altcoins/parity/patches/vendored-sources-2.2.patch @@ -44,7 +44,7 @@ index 72652ad2f..3c0eca89a 100644 + +[source."https://github.com/paritytech/jsonrpc.git"] +git = "https://github.com/paritytech/jsonrpc.git" -+branch = "parity-1.11" ++branch = "parity-2.2" +replace-with = "vendored-sources" + +[source."https://github.com/paritytech/libusb-rs"] From 91796d1020296716920cd66896eee360a9ada56b Mon Sep 17 00:00:00 2001 From: "R. RyanTM" <ryantm-bot@ryantm.com> Date: Mon, 19 Nov 2018 04:30:56 -0800 Subject: [PATCH 010/106] jackett: 0.10.434 -> 0.10.446 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/jackett/versions --- pkgs/servers/jackett/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/jackett/default.nix b/pkgs/servers/jackett/default.nix index e23c981e0c1f..9f297873dd0c 100644 --- a/pkgs/servers/jackett/default.nix +++ b/pkgs/servers/jackett/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "jackett-${version}"; - version = "0.10.434"; + version = "0.10.446"; src = fetchurl { url = "https://github.com/Jackett/Jackett/releases/download/v${version}/Jackett.Binaries.Mono.tar.gz"; - sha256 = "1vnkppmv7mw2p9bjcfmfxg66g02dq0020ad4z07gbp4dvixpzsnm"; + sha256 = "1vmgywklax5br3pynjp5b74l2mkmhk3njiccjrl0l7j8ikyar1fw"; }; buildInputs = [ makeWrapper ]; From 851da4b9ee773813bfd3864a15ff9251dd855494 Mon Sep 17 00:00:00 2001 From: Izorkin <izorkin@elven.pw> Date: Mon, 19 Nov 2018 21:27:50 +0300 Subject: [PATCH 011/106] lego: 1.0.1 -> 1.2.1 --- pkgs/tools/admin/lego/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/lego/default.nix b/pkgs/tools/admin/lego/default.nix index 07311c2c64a2..4805a94e7e9e 100644 --- a/pkgs/tools/admin/lego/default.nix +++ b/pkgs/tools/admin/lego/default.nix @@ -2,14 +2,14 @@ buildGoPackage rec { name = "lego-${version}"; - version = "1.0.1"; + version = "1.2.1"; rev = "v${version}"; src = fetchFromGitHub { inherit rev; owner = "xenolf"; repo = "lego"; - sha256 = "1l9winhqwid8ac8il303qkhsn0v5h7zhlklviszfi1rjal38ipiz"; + sha256 = "1b2cv78v54afflz3gfyidkwzq7r2h5j45rmz0ybps03pr0hs4gk3"; }; goPackagePath = "github.com/xenolf/lego"; From 96c0c07ca0c6ab05c6015f436dde32a3f18e4d97 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" <ryantm-bot@ryantm.com> Date: Mon, 19 Nov 2018 11:05:56 -0800 Subject: [PATCH 012/106] gede: 2.10.9 -> 2.12.3 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gede/versions --- pkgs/development/tools/misc/gede/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/gede/default.nix b/pkgs/development/tools/misc/gede/default.nix index 9db0062023ce..d0d3c2326adb 100644 --- a/pkgs/development/tools/misc/gede/default.nix +++ b/pkgs/development/tools/misc/gede/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "gede-${version}"; - version = "2.10.9"; + version = "2.12.3"; src = fetchurl { url = "http://gede.acidron.com/uploads/source/${name}.tar.xz"; - sha256 = "0av9v3r6x6anjjm4hzn8wxnvrqc8zp1g7570m5ndg7cgc3sy3bg6"; + sha256 = "041wvby19dlcbb7x3yn2mbcfkrn0pkyjpgm40ngsks63kqzmkpdp"; }; nativeBuildInputs = [ qmake makeWrapper python ]; From 58ff402b40ec37f90c093e7b3466afc401f4bba7 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski <oxij@oxij.org> Date: Mon, 19 Nov 2018 19:26:52 +0000 Subject: [PATCH 013/106] pkgs/test/nixos-functions: use dummy versioning With this OfBorg and similar tools won't report this derivation as changed every single time. --- pkgs/test/nixos-functions/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/test/nixos-functions/default.nix b/pkgs/test/nixos-functions/default.nix index c8f7122006f7..6dee0a27a79a 100644 --- a/pkgs/test/nixos-functions/default.nix +++ b/pkgs/test/nixos-functions/default.nix @@ -11,10 +11,17 @@ To run this test: */ { pkgs, lib, stdenv, ... }: -lib.optionalAttrs stdenv.hostPlatform.isLinux ( +let + dummyVersioning = { + revision = "test"; + versionSuffix = "test"; + label = "test"; + }; +in lib.optionalAttrs stdenv.hostPlatform.isLinux ( pkgs.recurseIntoAttrs { nixos-test = (pkgs.nixos { + system.nixos = dummyVersioning; boot.loader.grub.enable = false; fileSystems."/".device = "/dev/null"; }).toplevel; @@ -22,6 +29,7 @@ lib.optionalAttrs stdenv.hostPlatform.isLinux ( nixosTest-test = pkgs.nixosTest ({ lib, pkgs, ... }: { name = "nixosTest-test"; machine = { pkgs, ... }: { + system.nixos = dummyVersioning; environment.systemPackages = [ pkgs.hello ]; }; testScript = '' From bbd4888dc30f059b1eaa2f7d39fcf1cd0c580345 Mon Sep 17 00:00:00 2001 From: Francois-Rene Rideau <fare@tunes.org> Date: Sat, 17 Nov 2018 22:45:54 -0500 Subject: [PATCH 014/106] gambit: 4.9.0 -> 4.9.1 --- pkgs/development/compilers/gambit/bootstrap.nix | 12 ++++++------ pkgs/development/compilers/gambit/build.nix | 4 ++-- pkgs/development/compilers/gambit/default.nix | 9 ++++----- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/pkgs/development/compilers/gambit/bootstrap.nix b/pkgs/development/compilers/gambit/bootstrap.nix index 05e804a1f740..8e9525e33842 100644 --- a/pkgs/development/compilers/gambit/bootstrap.nix +++ b/pkgs/development/compilers/gambit/bootstrap.nix @@ -1,16 +1,16 @@ -{ stdenv, fetchurl, autoconf, ... }: +{ stdenv, fetchurl, autoconf, git, ... }: stdenv.mkDerivation rec { name = "gambit-bootstrap-${version}"; - version = "4.8.9"; - tarball_version = "v4_8_9"; + version = "4.9.1"; + tarball_version = "v4_9_1"; src = fetchurl { - url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.8/source/gambit-${tarball_version}-devel.tgz"; - sha256 = "b7f86c794711792ca556ce41f8bc7043dffc395c01bb6d8d119bc2f454f89fbf"; + url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.9/source/gambit-${tarball_version}-devel.tgz"; + sha256 = "10kzv568gimp9nzh5xw0h01vw50wi68z3awfp9ibqrpq2l0n7mw7"; }; - buildInputs = [ autoconf ]; + buildInputs = [ autoconf git ]; configurePhase = '' ./configure --prefix=$out diff --git a/pkgs/development/compilers/gambit/build.nix b/pkgs/development/compilers/gambit/build.nix index 72530f99cdbc..65d16c48a616 100644 --- a/pkgs/development/compilers/gambit/build.nix +++ b/pkgs/development/compilers/gambit/build.nix @@ -1,8 +1,8 @@ -{ stdenv, git, openssl, autoconf, pkgs, makeStaticLibraries, version, SRC }: +{ stdenv, git, openssl, autoconf, pkgs, makeStaticLibraries, version, src }: stdenv.mkDerivation rec { name = "gambit-${version}"; - src = SRC; + inherit src; bootstrap = import ./bootstrap.nix ( pkgs ); diff --git a/pkgs/development/compilers/gambit/default.nix b/pkgs/development/compilers/gambit/default.nix index 812b83389601..19297a6e68eb 100644 --- a/pkgs/development/compilers/gambit/default.nix +++ b/pkgs/development/compilers/gambit/default.nix @@ -1,11 +1,10 @@ { stdenv, callPackage, fetchurl }: callPackage ./build.nix { - version = "4.9.0"; - - SRC = fetchurl { - url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.9/source/gambit-v4_9_0-devel.tgz"; - sha256 = "0wyfpjs244zrbrdil9rfkdgcawvms84z0r77qwhwadghma4dqgjf"; + version = "4.9.1"; + src = fetchurl { + url = "http://www.iro.umontreal.ca/~gambit/download/gambit/v4.9/source/gambit-v4_9_1-devel.tgz"; + sha256 = "10kzv568gimp9nzh5xw0h01vw50wi68z3awfp9ibqrpq2l0n7mw7"; }; inherit stdenv; } From 7ffdb451011124ab6c46a3376e78e98465c2bfc6 Mon Sep 17 00:00:00 2001 From: Francois-Rene Rideau <fare@tunes.org> Date: Sat, 17 Nov 2018 22:53:04 -0500 Subject: [PATCH 015/106] gambit-unstable: 2018-09-03 -> 2018-11-16 --- pkgs/development/compilers/gambit/unstable.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/development/compilers/gambit/unstable.nix b/pkgs/development/compilers/gambit/unstable.nix index 067a409ac1c3..15db82fc9fb2 100644 --- a/pkgs/development/compilers/gambit/unstable.nix +++ b/pkgs/development/compilers/gambit/unstable.nix @@ -1,12 +1,13 @@ -{ stdenv, callPackage, fetchgit }: +{ stdenv, callPackage, fetchFromGitHub }: callPackage ./build.nix { - version = "unstable-2018-09-03"; -# git-version = "4.9.0"; - SRC = fetchgit { - url = "https://github.com/feeley/gambit.git"; - rev = "7cdc7e7b9194b2c088c0667efaf7686a4ffd0d8a"; - sha256 = "06mmi8jkinihfirz4gjfw2lhxhskiqf3d47sihzx10r60asyqcxg"; + version = "unstable-2018-11-19"; +# git-version = "4.9.1-8-g61c6cb50"; + src = fetchFromGitHub { + owner = "feeley"; + repo = "gambit"; + rev = "61c6cb500f4756be1e52095d5ab4501752525a70"; + sha256 = "1knpb40y1g09c6yqd2fsxm3bk56bl5xrrwfsd7nqa497x6ngm5pn"; }; inherit stdenv; } From f87b172891aa2852123c356f3dbd87f63ef682f4 Mon Sep 17 00:00:00 2001 From: Francois-Rene Rideau <fare@tunes.org> Date: Mon, 19 Nov 2018 09:14:15 -0500 Subject: [PATCH 016/106] gerbil: 0.13 -> 0.14 --- pkgs/development/compilers/gerbil/build.nix | 10 +++++----- pkgs/development/compilers/gerbil/default.nix | 18 ++++++++++-------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/pkgs/development/compilers/gerbil/build.nix b/pkgs/development/compilers/gerbil/build.nix index 0ce9fbb00e2e..7ebd3f69cbf4 100644 --- a/pkgs/development/compilers/gerbil/build.nix +++ b/pkgs/development/compilers/gerbil/build.nix @@ -1,20 +1,20 @@ { stdenv, makeStaticLibraries, coreutils, rsync, bash, openssl, zlib, sqlite, libxml2, libyaml, mysql, lmdb, leveldb, postgresql, - version, git-version, GAMBIT, SRC }: + version, git-version, gambit, src }: # TODO: distinct packages for gerbil-release and gerbil-devel # TODO: make static compilation work stdenv.mkDerivation rec { name = "gerbil-${version}"; - src = SRC; + inherit src; # Use makeStaticLibraries to enable creation of statically linked binaries buildInputs_libraries = [ openssl zlib sqlite libxml2 libyaml mysql.connector-c lmdb leveldb postgresql ]; buildInputs_staticLibraries = map makeStaticLibraries buildInputs_libraries; - buildInputs = [ GAMBIT coreutils rsync bash ] + buildInputs = [ gambit rsync bash ] ++ buildInputs_libraries ++ buildInputs_staticLibraries; NIX_CFLAGS_COMPILE = [ "-I${mysql.connector-c}/include/mysql" "-L${mysql.connector-c}/lib/mysql" ]; @@ -66,9 +66,9 @@ EOF export GERBIL_HOME=$out case "\$1" in -:*) GSIOPTIONS=\$1 ; shift ;; esac if [[ \$# = 0 ]] ; then - exec ${GAMBIT}/bin/gsi \$GSIOPTIONS \$GERBIL_HOME/lib/gxi-init \$GERBIL_HOME/lib/gxi-interactive - ; + exec ${gambit}/bin/gsi \$GSIOPTIONS \$GERBIL_HOME/lib/gxi-init \$GERBIL_HOME/lib/gxi-interactive - ; else - exec ${GAMBIT}/bin/gsi \$GSIOPTIONS \$GERBIL_HOME/lib/gxi-init "\$@" + exec ${gambit}/bin/gsi \$GSIOPTIONS \$GERBIL_HOME/lib/gxi-init "\$@" fi EOF runHook postInstall diff --git a/pkgs/development/compilers/gerbil/default.nix b/pkgs/development/compilers/gerbil/default.nix index e0f4ca4324f0..b3d479483644 100644 --- a/pkgs/development/compilers/gerbil/default.nix +++ b/pkgs/development/compilers/gerbil/default.nix @@ -1,12 +1,14 @@ -{ stdenv, callPackage, fetchurl, gambit }: +{ stdenv, callPackage, fetchFromGitHub, gambit }: -callPackage ./build.nix { - version = "0.13"; - git-version = "0.13"; - GAMBIT = gambit; - SRC = fetchurl { - url = "https://github.com/vyzo/gerbil/archive/v0.13.tar.gz"; - sha256 = "1qs0vdq2lgxlpw20s8jzw2adx1xk9wb3w2m4a8vp6bb8hagmfr5l"; +callPackage ./build.nix rec { + version = "0.14"; + git-version = "0.14"; + inherit gambit; + src = fetchFromGitHub { + owner = "vyzo"; + repo = "gerbil"; + rev = "v${version}"; + sha256 = "0n078lkf8m391kr99ipb1v2dpi5vkikz9nj0p7kfjg43868my3v7"; }; inherit stdenv; } From 05c90569c47f4c869ed856e549a5fb77492d85a4 Mon Sep 17 00:00:00 2001 From: Francois-Rene Rideau <fare@tunes.org> Date: Sat, 17 Nov 2018 22:55:26 -0500 Subject: [PATCH 017/106] gerbil-unstable: 2018-09-06 -> 2018-11-19 --- pkgs/development/compilers/gerbil/unstable.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/development/compilers/gerbil/unstable.nix b/pkgs/development/compilers/gerbil/unstable.nix index bd9c3994dd49..96bd86b26166 100644 --- a/pkgs/development/compilers/gerbil/unstable.nix +++ b/pkgs/development/compilers/gerbil/unstable.nix @@ -1,13 +1,14 @@ -{ stdenv, callPackage, fetchgit, gambit-unstable }: +{ stdenv, callPackage, fetchFromGitHub, gambit-unstable }: callPackage ./build.nix { - version = "unstable-2018-09-06"; - git-version = "0.14-DEV"; - GAMBIT = gambit-unstable; - SRC = fetchgit { - url = "https://github.com/vyzo/gerbil.git"; - rev = "184cb635c82517d5d75d7966dcdf1d25ad863dac"; - sha256 = "1ljzbpc36i9zpzfwra5hpfbgzj1dyzzp50h5jf976n8qr9x4l7an"; + version = "unstable-2018-11-19"; + git-version = "0.15-DEV-2-g7d09a4ce"; + gambit = gambit-unstable; + src = fetchFromGitHub { + owner = "vyzo"; + repo = "gerbil"; + rev = "7d09a4cebe03d755a1791e77279e156a74e07685"; + sha256 = "1mqi9xcjk59sqbh1fx65a4fa4mqm35py4xqxq6086bcyhkm1nzwa"; }; inherit stdenv; } From 6fb56af8b211093ada25964044b05c71d3315371 Mon Sep 17 00:00:00 2001 From: Vladyslav Mykhailichenko <dywedir@pm.me> Date: Tue, 20 Nov 2018 10:51:46 +0200 Subject: [PATCH 018/106] wireguard-tools: 0.0.20181018 -> 0.0.20181119 --- pkgs/tools/networking/wireguard-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/wireguard-tools/default.nix b/pkgs/tools/networking/wireguard-tools/default.nix index 12e2deb74226..51e23e5dee1f 100644 --- a/pkgs/tools/networking/wireguard-tools/default.nix +++ b/pkgs/tools/networking/wireguard-tools/default.nix @@ -4,11 +4,11 @@ with stdenv.lib; stdenv.mkDerivation rec { name = "wireguard-tools-${version}"; - version = "0.0.20181018"; + version = "0.0.20181119"; src = fetchzip { url = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz"; - sha256 = "0vrr0f89nrpwnyia6kqvrjkxwivrnvjnbavmx2nxlrb3sz23481y"; + sha256 = "1cxws2h64xvg6idb6jb6rdvn9wgmhdvq8s2lzqjbmds7sj6n09wa"; }; sourceRoot = "source/src/tools"; From b8fbaebf0805399290253dd7a3dc96c66f6b1776 Mon Sep 17 00:00:00 2001 From: Daniel Sandbecker <daniels@users.noreply.github.com> Date: Tue, 20 Nov 2018 11:13:29 +0100 Subject: [PATCH 019/106] xsv: Add darwin.Security as dependency on MacOS --- pkgs/tools/text/xsv/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/text/xsv/default.nix b/pkgs/tools/text/xsv/default.nix index 960449cd0228..539ec9bd0403 100644 --- a/pkgs/tools/text/xsv/default.nix +++ b/pkgs/tools/text/xsv/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform }: +{ stdenv, fetchFromGitHub, rustPlatform, pkgs }: rustPlatform.buildRustPackage rec { name = "xsv-${version}"; @@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "1qk5wkjm3d4dz5fldlq7rjlm602v0l04hxrbar2j6vhcz9w2r4n6"; + buildInputs = stdenv.lib.optional stdenv.isDarwin pkgs.darwin.Security; + meta = with stdenv.lib; { description = "A fast CSV toolkit written in Rust"; homepage = https://github.com/BurntSushi/xsv; From f5af8bf5f129de014e83b30cadf8b6e4d93e6b24 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 13:58:45 -0400 Subject: [PATCH 020/106] pythonPackages.google_resumeable_media: init at 0.3.1 --- .../google_resumable_media/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 9 +++--- 2 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 pkgs/development/python-modules/google_resumable_media/default.nix diff --git a/pkgs/development/python-modules/google_resumable_media/default.nix b/pkgs/development/python-modules/google_resumable_media/default.nix new file mode 100644 index 000000000000..430945e6dfdb --- /dev/null +++ b/pkgs/development/python-modules/google_resumable_media/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, six +, requests +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-resumable-media"; + version = "0.3.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "97de518f8166d442cc0b61fab308bcd319dbb970981e667ec8ded44f5ce49836"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ six requests ]; + + checkPhase = '' + py.test tests/unit + ''; + + meta = with stdenv.lib; { + description = "Utilities for Google Media Downloads and Resumable Uploads"; + homepage = https://github.com/GoogleCloudPlatform/google-resumable-media-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 20895690169f..40d2cc357f6d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -196,7 +196,7 @@ in { astropy = callPackage ../development/python-modules/astropy { }; - astroquery = callPackage ../development/python-modules/astroquery { }; + astroquery = callPackage ../development/python-modules/astroquery { }; atom = callPackage ../development/python-modules/atom { }; @@ -2444,10 +2444,9 @@ in { google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; - gpgme = toPythonModule (pkgs.gpgme.override { - pythonSupport = true; - inherit (self) python; - }); + google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; + + gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; }); gphoto2 = callPackage ../development/python-modules/gphoto2 { inherit (pkgs) pkgconfig; From 855f9d02e563e00e0e565460a17447fb00987eaa Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 14:15:33 -0400 Subject: [PATCH 021/106] pythonPackages.grpc_google_iam_v1: init at 0.11.4 --- .../grpc_google_iam_v1/default.nix | 25 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/grpc_google_iam_v1/default.nix diff --git a/pkgs/development/python-modules/grpc_google_iam_v1/default.nix b/pkgs/development/python-modules/grpc_google_iam_v1/default.nix new file mode 100644 index 000000000000..68ca4b04c0e0 --- /dev/null +++ b/pkgs/development/python-modules/grpc_google_iam_v1/default.nix @@ -0,0 +1,25 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, grpcio +, googleapis_common_protos +}: + +buildPythonPackage rec { + pname = "grpc-google-iam-v1"; + version = "0.11.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "5009e831dcec22f3ff00e89405249d6a838d1449a46ac8224907aa5b0e0b1aec"; + }; + + propagatedBuildInputs = [ grpcio googleapis_common_protos ]; + + meta = with stdenv.lib; { + description = "GRPC library for the google-iam-v1 service"; + homepage = https://github.com/googleapis/googleapis; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 40d2cc357f6d..03939fb31255 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2466,6 +2466,8 @@ in { grpcio-tools = callPackage ../development/python-modules/grpcio-tools { }; + grpc_google_iam_v1 = callPackage ../development/python-modules/grpc_google_iam_v1 { }; + gspread = callPackage ../development/python-modules/gspread { }; gyp = callPackage ../development/python-modules/gyp { }; From 53a196bea8a257e14724bdc81b6075930c65cf6d Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 14:17:53 -0400 Subject: [PATCH 022/106] pythonPackages.google_cloud_kms: init at 0.2.0 --- .../google_cloud_kms/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_kms/default.nix diff --git a/pkgs/development/python-modules/google_cloud_kms/default.nix b/pkgs/development/python-modules/google_cloud_kms/default.nix new file mode 100644 index 000000000000..d5db318cef32 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_kms/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, grpc_google_iam_v1 +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-kms"; + version = "0.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "add648f9185a8724f8632b3a006ee0af4847a5ab4ca085954ff1d00a8cd2d54c"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Cloud Key Management Service (KMS) API API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 03939fb31255..8c8b366c5784 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2442,6 +2442,8 @@ in { google_cloud_core = callPackage ../development/python-modules/google_cloud_core { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; + google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; From 6622deac9aa094e0b2a832764d53be630848c739 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 14:33:49 -0400 Subject: [PATCH 023/106] pythonPackages.google_cloud_testutils: init at unstable-36ffa923c7037e8b4fdcaa76272cb6267e908a9d This is a pseudo package (not released on pypi) but a package necissary for running google-cloud-* package tests. --- .../google_cloud_testutils/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_testutils/default.nix diff --git a/pkgs/development/python-modules/google_cloud_testutils/default.nix b/pkgs/development/python-modules/google_cloud_testutils/default.nix new file mode 100644 index 000000000000..9c8d6ca93e05 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_testutils/default.nix @@ -0,0 +1,35 @@ +{ stdenv +, buildPythonPackage +, fetchFromGitHub +, six +, google_auth +}: + +buildPythonPackage rec { + pname = "google-cloud-testutils"; + version = "unstable-36ffa923c7037e8b4fdcaa76272cb6267e908a9d"; + + # google-cloud-testutils is not "really" + # released as a python package + # but it is required for google-cloud-* tests + # so why not package it as a module + src = fetchFromGitHub { + owner = "googleapis"; + repo = "google-cloud-python"; + rev = "36ffa923c7037e8b4fdcaa76272cb6267e908a9d"; + sha256 = "1fvcnssmpgf4lfr7l9h7cz984rbc5mfr1j1br12japcib5biwzjy"; + }; + + propagatedBuildInputs = [ six google_auth ]; + + postPatch = '' + cd test_utils + ''; + + meta = with stdenv.lib; { + description = "System test utilities for google-cloud-python"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8c8b366c5784..9afcc8e4030b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2446,6 +2446,8 @@ in { google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; + google_cloud_testutils = callPackage ../development/python-modules/google_cloud_testutils { }; + google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; }); From 9cb04c0799b1dc607ffd38f140e11224b700e000 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 14:47:18 -0400 Subject: [PATCH 024/106] pythonPackages.google_cloud_storage: init at 1.13.0 --- .../google_cloud_storage/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_storage/default.nix diff --git a/pkgs/development/python-modules/google_cloud_storage/default.nix b/pkgs/development/python-modules/google_cloud_storage/default.nix new file mode 100644 index 000000000000..5784a641290d --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_storage/default.nix @@ -0,0 +1,33 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_resumable_media +, google_api_core +, google_cloud_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-storage"; + version = "1.13.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "fc32b9be41a45016ba2387e3ad23e70ccba399d626ef596409316f7cee477956"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_resumable_media google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Storage API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9afcc8e4030b..cf9edb7cdc5e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2444,6 +2444,8 @@ in { google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; + google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; + google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; google_cloud_testutils = callPackage ../development/python-modules/google_cloud_testutils { }; From fd462177575df9390c2977d3b2811b5e9d235f25 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 14:49:46 -0400 Subject: [PATCH 025/106] pythonPackages.google_cloud_bigquery: init at 1.6.0 --- .../google_cloud_bigquery/default.nix | 36 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 38 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_bigquery/default.nix diff --git a/pkgs/development/python-modules/google_cloud_bigquery/default.nix b/pkgs/development/python-modules/google_cloud_bigquery/default.nix new file mode 100644 index 000000000000..18f2087df17c --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_bigquery/default.nix @@ -0,0 +1,36 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_resumable_media +, google_api_core +, google_cloud_core +, pandas +, pyarrow +, pytest +, mock +, ipython +}: + +buildPythonPackage rec { + pname = "google-cloud-bigquery"; + version = "1.6.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "d559ba1e05cf6a960e09bb5aab3aeb4d50ad9e08c77a20a17c01c9b2bd8d6cb7"; + }; + + checkInputs = [ pytest mock ipython ]; + propagatedBuildInputs = [ google_resumable_media google_api_core google_cloud_core pandas pyarrow ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google BigQuery API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cf9edb7cdc5e..cb37d34e3a2b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2442,6 +2442,8 @@ in { google_cloud_core = callPackage ../development/python-modules/google_cloud_core { }; + google_cloud_bigquery = callPackage ../development/python-modules/google_cloud_bigquery { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; From 7e852bf73916bdb43f43e4071b6871610c167537 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 14:54:03 -0400 Subject: [PATCH 026/106] pythonPackages.google_cloud_bigquery_datatransfer: init at 0.1.1 --- .../default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix diff --git a/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix b/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix new file mode 100644 index 000000000000..64deae6de367 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_bigquery_datatransfer/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-bigquery-datatransfer"; + version = "0.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "f5b5d0de43805fa9ebb620c58e1d27e6d32d2fc8e9a2f954ee170f7a026c8757"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "BigQuery Data Transfer API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index cb37d34e3a2b..be8ba4450a68 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2444,6 +2444,8 @@ in { google_cloud_bigquery = callPackage ../development/python-modules/google_cloud_bigquery { }; + google_cloud_bigquery_datatransfer = callPackage ../development/python-modules/google_cloud_bigquery_datatransfer { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; From 035ae7a5c8e182226340781f55fc2c947826cd99 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 14:57:06 -0400 Subject: [PATCH 027/106] pythonPackages.google_cloud_asset: init at 0.1.1 --- .../google_cloud_asset/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_asset/default.nix diff --git a/pkgs/development/python-modules/google_cloud_asset/default.nix b/pkgs/development/python-modules/google_cloud_asset/default.nix new file mode 100644 index 000000000000..f6ad7e60a5c9 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_asset/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, grpc_google_iam_v1 +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-asset"; + version = "0.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "cec2f44a670371e24e6140c454fdac3ed06be0a021042c6756a3284b505335c7"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Cloud Asset API API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index be8ba4450a68..079e0cf0a58c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2440,6 +2440,8 @@ in { google_auth = callPackage ../development/python-modules/google_auth { }; + google_cloud_asset = callPackage ../development/python-modules/google_cloud_asset { }; + google_cloud_core = callPackage ../development/python-modules/google_cloud_core { }; google_cloud_bigquery = callPackage ../development/python-modules/google_cloud_bigquery { }; From 2b907d2856ca3d85bb88928d12a85984b15e4007 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:00:01 -0400 Subject: [PATCH 028/106] pythonPackages.google_cloud_automl: init at 0.1.1 --- .../google_cloud_automl/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_automl/default.nix diff --git a/pkgs/development/python-modules/google_cloud_automl/default.nix b/pkgs/development/python-modules/google_cloud_automl/default.nix new file mode 100644 index 000000000000..c7775aac2932 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_automl/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-automl"; + version = "0.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "793d463f78d22a822196cb3e34b247fbdba07eeae15ceadb911f5ccecd843f87"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ enum34 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Cloud AutoML API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 079e0cf0a58c..35efb78b27c8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2442,6 +2442,8 @@ in { google_cloud_asset = callPackage ../development/python-modules/google_cloud_asset { }; + google_cloud_automl = callPackage ../development/python-modules/google_cloud_automl { }; + google_cloud_core = callPackage ../development/python-modules/google_cloud_core { }; google_cloud_bigquery = callPackage ../development/python-modules/google_cloud_bigquery { }; From a3b45989701191708c7a3bc55dcf2b5e4b742880 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:03:22 -0400 Subject: [PATCH 029/106] pythonPackages.google_cloud_bigtable: init at 0.31.0 --- .../google_cloud_bigtable/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_bigtable/default.nix diff --git a/pkgs/development/python-modules/google_cloud_bigtable/default.nix b/pkgs/development/python-modules/google_cloud_bigtable/default.nix new file mode 100644 index 000000000000..7eeb41c56de7 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_bigtable/default.nix @@ -0,0 +1,33 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, grpc_google_iam_v1 +, google_api_core +, google_cloud_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-bigtable"; + version = "0.31.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "b6c8572697b5fdc7fcb95d88f87b8c84cea5a7aef2d57d3de0d6a9e2b0e8424f"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ grpc_google_iam_v1 google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Bigtable API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 35efb78b27c8..5628c8720c57 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2450,6 +2450,8 @@ in { google_cloud_bigquery_datatransfer = callPackage ../development/python-modules/google_cloud_bigquery_datatransfer { }; + google_cloud_bigtable = callPackage ../development/python-modules/google_cloud_bigtable { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; From fcf9839117005d31aca0a52ada8c01652c134468 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:05:49 -0400 Subject: [PATCH 030/106] pythonPackages.google_cloud_container: init at 0.1.1 --- .../google_cloud_container/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_container/default.nix diff --git a/pkgs/development/python-modules/google_cloud_container/default.nix b/pkgs/development/python-modules/google_cloud_container/default.nix new file mode 100644 index 000000000000..14ed41a3ea4a --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_container/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-container"; + version = "0.1.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "a89afcb1fe96bc9361c231c223c3bbe19fa3787caeb4697cd5778990e1077270"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Container Engine API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5628c8720c57..c6e133596b3c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2452,6 +2452,8 @@ in { google_cloud_bigtable = callPackage ../development/python-modules/google_cloud_bigtable { }; + google_cloud_container = callPackage ../development/python-modules/google_cloud_container { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; From 206a66c138bf7b185a0a160b99c066d90ac128bf Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:08:22 -0400 Subject: [PATCH 031/106] pythonPAckages.google_cloud_dataproc: init at 0.2.0 --- .../google_cloud_dataproc/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_dataproc/default.nix diff --git a/pkgs/development/python-modules/google_cloud_dataproc/default.nix b/pkgs/development/python-modules/google_cloud_dataproc/default.nix new file mode 100644 index 000000000000..6db5f4a52321 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_dataproc/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-dataproc"; + version = "0.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "531dbd3e5862df5e67751efdcd89f00d0ded35f3a87a18fd3245e1c365080720"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Dataproc API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c6e133596b3c..627c3aa12b3d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2454,6 +2454,8 @@ in { google_cloud_container = callPackage ../development/python-modules/google_cloud_container { }; + google_cloud_dataproc = callPackage ../development/python-modules/google_cloud_dataproc { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; From dccf50300f5faef418a53356c6b9f5f6094b9cfc Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:10:51 -0400 Subject: [PATCH 032/106] pythonPackages.google_cloud_datastore: init at 1.7.1 --- .../google_cloud_datastore/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_datastore/default.nix diff --git a/pkgs/development/python-modules/google_cloud_datastore/default.nix b/pkgs/development/python-modules/google_cloud_datastore/default.nix new file mode 100644 index 000000000000..f0754b230f08 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_datastore/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, google_cloud_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-datastore"; + version = "1.7.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "03c1a06b0d94ac2f801513c9255bd5fc8773d036f0e59d63ffe1152cfe4320de"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Datastore API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 627c3aa12b3d..694464694f01 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2456,6 +2456,8 @@ in { google_cloud_dataproc = callPackage ../development/python-modules/google_cloud_dataproc { }; + google_cloud_datastore = callPackage ../development/python-modules/google_cloud_datastore { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; From 5472060a7ab23afd55a56d12982076872003ea5b Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:13:44 -0400 Subject: [PATCH 033/106] pythonPackages.google_cloud_dlp: init at 0.9.0 --- .../google_cloud_dlp/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_dlp/default.nix diff --git a/pkgs/development/python-modules/google_cloud_dlp/default.nix b/pkgs/development/python-modules/google_cloud_dlp/default.nix new file mode 100644 index 000000000000..37ebd95faa5b --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_dlp/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-dlp"; + version = "0.9.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "408e5c6820dc53dd589a7bc378d25c2cf5817c448b7c7b1268bc745ecbe04ec3"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ enum34 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Cloud Data Loss Prevention (DLP) API API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 694464694f01..c28abc151a76 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2458,6 +2458,8 @@ in { google_cloud_datastore = callPackage ../development/python-modules/google_cloud_datastore { }; + google_cloud_dlp = callPackage ../development/python-modules/google_cloud_dlp { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; From aeba5b010c9f38033c32edfbcd9c6ac3bbecfa33 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:16:20 -0400 Subject: [PATCH 034/106] pythonPackages.google_cloud_dns: init at 0.29.0 --- .../google_cloud_dns/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_dns/default.nix diff --git a/pkgs/development/python-modules/google_cloud_dns/default.nix b/pkgs/development/python-modules/google_cloud_dns/default.nix new file mode 100644 index 000000000000..48d0c7429465 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_dns/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, google_cloud_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-dns"; + version = "0.29.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "f6ea35676c59b6bfd4a2e6aa42670c6ed3505ba46f7117cdc953094e568f404e"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud DNS API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c28abc151a76..824e1452dec4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2460,6 +2460,8 @@ in { google_cloud_dlp = callPackage ../development/python-modules/google_cloud_dlp { }; + google_cloud_dns = callPackage ../development/python-modules/google_cloud_dns { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; From 9887696cae0301fb26a2237cf3faf433971b4d10 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:30:28 -0400 Subject: [PATCH 035/106] pythonPAckages.webapp2: init at 2.5.2 --- .../python-modules/webapp2/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/webapp2/default.nix diff --git a/pkgs/development/python-modules/webapp2/default.nix b/pkgs/development/python-modules/webapp2/default.nix new file mode 100644 index 000000000000..91ce52ff5adc --- /dev/null +++ b/pkgs/development/python-modules/webapp2/default.nix @@ -0,0 +1,29 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, webob +, six +, jinja2 +}: + +buildPythonPackage rec { + pname = "webapp2"; + version = "2.5.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "997db622a266bd64eb7fcc9cfe823efb69277544aa92064030c16acbfb2733a5"; + }; + + # # error in tests when running with python 3+ + doCheck = false; + + propagatedBuildInputs = [ webob six ]; + + meta = with stdenv.lib; { + description = "Taking Google App Engine's webapp to the next level"; + homepage = http://webapp-improved.appspot.com; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 824e1452dec4..c641e23cab9e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -716,6 +716,8 @@ in { vidstab = callPackage ../development/python-modules/vidstab { }; + webapp2 = callPackage ../development/python-modules/webapp2 { }; + pyunbound = callPackage ../tools/networking/unbound/python.nix { }; WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { }; From f012fd1f90874b727ccbf070aef7110ccc5861b4 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:30:52 -0400 Subject: [PATCH 036/106] pythonPackages.google_cloud_logging: init at 1.8.0 --- .../google_cloud_logging/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_logging/default.nix diff --git a/pkgs/development/python-modules/google_cloud_logging/default.nix b/pkgs/development/python-modules/google_cloud_logging/default.nix new file mode 100644 index 000000000000..6c73b67b3dbc --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_logging/default.nix @@ -0,0 +1,35 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, google_cloud_core +, pytest +, mock +, webapp2 +, django +, flask +}: + +buildPythonPackage rec { + pname = "google-cloud-logging"; + version = "1.8.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "418ae534a8044ea5fd385fc4958763d76b8f315785d7a61f264c5a04035d02d5"; + }; + + checkInputs = [ pytest mock webapp2 django flask ]; + propagatedBuildInputs = [ google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Stackdriver Logging API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c641e23cab9e..afc87cea2302 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2466,6 +2466,8 @@ in { google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; + google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { }; + google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; From 4b88425dc9480a66e5856077062f638401feb12f Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:31:56 -0400 Subject: [PATCH 037/106] pythonPackages.google_cloud_error_reporting: init at 0.30.0 --- .../google_cloud_error_reporting/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_error_reporting/default.nix diff --git a/pkgs/development/python-modules/google_cloud_error_reporting/default.nix b/pkgs/development/python-modules/google_cloud_error_reporting/default.nix new file mode 100644 index 000000000000..3ddf022d6646 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_error_reporting/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_cloud_logging +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-error-reporting"; + version = "0.30.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "768a5c3ed7a96b60f051717c1138e561493ab0ef4dd4acbcf9e2b1cc2d09e06a"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_cloud_logging ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Stackdriver Error Reporting API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index afc87cea2302..d311c5df0b45 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2464,6 +2464,8 @@ in { google_cloud_dns = callPackage ../development/python-modules/google_cloud_dns { }; + google_cloud_error_reporting = callPackage ../development/python-modules/google_cloud_error_reporting { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { }; From 9c13931d5e3bbd1bfd85c6672313e2292681e4e1 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:38:38 -0400 Subject: [PATCH 038/106] pythonPackages.google_cloud_firestore: init at 0.30.0 --- .../google_cloud_firestore/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_firestore/default.nix diff --git a/pkgs/development/python-modules/google_cloud_firestore/default.nix b/pkgs/development/python-modules/google_cloud_firestore/default.nix new file mode 100644 index 000000000000..6cc42805d4e2 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_firestore/default.nix @@ -0,0 +1,35 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, google_cloud_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-firestore"; + version = "0.30.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "7f990572ace890867bbbc63c9d700c1d2635ba4c799e05f30b6fdca490021243"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ google_api_core google_cloud_core ]; + + # tests were not included with release + # See issue https://github.com/googleapis/google-cloud-python/issues/6380 + doCheck = false; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Firestore API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d311c5df0b45..002622950051 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2466,6 +2466,8 @@ in { google_cloud_error_reporting = callPackage ../development/python-modules/google_cloud_error_reporting { }; + google_cloud_firestore = callPackage ../development/python-modules/google_cloud_firestore { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { }; From 3a81c65c388c5d3d214dc7581419ba8ab119d446 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:42:52 -0400 Subject: [PATCH 039/106] pythonPackages.google_cloud_iot: init at 0.1.0 --- .../google_cloud_iot/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_iot/default.nix diff --git a/pkgs/development/python-modules/google_cloud_iot/default.nix b/pkgs/development/python-modules/google_cloud_iot/default.nix new file mode 100644 index 000000000000..cb46f6e764a7 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_iot/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, grpc_google_iam_v1 +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-iot"; + version = "0.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1502fa6d64f8f0f7c0e34e71c82c5daacc8fd8f78256cfadef5ae06c5efcc3b4"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Cloud IoT API API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + # maintainers = [ maintainers. ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 002622950051..f41bcd8e05fa 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2468,6 +2468,8 @@ in { google_cloud_firestore = callPackage ../development/python-modules/google_cloud_firestore { }; + google_cloud_iot = callPackage ../development/python-modules/google_cloud_iot { }; + google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { }; From d3609a0610955b95547aa90ffaa3a9d9e4092c04 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:45:30 -0400 Subject: [PATCH 040/106] pythonPackages.google_cloud_language: init at 1.1.0 --- .../google_cloud_language/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_language/default.nix diff --git a/pkgs/development/python-modules/google_cloud_language/default.nix b/pkgs/development/python-modules/google_cloud_language/default.nix new file mode 100644 index 000000000000..adf354f3bff5 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_language/default.nix @@ -0,0 +1,31 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-language"; + version = "1.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "2450e3265df129241cb21badb9d4ce2089d2652581df38e03c14a7ec85679ecb"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ enum34 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Natural Language API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f41bcd8e05fa..be64c2a0a3f1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2472,6 +2472,8 @@ in { google_cloud_kms = callPackage ../development/python-modules/google_cloud_kms { }; + google_cloud_language = callPackage ../development/python-modules/google_cloud_language { }; + google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { }; google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; From 1e85f64bc223f8060ae3726159a0fb9f9336ae05 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:48:41 -0400 Subject: [PATCH 041/106] pythonPackages.google_cloud_monitoring: init at 0.30.1 --- .../google_cloud_monitoring/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_monitoring/default.nix diff --git a/pkgs/development/python-modules/google_cloud_monitoring/default.nix b/pkgs/development/python-modules/google_cloud_monitoring/default.nix new file mode 100644 index 000000000000..5d78bd22b010 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_monitoring/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pandas +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-monitoring"; + version = "0.30.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "6b26d659360306d51b9fb88c5b1eb77bf49967a37b6348ae9568c083e466274d"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_api_core pandas ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Stackdriver Monitoring API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index be64c2a0a3f1..67cbda26214c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2476,6 +2476,8 @@ in { google_cloud_logging = callPackage ../development/python-modules/google_cloud_logging { }; + google_cloud_monitoring = callPackage ../development/python-modules/google_cloud_monitoring { }; + google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; From 3c40cc5eeb6b75ebb05f0ef74eb1d0e736da714c Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 15:53:13 -0400 Subject: [PATCH 042/106] pythonPackages.google_cloud_pubsub: init at 0.38.0 --- .../google_cloud_pubsub/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_pubsub/default.nix diff --git a/pkgs/development/python-modules/google_cloud_pubsub/default.nix b/pkgs/development/python-modules/google_cloud_pubsub/default.nix new file mode 100644 index 000000000000..54221f821dc9 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_pubsub/default.nix @@ -0,0 +1,33 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, grpc_google_iam_v1 +, google_api_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-pubsub"; + version = "0.38.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0b0481fa61faf8143c3cffc9d3fbe757423a200fbddddcf27feb2c49e3c35e58"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Pub/Sub API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 67cbda26214c..b67186df5cc7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2478,6 +2478,8 @@ in { google_cloud_monitoring = callPackage ../development/python-modules/google_cloud_monitoring { }; + google_cloud_pubsub = callPackage ../development/python-modules/google_cloud_pubsub { }; + google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; From 2964bb840c1b1daf56fe68cd44f443ebbc57e792 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:06:12 -0400 Subject: [PATCH 043/106] pythonPacakges.google_cloud_redis: init at 0.2.0 --- .../google_cloud_redis/default.nix | 37 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_redis/default.nix diff --git a/pkgs/development/python-modules/google_cloud_redis/default.nix b/pkgs/development/python-modules/google_cloud_redis/default.nix new file mode 100644 index 000000000000..85aff0b19de4 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_redis/default.nix @@ -0,0 +1,37 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-redis"; + version = "0.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "c0fa00cafbce3e9a0e35fb7f9d754ac70b450b6496c62c20bb3a1f500aeca9e4"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ enum34 google_api_core ]; + + # requires old version of google-api-core (override) + preBuild = '' + sed -i "s/'google-api-core\[grpc\] >= 0.1.0, < 0.2.0dev'/'google-api-core'/g" setup.py + sed -i "s/google-api-core\[grpc\]<0.2.0dev,>=0.1.0/google-api-core/g" google_cloud_redis.egg-info/requires.txt + ''; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Memorystore for Redis API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b67186df5cc7..3ad77f0f30fe 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2480,6 +2480,8 @@ in { google_cloud_pubsub = callPackage ../development/python-modules/google_cloud_pubsub { }; + google_cloud_redis = callPackage ../development/python-modules/google_cloud_redis { }; + google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; From 4171715886d898bc50dd7bc5c4a27c35aebe6224 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:09:18 -0400 Subject: [PATCH 044/106] pythonPackages.google_cloud_resource_manager: init at 0.28.1 --- .../google_cloud_resource_manager/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_resource_manager/default.nix diff --git a/pkgs/development/python-modules/google_cloud_resource_manager/default.nix b/pkgs/development/python-modules/google_cloud_resource_manager/default.nix new file mode 100644 index 000000000000..a8182c5794db --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_resource_manager/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_cloud_core +, google_api_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-resource-manager"; + version = "0.28.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "fc29c11dcbe9208261d377185a1ae5331bab43f2a592222a25c8aca9c8031308"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_cloud_core google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Resource Manager API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3ad77f0f30fe..00c332ec1d3d 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2482,6 +2482,8 @@ in { google_cloud_redis = callPackage ../development/python-modules/google_cloud_redis { }; + google_cloud_resource_manager = callPackage ../development/python-modules/google_cloud_resource_manager { }; + google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; From 8810a026c397aae9b48170fee9d65102fb49c5e8 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:12:41 -0400 Subject: [PATCH 045/106] pythonPackages.google_cloud_runtimeconfig: init at 0.28.1 --- .../google_cloud_runtimeconfig/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_runtimeconfig/default.nix diff --git a/pkgs/development/python-modules/google_cloud_runtimeconfig/default.nix b/pkgs/development/python-modules/google_cloud_runtimeconfig/default.nix new file mode 100644 index 000000000000..ef95391ebe01 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_runtimeconfig/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, google_cloud_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-runtimeconfig"; + version = "0.28.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "f441fbc22e2d0871ecb390854aa352cf467d2751cbc0dac7578274ead813519e"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud RuntimeConfig API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 00c332ec1d3d..5fc475f1341e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2484,6 +2484,8 @@ in { google_cloud_resource_manager = callPackage ../development/python-modules/google_cloud_resource_manager { }; + google_cloud_runtimeconfig = callPackage ../development/python-modules/google_cloud_runtimeconfig { }; + google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; From 50f0fc28622491f4509e191d4ab313a1d8c0a99d Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:15:17 -0400 Subject: [PATCH 046/106] pythonPAckages.google_cloud_securitycenter: init at 0.1.0 --- .../google_cloud_securitycenter/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_securitycenter/default.nix diff --git a/pkgs/development/python-modules/google_cloud_securitycenter/default.nix b/pkgs/development/python-modules/google_cloud_securitycenter/default.nix new file mode 100644 index 000000000000..d1e03c40bce0 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_securitycenter/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, grpc_google_iam_v1 +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-securitycenter"; + version = "0.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "6ef386ba065a167670ad1b67f15fb7ba9e21ce33579fa6d7fafafd5b970b3e8a"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Cloud Security Command Center API API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5fc475f1341e..7078a1be32b2 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2486,6 +2486,8 @@ in { google_cloud_runtimeconfig = callPackage ../development/python-modules/google_cloud_runtimeconfig { }; + google_cloud_securitycenter = callPackage ../development/python-modules/google_cloud_securitycenter { }; + google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; From b7c7eea740b5a49f78ddd8864376e32dec457fcd Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:20:45 -0400 Subject: [PATCH 047/106] pythonPackages.grpcio-gcp: init at 0.2.2 --- .../python-modules/grpcio-gcp/default.nix | 24 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 pkgs/development/python-modules/grpcio-gcp/default.nix diff --git a/pkgs/development/python-modules/grpcio-gcp/default.nix b/pkgs/development/python-modules/grpcio-gcp/default.nix new file mode 100644 index 000000000000..067b27c8ffd1 --- /dev/null +++ b/pkgs/development/python-modules/grpcio-gcp/default.nix @@ -0,0 +1,24 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, grpcio +}: + +buildPythonPackage rec { + pname = "grpcio-gcp"; + version = "0.2.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "e292605effc7da39b7a8734c719afb12ec4b5362add3528d8afad3aa3aa9057c"; + }; + + propagatedBuildInputs = [ grpcio ]; + + meta = with stdenv.lib; { + description = "gRPC extensions for Google Cloud Platform"; + homepage = https://grpc.io; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7078a1be32b2..270b6aac00ce 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2516,6 +2516,8 @@ in { grpcio-tools = callPackage ../development/python-modules/grpcio-tools { }; + grpcio-gcp = callPackage ../development/python-modules/grpcio-gcp { }; + grpc_google_iam_v1 = callPackage ../development/python-modules/grpc_google_iam_v1 { }; gspread = callPackage ../development/python-modules/gspread { }; From 226cde04766c0bcf0b6c7469e5e1c97cfffd0cc6 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:22:03 -0400 Subject: [PATCH 048/106] pythonPackages.google_cloud_spanner: init at 1.6.0 --- .../google_cloud_spanner/default.nix | 34 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_spanner/default.nix diff --git a/pkgs/development/python-modules/google_cloud_spanner/default.nix b/pkgs/development/python-modules/google_cloud_spanner/default.nix new file mode 100644 index 000000000000..a4b72d0e4963 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_spanner/default.nix @@ -0,0 +1,34 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, grpc_google_iam_v1 +, grpcio-gcp +, google_api_core +, google_cloud_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-spanner"; + version = "1.6.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "f7140e1cb43fbf670521112f03822b63d15fbcbd2830c7cfa1b868836e04b6b4"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ grpcio-gcp grpc_google_iam_v1 google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Cloud Spanner API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 270b6aac00ce..a9a8599f9df1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2488,6 +2488,8 @@ in { google_cloud_securitycenter = callPackage ../development/python-modules/google_cloud_securitycenter { }; + google_cloud_spanner = callPackage ../development/python-modules/google_cloud_spanner { }; + google_cloud_storage = callPackage ../development/python-modules/google_cloud_storage { }; google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; From e856f40f1859f8db4d2392a1c65e59cd55ff355e Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:23:44 -0400 Subject: [PATCH 049/106] pythonPackages.google_cloud_speed: refactor enable tests --- .../python-modules/google_cloud_speech/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/google_cloud_speech/default.nix b/pkgs/development/python-modules/google_cloud_speech/default.nix index 6a8aefa92c42..3054f618784b 100644 --- a/pkgs/development/python-modules/google_cloud_speech/default.nix +++ b/pkgs/development/python-modules/google_cloud_speech/default.nix @@ -13,8 +13,9 @@ buildPythonPackage rec { propagatedBuildInputs = [ google_api_core ]; checkInputs = [ pytest mock ]; - # needs credentials - doCheck = false; + checkPhase = '' + pytest tests/unit + ''; meta = with stdenv.lib; { description = "Cloud Speech API enables integration of Google speech recognition into applications."; From 334a2d7baf4fe42a30ab2178df0915ad74b2d315 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:26:30 -0400 Subject: [PATCH 050/106] pythonPackages.google_cloud_tasks: init at 0.3.0 --- .../google_cloud_tasks/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_tasks/default.nix diff --git a/pkgs/development/python-modules/google_cloud_tasks/default.nix b/pkgs/development/python-modules/google_cloud_tasks/default.nix new file mode 100644 index 000000000000..5981dc7d0d3a --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_tasks/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, grpc_google_iam_v1 +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-tasks"; + version = "0.3.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "f874a7aabad225588263c6cbcd4d67455cc682ebb6d9f00bd06c8d2d5673b4db"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ enum34 grpc_google_iam_v1 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Cloud Tasks API API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a9a8599f9df1..506f32cc6fa8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2494,6 +2494,8 @@ in { google_cloud_speech = callPackage ../development/python-modules/google_cloud_speech { }; + google_cloud_tasks = callPackage ../development/python-modules/google_cloud_tasks { }; + google_cloud_testutils = callPackage ../development/python-modules/google_cloud_testutils { }; google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; From b1bfcaac2560af4c7194120b8ad859ec7e4e23f2 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:28:54 -0400 Subject: [PATCH 051/106] pythonPAckages.google_cloud_texttospeech: init at 0.2.0 --- .../google_cloud_texttospeech/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_texttospeech/default.nix diff --git a/pkgs/development/python-modules/google_cloud_texttospeech/default.nix b/pkgs/development/python-modules/google_cloud_texttospeech/default.nix new file mode 100644 index 000000000000..d3249d9d344d --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_texttospeech/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-texttospeech"; + version = "0.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "6064bc6e2761694b708878ff3d5902c6ce5eb44a770a921e7a99caf6c2533ae3"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Text-to-Speech API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 506f32cc6fa8..1cc023137781 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2498,6 +2498,8 @@ in { google_cloud_testutils = callPackage ../development/python-modules/google_cloud_testutils { }; + google_cloud_texttospeech = callPackage ../development/python-modules/google_cloud_texttospeech { }; + google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; }); From b729904accd4e09036c75747025e30b86c928b1f Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:31:31 -0400 Subject: [PATCH 052/106] pythonPackages.google_cloud_trace: init at 0.19.0 --- .../google_cloud_trace/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_trace/default.nix diff --git a/pkgs/development/python-modules/google_cloud_trace/default.nix b/pkgs/development/python-modules/google_cloud_trace/default.nix new file mode 100644 index 000000000000..cc8829ebfb3b --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_trace/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, google_cloud_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-trace"; + version = "0.19.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "2cb774498e90143a9565dd50e2814b6b0292242a53b8804a1a529989e18b7461"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Stackdriver Trace API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1cc023137781..ef2aca60ae57 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2500,6 +2500,8 @@ in { google_cloud_texttospeech = callPackage ../development/python-modules/google_cloud_texttospeech { }; + google_cloud_trace = callPackage ../development/python-modules/google_cloud_trace { }; + google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; }); From 88942912f8ea34665c576303b64746f50093b58f Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:35:02 -0400 Subject: [PATCH 053/106] pythonPackages.google_cloud_translate: init at 1.3.1 --- .../google_cloud_translate/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_translate/default.nix diff --git a/pkgs/development/python-modules/google_cloud_translate/default.nix b/pkgs/development/python-modules/google_cloud_translate/default.nix new file mode 100644 index 000000000000..842a145a3f4c --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_translate/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, google_cloud_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-translate"; + version = "1.3.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "4420f5b320145bf097ca9a12b18ec27c067886e2832d181f268c46c3bcb0d2e4"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ google_api_core google_cloud_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Translation API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ef2aca60ae57..9721ac32623f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2502,6 +2502,8 @@ in { google_cloud_trace = callPackage ../development/python-modules/google_cloud_trace { }; + google_cloud_translate = callPackage ../development/python-modules/google_cloud_translate { }; + google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; }); From e657733595ff635ae0bd9d8545a8eb50bf33f932 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:38:28 -0400 Subject: [PATCH 054/106] pythonPackages.google_cloud_videointelligence: init at 1.5.0 --- .../default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_videointelligence/default.nix diff --git a/pkgs/development/python-modules/google_cloud_videointelligence/default.nix b/pkgs/development/python-modules/google_cloud_videointelligence/default.nix new file mode 100644 index 000000000000..056dd8991ef1 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_videointelligence/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-videointelligence"; + version = "1.5.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "bd0abc18070520fd5757b15356e8483149e1caebbe43019257ccb2c43cddbbbe"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Video Intelligence API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9721ac32623f..4168608868e7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2504,6 +2504,8 @@ in { google_cloud_translate = callPackage ../development/python-modules/google_cloud_translate { }; + google_cloud_videointelligence = callPackage ../development/python-modules/google_cloud_videointelligence { }; + google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; }); From 4dc3d521670761d71aac3aa6ede7e23356bfc1e1 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:40:57 -0400 Subject: [PATCH 055/106] pythonPackages.google_cloud_vision: init at 0.34.0 --- .../google_cloud_vision/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_vision/default.nix diff --git a/pkgs/development/python-modules/google_cloud_vision/default.nix b/pkgs/development/python-modules/google_cloud_vision/default.nix new file mode 100644 index 000000000000..6a52016311b9 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_vision/default.nix @@ -0,0 +1,32 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, enum34 +, google_api_core +, pytest +, mock +}: + +buildPythonPackage rec { + pname = "google-cloud-vision"; + version = "0.34.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "50392b2c68e40dbf725c531ba4d325bd910da6441a472ed0a3fadfd0ab8548f7"; + }; + + checkInputs = [ pytest mock ]; + propagatedBuildInputs = [ enum34 google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Cloud Vision API API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 4168608868e7..d390e176ecf3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2506,6 +2506,8 @@ in { google_cloud_videointelligence = callPackage ../development/python-modules/google_cloud_videointelligence { }; + google_cloud_vision = callPackage ../development/python-modules/google_cloud_vision { }; + google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; }); From 24d96d9f0461644cfc0a622b56cf812636c4d148 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov <chris.ostrouchov@gmail.com> Date: Fri, 2 Nov 2018 16:43:05 -0400 Subject: [PATCH 056/106] pythonPackages.google_cloud_websecurityscanner: init at 0.1.0 --- .../default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix diff --git a/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix b/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix new file mode 100644 index 000000000000..5a12be2ae557 --- /dev/null +++ b/pkgs/development/python-modules/google_cloud_websecurityscanner/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, google_api_core +, pytest +}: + +buildPythonPackage rec { + pname = "google-cloud-websecurityscanner"; + version = "0.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "d41a9e1a093862aa1b181fa7fdc2a94e185eb4a8f290dbdb928bc9ebd253a95f"; + }; + + checkInputs = [ pytest ]; + propagatedBuildInputs = [ google_api_core ]; + + checkPhase = '' + pytest tests/unit + ''; + + meta = with stdenv.lib; { + description = "Google Cloud Web Security Scanner API client library"; + homepage = https://github.com/GoogleCloudPlatform/google-cloud-python; + license = licenses.asl20; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d390e176ecf3..4f6d14d60392 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2508,6 +2508,8 @@ in { google_cloud_vision = callPackage ../development/python-modules/google_cloud_vision { }; + google_cloud_websecurityscanner = callPackage ../development/python-modules/google_cloud_websecurityscanner { }; + google_resumable_media = callPackage ../development/python-modules/google_resumable_media { }; gpgme = toPythonModule (pkgs.gpgme.override { pythonSupport=true; }); From fa623ad828eeecb27de6d3671872ab99daac3b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20P=C3=A4tzel?= <dpaetzel@posteo.de> Date: Mon, 29 Oct 2018 09:11:17 +0100 Subject: [PATCH 057/106] netlogo: init 6.0.4 --- .../science/misc/netlogo/default.nix | 58 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 60 insertions(+) create mode 100644 pkgs/applications/science/misc/netlogo/default.nix diff --git a/pkgs/applications/science/misc/netlogo/default.nix b/pkgs/applications/science/misc/netlogo/default.nix new file mode 100644 index 000000000000..76f958cc3a81 --- /dev/null +++ b/pkgs/applications/science/misc/netlogo/default.nix @@ -0,0 +1,58 @@ +{ jre, stdenv, fetchurl, makeWrapper, makeDesktopItem }: + +let + + desktopItem = makeDesktopItem rec { + name = "netlogo"; + exec = name; + icon = name; + comment = "A multi-agent programmable modeling environment"; + desktopName = "NetLogo"; + categories = "Science;"; + }; + +in + +stdenv.mkDerivation rec { + name = "netlogo-${version}"; + version = "6.0.4"; + + src = fetchurl { + url = "https://ccl.northwestern.edu/netlogo/${version}/NetLogo-${version}-64.tgz"; + sha256 = "0dcd9df4dfb218826a74f9df42163fa588908a1dfe58864106936f8dfb76acec"; + }; + + src1 = fetchurl { + name = "netlogo.png"; + url = "https://netlogoweb.org/assets/images/desktopicon.png"; + sha256 = "1i43lhr31lzva8d2r0dxpcgr58x496gb5vmb0h2da137ayvifar8"; + }; + + nativeBuildInputs = [ makeWrapper ]; + + installPhase = '' + mkdir -pv $out/share/netlogo $out/share/icons/hicolor/256x256/apps $out/share/applications $out/share/doc + cp -rv app $out/share/netlogo + cp -v readme.md $out/share/doc/ + + # launcher with `cd` is required b/c otherwise the model library isn't usable + makeWrapper "${jre}/bin/java" "$out/bin/netlogo" \ + --run "cd $out/share/netlogo/app" \ + --add-flags "-jar netlogo-${version}.jar" + + cp $src1 $out/share/icons/hicolor/256x256/apps/netlogo.png + cp ${desktopItem}/share/applications/* $out/share/applications + ''; + + meta = with stdenv.lib; { + description = "A multi-agent programmable modeling environment"; + longDescription = '' + NetLogo is a multi-agent programmable modeling environment. It is used by + many tens of thousands of students, teachers and researchers worldwide. + ''; + homepage = https://ccl.northwestern.edu/netlogo/index.shtml; + license = licenses.gpl2; + maintainers = [ maintainers.dpaetzel ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fa1471bffd9c..8cfeb233c5d9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21712,6 +21712,8 @@ with pkgs; megam = callPackage ../applications/science/misc/megam { }; + netlogo = callPackage ../applications/science/misc/netlogo { }; + ns-3 = callPackage ../development/libraries/science/networking/ns3 { }; root = callPackage ../applications/science/misc/root { From 9c37c5f4d322dddf8570fc0c5df7dac72de76b27 Mon Sep 17 00:00:00 2001 From: Luke Clifton <Luke.Clifton@cba.com.au> Date: Mon, 5 Nov 2018 08:49:50 +0800 Subject: [PATCH 058/106] dvtm-unstable: init at 2018-03-31 --- pkgs/tools/misc/dvtm/default.nix | 34 ++++--------------------------- pkgs/tools/misc/dvtm/dvtm.nix | 30 +++++++++++++++++++++++++++ pkgs/tools/misc/dvtm/unstable.nix | 29 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 4 files changed, 65 insertions(+), 30 deletions(-) create mode 100644 pkgs/tools/misc/dvtm/dvtm.nix create mode 100644 pkgs/tools/misc/dvtm/unstable.nix diff --git a/pkgs/tools/misc/dvtm/default.nix b/pkgs/tools/misc/dvtm/default.nix index 58c602113ddb..bedfebd96812 100644 --- a/pkgs/tools/misc/dvtm/default.nix +++ b/pkgs/tools/misc/dvtm/default.nix @@ -1,11 +1,9 @@ -{ stdenv, fetchurl, ncurses, customConfig ? null }: - -stdenv.mkDerivation rec { - +{callPackage, fetchurl}: +callPackage ./dvtm.nix rec { name = "dvtm-0.15"; src = fetchurl { - url = "${meta.homepage}/${name}.tar.gz"; + url = "http://www.brain-dump.org/projects/dvtm/${name}.tar.gz"; sha256 = "0475w514b7i3gxk6khy8pfj2gx9l7lv2pwacmq92zn1abv01a84g"; }; @@ -17,29 +15,5 @@ stdenv.mkDerivation rec { sha256 = "1cby8x3ckvhzqa8yxlfrwzgm8wk7yz84kr9psdjr7xwpnca1cqrd"; }) ]; - - CFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE"; - - postPatch = stdenv.lib.optionalString (customConfig != null) '' - cp ${builtins.toFile "config.h" customConfig} ./config.h - ''; - - buildInputs = [ ncurses ]; - - prePatch = '' - substituteInPlace Makefile \ - --replace /usr/share/terminfo $out/share/terminfo - ''; - - installPhase = '' - make PREFIX=$out install - ''; - - meta = with stdenv.lib; { - description = "Dynamic virtual terminal manager"; - homepage = http://www.brain-dump.org/projects/dvtm; - license = licenses.mit; - maintainers = [ maintainers.vrthra ]; - platforms = platforms.unix; - }; } + diff --git a/pkgs/tools/misc/dvtm/dvtm.nix b/pkgs/tools/misc/dvtm/dvtm.nix new file mode 100644 index 000000000000..10fb4cd89bd9 --- /dev/null +++ b/pkgs/tools/misc/dvtm/dvtm.nix @@ -0,0 +1,30 @@ +{ stdenv, ncurses, customConfig ? null, name, src, patches ? [] }: +stdenv.mkDerivation rec { + + inherit name src patches; + + CFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE"; + + postPatch = stdenv.lib.optionalString (customConfig != null) '' + cp ${builtins.toFile "config.h" customConfig} ./config.h + ''; + + buildInputs = [ ncurses ]; + + prePatch = '' + substituteInPlace Makefile \ + --replace /usr/share/terminfo $out/share/terminfo + ''; + + installPhase = '' + make PREFIX=$out install + ''; + + meta = with stdenv.lib; { + description = "Dynamic virtual terminal manager"; + homepage = http://www.brain-dump.org/projects/dvtm; + license = licenses.mit; + maintainers = [ maintainers.vrthra ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/tools/misc/dvtm/unstable.nix b/pkgs/tools/misc/dvtm/unstable.nix new file mode 100644 index 000000000000..6ee2a465c69a --- /dev/null +++ b/pkgs/tools/misc/dvtm/unstable.nix @@ -0,0 +1,29 @@ +{callPackage, fetchFromGitHub, fetchpatch}: +callPackage ./dvtm.nix { + name = "dvtm-unstable-2018-03-31"; + + src = fetchFromGitHub { + owner = "martanne"; + repo = "dvtm"; + rev = "311a8c0c28296f8f87fb63349e0f3254c7481e14"; + sha256 = "0pyxjkaxh8n97kccnmd3p98vi9h8mcfy5lswzqiplsxmxxmlbpx2"; + }; + + patches = [ + # https://github.com/martanne/dvtm/pull/69 + # Use self-pipe instead of signal blocking fixes issues on darwin. + (fetchpatch { + name = "use-self-pipe-fix-darwin"; + url = "https://github.com/martanne/dvtm/commit/1f1ed664d64603f3f1ce1388571227dc723901b2.patch"; + sha256 = "14j3kks7b1v6qq12442v1da3h7khp02rp0vi0qrz0rfgkg1zilpb"; + }) + + # https://github.com/martanne/dvtm/pull/86 + # Fix buffer corruption when title is updated + (fetchpatch { + name = "fix-buffer-corruption-on-title-update"; + url = "https://github.com/martanne/dvtm/commit/be6c3f8f615daeab214d484e6fff22e19631a0d1.patch"; + sha256 = "1wdrl3sg815lhs22fwbc4w5dn4ifpdgl7v1kqfnhg752av4im7h7"; + }) + ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index be30a885759a..3f5f115b51e3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2367,6 +2367,8 @@ with pkgs; # customConfig = builtins.readFile ./dvtm.config.h; }; + dvtm-unstable = callPackage ../tools/misc/dvtm/unstable.nix {}; + ecmtools = callPackage ../tools/cd-dvd/ecm-tools { }; e2tools = callPackage ../tools/filesystems/e2tools { }; From e2ac38fdac41dfb80bcca9ba00824fdbdd33124a Mon Sep 17 00:00:00 2001 From: "R. RyanTM" <ryantm-bot@ryantm.com> Date: Wed, 21 Nov 2018 04:12:14 -0800 Subject: [PATCH 059/106] guile-sdl2: 0.2.0 -> 0.3.1 * guile-sdl2: 0.2.0 -> 0.3.1 (#50730) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/guile-sdl2/versions * guilde-sdl2: split native build inputs libtool and pkgconfig are moved from buildInputs to nativeBuildInputs --- pkgs/development/guile-modules/guile-sdl2/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/guile-modules/guile-sdl2/default.nix b/pkgs/development/guile-modules/guile-sdl2/default.nix index b20fc162ef3b..e4a548ae376b 100644 --- a/pkgs/development/guile-modules/guile-sdl2/default.nix +++ b/pkgs/development/guile-modules/guile-sdl2/default.nix @@ -5,18 +5,18 @@ let name = "${pname}-${version}"; pname = "guile-sdl2"; - version = "0.2.0"; + version = "0.3.1"; in stdenv.mkDerivation { inherit name; src = fetchurl { url = "https://files.dthompson.us/${pname}/${name}.tar.gz"; - sha256 = "0yq9lsl17cdvj77padvpk3jcw2g6g0pck9jrchc7n2767rrc012b"; + sha256 = "0bw7x2lx90k4banc5k7yfkn3as93y25gr1xdr225ll7lmij21k64"; }; + nativeBuildInputs = [ libtool pkgconfig ]; buildInputs = [ - guile libtool pkgconfig - SDL2 SDL2_image SDL2_ttf SDL2_mixer + guile SDL2 SDL2_image SDL2_ttf SDL2_mixer ]; configureFlags = [ From 952f4fda864b61314f21a07766b74c344d124843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> Date: Wed, 21 Nov 2018 12:38:49 +0000 Subject: [PATCH 060/106] makeRustPlatform: refactor to make it easier to understand It is now clearer what is supposed to be in the rust attribute set without having studied type theory. The amount of code is identically. --- pkgs/build-support/rust/default.nix | 10 +++------- pkgs/build-support/rust/fetchcargo.nix | 4 ++-- pkgs/build-support/rust/make-rust-platform.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 16 +--------------- 4 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 pkgs/build-support/rust/make-rust-platform.nix diff --git a/pkgs/build-support/rust/default.nix b/pkgs/build-support/rust/default.nix index 5fdcf520440e..43aecdef5f2e 100644 --- a/pkgs/build-support/rust/default.nix +++ b/pkgs/build-support/rust/default.nix @@ -1,9 +1,5 @@ -{ stdenv, cacert, git, rust, cargo-vendor, python3 }: -let - fetchcargo = import ./fetchcargo.nix { - inherit stdenv cacert git rust cargo-vendor python3; - }; -in +{ stdenv, cacert, git, cargo, rustc, cargo-vendor, fetchcargo, python3 }: + { name, cargoSha256 ? "unset" , src ? null , srcs ? null @@ -45,7 +41,7 @@ in stdenv.mkDerivation (args // { patchRegistryDeps = ./patch-registry-deps; - buildInputs = [ cacert git rust.cargo rust.rustc ] ++ buildInputs; + buildInputs = [ cacert git cargo rustc ] ++ buildInputs; patches = cargoPatches ++ patches; diff --git a/pkgs/build-support/rust/fetchcargo.nix b/pkgs/build-support/rust/fetchcargo.nix index 9e77f8817b24..c23fa66ef9f0 100644 --- a/pkgs/build-support/rust/fetchcargo.nix +++ b/pkgs/build-support/rust/fetchcargo.nix @@ -1,4 +1,4 @@ -{ stdenv, cacert, git, rust, cargo-vendor, python3 }: +{ stdenv, cacert, git, cargo, cargo-vendor, python3 }: let cargo-vendor-normalise = stdenv.mkDerivation { name = "cargo-vendor-normalise"; src = ./cargo-vendor-normalise.py; @@ -20,7 +20,7 @@ in { name ? "cargo-deps", src, srcs, patches, sourceRoot, sha256, cargoUpdateHook ? "" }: stdenv.mkDerivation { name = "${name}-vendor"; - nativeBuildInputs = [ cacert cargo-vendor git cargo-vendor-normalise rust.cargo ]; + nativeBuildInputs = [ cacert cargo-vendor git cargo-vendor-normalise cargo ]; inherit src srcs patches sourceRoot; phases = "unpackPhase patchPhase installPhase"; diff --git a/pkgs/build-support/rust/make-rust-platform.nix b/pkgs/build-support/rust/make-rust-platform.nix new file mode 100644 index 000000000000..afbc56865ff7 --- /dev/null +++ b/pkgs/build-support/rust/make-rust-platform.nix @@ -0,0 +1,18 @@ +{ callPackage }: +{ rustc, cargo, ... }: { + rust = { + inherit rustc cargo; + }; + + buildRustPackage = callPackage ./default.nix { + inherit rustc cargo; + + fetchcargo = callPackage ./fetchcargo.nix { + inherit cargo; + }; + }; + + rustcSrc = callPackage ../../development/compilers/rust/rust-src.nix { + inherit rustc; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 98101ec847cd..688b2f9a6160 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7384,23 +7384,9 @@ with pkgs; defaultCrateOverrides = callPackage ../build-support/rust/default-crate-overrides.nix { }; + makeRustPlatform = callPackage ../build-support/rust/make-rust-platform.nix {}; rustPlatform = recurseIntoAttrs (makeRustPlatform rust); - makeRustPlatform = rust: lib.fix (self: - let - callPackage = newScope self; - in { - inherit rust; - - buildRustPackage = callPackage ../build-support/rust { - inherit rust; - }; - - rustcSrc = callPackage ../development/compilers/rust/rust-src.nix { - inherit (rust) rustc; - }; - }); - cargo-download = callPackage ../tools/package-management/cargo-download { }; cargo-edit = callPackage ../tools/package-management/cargo-edit { }; cargo-release = callPackage ../tools/package-management/cargo-release { }; From 09cbfea2edd8a525f54d96a45c0edc2fe3c94e56 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra <edolstra@gmail.com> Date: Wed, 21 Nov 2018 15:26:37 +0100 Subject: [PATCH 061/106] Revert "resolvconf.conf: Remove forced NSCD service restart" This reverts commit d8c16bc54ac0279597733db3bd4a5edaef6fa8c0. It breaks nscd invalidation when the network configuration changes. --- nixos/modules/config/networking.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix index e6b49d4c2194..25253cf02e1d 100644 --- a/nixos/modules/config/networking.nix +++ b/nixos/modules/config/networking.nix @@ -247,6 +247,10 @@ in # a collision with an apparently unrelated environment # variable with the same name exported by dhcpcd. interface_order='lo lo[0-9]*' + '' + optionalString config.services.nscd.enable '' + # Invalidate the nscd cache whenever resolv.conf is + # regenerated. + libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service 2> /dev/null' '' + optionalString (length resolvconfOptions > 0) '' # Options as described in resolv.conf(5) resolv_conf_options='${concatStringsSep " " resolvconfOptions}' From e822b9680bdcddda2c18c9e7d1b57f3b0301a5ee Mon Sep 17 00:00:00 2001 From: Tim Steinbach <tim@nequissimus.com> Date: Wed, 21 Nov 2018 09:52:38 -0500 Subject: [PATCH 062/106] linux: 4.4.163 -> 4.4.164 --- pkgs/os-specific/linux/kernel/linux-4.4.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.4.nix b/pkgs/os-specific/linux/kernel/linux-4.4.nix index 7cd431ea1050..b0733857c80e 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.4.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.4.nix @@ -1,11 +1,11 @@ { stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args: buildLinux (args // rec { - version = "4.4.163"; + version = "4.4.164"; extraMeta.branch = "4.4"; src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "1x1fixnz41q6pq1cms9z48mrac984r675m94fdm08m8ajqxddcv1"; + sha256 = "041w65dxsdcdpf7isis2r4xabfm9pbhfgxxx7n9d1nv7grss3d4v"; }; } // (args.argsOverride or {})) From 0e7dafe8c0b16740b7a127eac91c784851e3d138 Mon Sep 17 00:00:00 2001 From: Tim Steinbach <tim@nequissimus.com> Date: Wed, 21 Nov 2018 09:52:49 -0500 Subject: [PATCH 063/106] linux: 4.9.137 -> 4.9.138 --- pkgs/os-specific/linux/kernel/linux-4.9.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.9.nix b/pkgs/os-specific/linux/kernel/linux-4.9.nix index 1c5b104496a5..077ebbf27aa8 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.9.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.9.nix @@ -1,11 +1,11 @@ { stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args: buildLinux (args // rec { - version = "4.9.137"; + version = "4.9.138"; extraMeta.branch = "4.9"; src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "1295x8a8k8bdanrpsalnaaq00mk3fl91sr14061lrgwlj0m53ckd"; + sha256 = "1dr1mf7i1mwy780048gkhvy283j8331xwgrs2x5qal0xc1114c4j"; }; } // (args.argsOverride or {})) From 3667a91b7819647948b2c74aeba624409ac21759 Mon Sep 17 00:00:00 2001 From: Tim Steinbach <tim@nequissimus.com> Date: Wed, 21 Nov 2018 09:52:59 -0500 Subject: [PATCH 064/106] linux: 4.14.81 -> 4.14.82 --- pkgs/os-specific/linux/kernel/linux-4.14.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.14.nix b/pkgs/os-specific/linux/kernel/linux-4.14.nix index ede42ea66284..f9e693b9c7ae 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.14.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.14.nix @@ -3,7 +3,7 @@ with stdenv.lib; buildLinux (args // rec { - version = "4.14.81"; + version = "4.14.82"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "1pjvwyhag2i8i5kns8836ifpk93ssvp35m4rfxhz0kl4ag8dydjb"; + sha256 = "1b8x77kf3q7nf2h3s9vnn0hzi45srxxin7f9rvg70vd7yvka5457"; }; } // (args.argsOverride or {})) From ff82d7c7864454a8841e394618fed779a985e4d1 Mon Sep 17 00:00:00 2001 From: Tim Steinbach <tim@nequissimus.com> Date: Wed, 21 Nov 2018 09:53:07 -0500 Subject: [PATCH 065/106] linux: 4.18.19 -> 4.18.20 --- pkgs/os-specific/linux/kernel/linux-4.18.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.18.nix b/pkgs/os-specific/linux/kernel/linux-4.18.nix index dd7a7174b16d..fa9338fd800c 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.18.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.18.nix @@ -3,7 +3,7 @@ with stdenv.lib; buildLinux (args // rec { - version = "4.18.19"; + version = "4.18.20"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "1g9iasj17i6z5494azsbr4pji7qj27f1fasrx36fbxy4rp1w8rkw"; + sha256 = "0lzn2w8zagqk3sp6jsp155xggm1c277xjh8m0nvddvdp1yg33b38"; }; } // (args.argsOverride or {})) From 8f11b37a9567b8ee7e93d2206975459f33a420db Mon Sep 17 00:00:00 2001 From: Tim Steinbach <tim@nequissimus.com> Date: Wed, 21 Nov 2018 09:53:26 -0500 Subject: [PATCH 066/106] linux: 4.19.2 -> 4.19.3 --- pkgs/os-specific/linux/kernel/linux-4.19.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-4.19.nix b/pkgs/os-specific/linux/kernel/linux-4.19.nix index 82e0a1f4c084..7c78311f2064 100644 --- a/pkgs/os-specific/linux/kernel/linux-4.19.nix +++ b/pkgs/os-specific/linux/kernel/linux-4.19.nix @@ -3,7 +3,7 @@ with stdenv.lib; buildLinux (args // rec { - version = "4.19.2"; + version = "4.19.3"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; - sha256 = "0wyzy8i2lfhz2rf9ilygl2jgz6iyspv2amx2fzm85mwv060py361"; + sha256 = "0834k2lsflp6mgxv1vs1gr4fykg5z0hd4sbbrw3z7zfhsh95fg0y"; }; } // (args.argsOverride or {})) From a4758050a3fe1ba85397aedaf854a659831a9d0a Mon Sep 17 00:00:00 2001 From: Benjamin Hipple <bhipple@protonmail.com> Date: Mon, 19 Nov 2018 18:23:35 -0500 Subject: [PATCH 067/106] ghc bootstrap binary: 8.2.1 -> 8.2.2 If the nix store lives on NFS, `ghc 8.2.1` is unable to build a package database. This bug was fixed by @bgamari in `ghc 8.2.2` here: https://ghc.haskell.org/trac/ghc/ticket/13945 This commit upgrades the unpacked bootstrap GHC version, so that we can build newer versions of GHC even if the store is on NFS. --- .../ghc/{8.2.1-binary.nix => 8.2.2-binary.nix} | 12 ++++++------ pkgs/top-level/haskell-packages.nix | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) rename pkgs/development/compilers/ghc/{8.2.1-binary.nix => 8.2.2-binary.nix} (93%) diff --git a/pkgs/development/compilers/ghc/8.2.1-binary.nix b/pkgs/development/compilers/ghc/8.2.2-binary.nix similarity index 93% rename from pkgs/development/compilers/ghc/8.2.1-binary.nix rename to pkgs/development/compilers/ghc/8.2.2-binary.nix index 626c0d8ca9c2..039eea744f36 100644 --- a/pkgs/development/compilers/ghc/8.2.1-binary.nix +++ b/pkgs/development/compilers/ghc/8.2.2-binary.nix @@ -24,30 +24,30 @@ let in stdenv.mkDerivation rec { - version = "8.2.1"; + version = "8.2.2"; name = "ghc-${version}-binary"; src = fetchurl ({ "i686-linux" = { url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-i386-deb8-linux.tar.xz"; - sha256 = "d86f9c157dd4161a8acb14062c131c8985a4f65fc856603c373502be1d50c95e"; + sha256 = "08w2ik55dp3n95qikmrflc91lsiq01xp53ki3jlhnbj8fqnxfrwy"; }; "x86_64-linux" = { url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-deb8-linux.tar.xz"; - sha256 = "543b81bf610240bd0398111d6c6607a9094dc2d159b564057d46c8a3d1aaa130"; + sha256 = "0ahv26304pqi3dm7i78si4pxwvg5f5dc2jwsfgvcrhcx5g30bqj8"; }; "armv7l-linux" = { url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-armv7-deb8-linux.tar.xz"; - sha256 = "0f0e5e1d4fad3fa1a87ca1fe0d19242f4a94d158b7b8a08f99efefd98b51b019"; + sha256 = "1jmv8qmnh5bn324fivbwdcaj55kvw7cb2zq9pafmlmv3qwwx7s46"; }; "aarch64-linux" = { url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-aarch64-deb8-linux.tar.xz"; - sha256 = "61dab9c95ef9f9af8bce7338863fda3e42945eb46194b12d922b6d0dc245d0c2"; + sha256 = "1k2amylcp1ad67c75h1pqf7czf9m0zj1i7hdc45ghjklnfq9hrk7"; }; "x86_64-darwin" = { url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-apple-darwin.tar.xz"; - sha256 = "900c802025fb630060dbd30f9738e5d107a4ca5a50d5c1262cd3e69fe4467188"; + sha256 = "09swx71gh5habzbx55shz2xykgr96xkcy09nzinnm4z0yxicy3zr"; }; }.${stdenv.hostPlatform.system} or (throw "cannot bootstrap GHC on this platform")); diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 80dd1a04e73d..21f3b2773397 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -5,7 +5,7 @@ let # These are attributes in compiler and packages that don't support integer-simple. integerSimpleExcludes = [ - "ghc821Binary" + "ghc822Binary" "ghc844" "ghcjs" "ghcjs82" @@ -42,16 +42,16 @@ in { compiler = { - ghc821Binary = callPackage ../development/compilers/ghc/8.2.1-binary.nix { }; + ghc822Binary = callPackage ../development/compilers/ghc/8.2.2-binary.nix { }; ghc822 = callPackage ../development/compilers/ghc/8.2.2.nix { - bootPkgs = packages.ghc821Binary; + bootPkgs = packages.ghc822Binary; inherit (buildPackages.python3Packages) sphinx; buildLlvmPackages = buildPackages.llvmPackages_39; llvmPackages = pkgs.llvmPackages_39; }; ghc844 = callPackage ../development/compilers/ghc/8.4.4.nix { - bootPkgs = packages.ghc821Binary; + bootPkgs = packages.ghc822Binary; buildLlvmPackages = buildPackages.llvmPackages_5; llvmPackages = pkgs.llvmPackages_5; }; @@ -66,7 +66,7 @@ in { llvmPackages = pkgs.llvmPackages_6; }; ghcHEAD = callPackage ../development/compilers/ghc/head.nix { - bootPkgs = packages.ghc821Binary; + bootPkgs = packages.ghc822Binary; buildLlvmPackages = buildPackages.llvmPackages_5; llvmPackages = pkgs.llvmPackages_5; }; @@ -100,9 +100,9 @@ in { # Always get compilers from `buildPackages` packages = let bh = buildPackages.haskell; in { - ghc821Binary = callPackage ../development/haskell-modules { - buildHaskellPackages = bh.packages.ghc821Binary; - ghc = bh.compiler.ghc821Binary; + ghc822Binary = callPackage ../development/haskell-modules { + buildHaskellPackages = bh.packages.ghc822Binary; + ghc = bh.compiler.ghc822Binary; compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-8.2.x.nix { }; packageSetConfig = bootstrapPackageSet; }; From e91114177038a30d4123cd1978e5c7a6a788e9b3 Mon Sep 17 00:00:00 2001 From: Peter Simons <simons@cryp.to> Date: Mon, 19 Nov 2018 17:07:01 +0100 Subject: [PATCH 068/106] all-cabal-hashes: update to Hackage at 2018-11-19T08:07:53Z --- pkgs/data/misc/hackage/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/data/misc/hackage/default.nix b/pkgs/data/misc/hackage/default.nix index 17f51e0d3036..553b6a5cf433 100644 --- a/pkgs/data/misc/hackage/default.nix +++ b/pkgs/data/misc/hackage/default.nix @@ -1,6 +1,6 @@ { fetchurl }: fetchurl { - url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/1fba236a8a8f685aaf55029d20ab24d7e4cbc5ba.tar.gz"; - sha256 = "0yy6ass2c0vn81pcvb0ksc1qh3hlw2q97937vp73jawghgwsy9qv"; + url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/3487551670de487866a34bd466b33b5146087882.tar.gz"; + sha256 = "10kag8qmlsnj3qwq0zxb6apd2z7jg17srvhsax5lgbwvlymbnckb"; } From 97cd07e32240b5b6f9fa76e9a86a7f2061a957b7 Mon Sep 17 00:00:00 2001 From: Chris Martin <ch.martin@gmail.com> Date: Mon, 19 Nov 2018 23:06:27 -0500 Subject: [PATCH 069/106] fltk: add version 1.4.x-r13121 --- pkgs/development/libraries/fltk/1.4.nix | 52 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++ 2 files changed, 56 insertions(+) create mode 100644 pkgs/development/libraries/fltk/1.4.nix diff --git a/pkgs/development/libraries/fltk/1.4.nix b/pkgs/development/libraries/fltk/1.4.nix new file mode 100644 index 000000000000..5d6397c6a1b6 --- /dev/null +++ b/pkgs/development/libraries/fltk/1.4.nix @@ -0,0 +1,52 @@ +{ stdenv, fetchurl, pkgconfig, xlibsWrapper, inputproto, libXi +, freeglut, libGLU_combined, libjpeg, zlib, libXft, libpng +, libtiff, freetype, cf-private, Cocoa, AGL, GLUT +}: + +let + version = "1.4.x-r13121"; +in stdenv.mkDerivation { + name = "fltk-${version}"; + + src = fetchurl { + url = "http://fltk.org/pub/fltk/snapshots/fltk-${version}.tar.gz"; + sha256 = "1v8wxvxcbk99i82x2v5fpqg5vj8n7g8a38g30ry7nzcjn5sf3r63"; + }; + + preConfigure = "make clean"; + + patches = stdenv.lib.optionals stdenv.isDarwin [ ./nsosv.patch ]; + + nativeBuildInputs = [ pkgconfig ]; + + buildInputs = [ + libGLU_combined + libjpeg + zlib + libpng + libXft + ]; + + configureFlags = [ + "--enable-gl" + "--enable-largefile" + "--enable-shared" + "--enable-threads" + "--enable-xft" + ]; + + propagatedBuildInputs = [ inputproto ] + ++ (if stdenv.isDarwin + then [ Cocoa AGL GLUT freetype libtiff cf-private /* Needed for NSDefaultRunLoopMode */ ] + else [ xlibsWrapper libXi freeglut ]); + + enableParallelBuilding = true; + + meta = { + description = "A C++ cross-platform lightweight GUI library"; + homepage = http://www.fltk.org; + platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; + license = stdenv.lib.licenses.gpl2; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a3e7deaec907..e1a5f4f65c1f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9587,6 +9587,10 @@ with pkgs; inherit (darwin) cf-private; inherit (darwin.apple_sdk.frameworks) Cocoa AGL GLUT; }; + fltk14 = callPackage ../development/libraries/fltk/1.4.nix { + inherit (darwin) cf-private; + inherit (darwin.apple_sdk.frameworks) Cocoa AGL GLUT; + }; fltk = self.fltk13; flyway = callPackage ../development/tools/flyway { }; From f5cdb2dc058911cc295de07260f9e3592a7f2d01 Mon Sep 17 00:00:00 2001 From: Peter Simons <simons@cryp.to> Date: Mon, 19 Nov 2018 02:30:49 +0100 Subject: [PATCH 070/106] hackage-packages.nix: automatic Haskell package set update This update was generated by hackage2nix v2.11.1-13-g2103989 from Hackage revision https://github.com/commercialhaskell/all-cabal-hashes/commit/c669f71a90dc46c0251eacfdae13d762e55ead59. --- .../haskell-modules/hackage-packages.nix | 954 +++++++++++++++--- 1 file changed, 789 insertions(+), 165 deletions(-) diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index e4edb59171f5..bb8653e69ff1 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -15807,8 +15807,8 @@ self: { ({ mkDerivation, base }: mkDerivation { pname = "RtMidi"; - version = "0.1.0.0"; - sha256 = "087p4smmbi56y962lchgs2a6q78jab58bl6c5sxir7973hplyly6"; + version = "0.1.1.0"; + sha256 = "09vs2y6zry4xak0gc6pc6xqinr9sv9z53hdiydxpn6ixam9s0g5r"; libraryHaskellDepends = [ base ]; license = stdenv.lib.licenses.mit; hydraPlatforms = stdenv.lib.platforms.none; @@ -21578,6 +21578,25 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "aern2-mp_0_1_3_1" = callPackage + ({ mkDerivation, base, convertible, hspec, integer-logarithms, lens + , mixed-types-num, QuickCheck, regex-tdfa, rounded + , template-haskell + }: + mkDerivation { + pname = "aern2-mp"; + version = "0.1.3.1"; + sha256 = "1gyicxsdqzdbhs9bss5cfjqx859iksr7z1ilsfm9077jdf2032vm"; + libraryHaskellDepends = [ + base convertible hspec integer-logarithms lens mixed-types-num + QuickCheck regex-tdfa rounded template-haskell + ]; + testHaskellDepends = [ base hspec QuickCheck ]; + description = "Multi-precision ball (interval) arithmetic"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "aern2-real" = callPackage ({ mkDerivation, aern2-mp, aeson, base, bytestring, containers , convertible, hspec, lens, mixed-types-num, QuickCheck, random @@ -28399,8 +28418,8 @@ self: { }: mkDerivation { pname = "arbor-monad-counter"; - version = "2.0.0"; - sha256 = "1pzgqxrsfaq9l6400ykv8gz34z90r0lwq93pzadsq5qpkhk55053"; + version = "2.0.1"; + sha256 = "0fkf71ml6qfsxjx1p7gqf41q8x55hn8qsbb7nmyai0k0vz0s2yqq"; libraryHaskellDepends = [ base containers generic-lens lens mtl resourcet stm transformers ]; @@ -28417,8 +28436,8 @@ self: { }: mkDerivation { pname = "arbor-postgres"; - version = "0.0.2"; - sha256 = "04fly3bwzkv30j79rzm5mk5af3j28z6grnixl2ll3nnqmbwkwr2n"; + version = "0.0.3"; + sha256 = "18rqy2zyaf5cawn8dkn3xmjh19zzqgwj6mkk415x5a4p53dya46b"; libraryHaskellDepends = [ base bytestring generic-lens lens network-uri optparse-applicative postgresql-simple text @@ -29443,8 +29462,8 @@ self: { }: mkDerivation { pname = "asif"; - version = "3.1.0"; - sha256 = "0z9i40xz7hnhqnxv79saj9wsigi25bxkn0v4p5fhvfqj3r06ms2l"; + version = "3.2.0"; + sha256 = "0ryg35rl7i89r28l0hpchgmrgmhxwgzxz7jhnwhqfwk5mql08hq0"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -33287,6 +33306,18 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "base-unicode-symbols_0_2_3" = callPackage + ({ mkDerivation, base }: + mkDerivation { + pname = "base-unicode-symbols"; + version = "0.2.3"; + sha256 = "1ia6li7qjg1zkak4gf6mnbshw45mq9bfjr0jch58ds0lscmvwyzf"; + libraryHaskellDepends = [ base ]; + description = "Unicode alternatives for common functions and operators"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "base16-bytestring" = callPackage ({ mkDerivation, base, bytestring, ghc-prim }: mkDerivation { @@ -34658,8 +34689,8 @@ self: { pname = "bhoogle"; version = "0.1.3.5"; sha256 = "1gig9w1k1w2kw6y3wx6ckmc7kamwwzzq7mbaxil0rmb5ms0p1rf9"; - revision = "1"; - editedCabalFile = "006nqwl03lrs7nsly7l3kl9wfwabflkkxy4g34sbkik88ihipw56"; + revision = "2"; + editedCabalFile = "0jwfw2xa55ysfxyzp5n2pf2vq753iagpmvg9xnj69nv6ly9whfp7"; isLibrary = false; isExecutable = true; executableHaskellDepends = [ @@ -43606,8 +43637,8 @@ self: { }: mkDerivation { pname = "casa-abbreviations-and-acronyms"; - version = "0.0.6"; - sha256 = "0dsw097629a1jkl36s4bip7pl60i3mw7v9d70p5jmajxv9wn3zjy"; + version = "0.0.7"; + sha256 = "16xdkbgym1jjqnmx10h3yfq2zw3mzpf7jskssf4nzm6dsvj1msp5"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -45893,16 +45924,19 @@ self: { }) {}; "chiphunk" = callPackage - ({ mkDerivation, base, safe-exceptions, StateVar, vector-space }: + ({ mkDerivation, base, c2hs, safe-exceptions, StateVar + , vector-space + }: mkDerivation { pname = "chiphunk"; - version = "0.1.0.2"; - sha256 = "1xwqmkf6b32zpb18fx9a87s1kybif18123k4i7qvnagizv97jm4q"; + version = "0.1.0.3"; + sha256 = "0a39x0v5pswaz4b9nbq1cmi172qglcfk54f5w7sb0ldx88qqi9d3"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base safe-exceptions StateVar vector-space ]; + libraryToolDepends = [ c2hs ]; description = "Haskell bindings for Chipmunk2D physics engine"; license = stdenv.lib.licenses.bsd3; }) {}; @@ -48866,6 +48900,29 @@ self: { license = stdenv.lib.licenses.mpl20; }) {}; + "co-log-sys" = callPackage + ({ mkDerivation, aeson, base-noprelude, co-log-core, fmt + , loot-prelude, microlens, monad-control, mtl, network, universum + , unix + }: + mkDerivation { + pname = "co-log-sys"; + version = "0.1.0.0"; + sha256 = "02lh14jhl5qyjlacbp62a6193fqc6p3nk30pksnw5zz8dsyj5iz2"; + libraryHaskellDepends = [ + aeson base-noprelude co-log-core fmt loot-prelude microlens + monad-control mtl network universum unix + ]; + testHaskellDepends = [ + aeson base-noprelude co-log-core fmt loot-prelude microlens + monad-control mtl network universum unix + ]; + description = "Syslog implementation on top of 'co-log-core'"; + license = stdenv.lib.licenses.mpl20; + hydraPlatforms = stdenv.lib.platforms.none; + broken = true; + }) {loot-prelude = null;}; + "coalpit" = callPackage ({ mkDerivation, base, generic-random, megaparsec, network-uri , scientific, tasty, tasty-quickcheck, tasty-travis, time @@ -50128,6 +50185,24 @@ self: { hydraPlatforms = stdenv.lib.platforms.none; }) {}; + "commutative_0_0_2" = callPackage + ({ mkDerivation, base, QuickCheck, quickcheck-instances, random + , semigroups, tasty, tasty-hunit, tasty-quickcheck, vector + }: + mkDerivation { + pname = "commutative"; + version = "0.0.2"; + sha256 = "0scrc0bwa3ggvhmhmj0pvi7q7sbm495nc8m30jjjcp5wbd26mg6c"; + libraryHaskellDepends = [ base random semigroups vector ]; + testHaskellDepends = [ + base QuickCheck quickcheck-instances random semigroups tasty + tasty-hunit tasty-quickcheck vector + ]; + description = "Commutative binary operations"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "comonad" = callPackage ({ mkDerivation, base, Cabal, cabal-doctest, containers , contravariant, distributive, doctest, semigroups, tagged @@ -51379,6 +51454,23 @@ self: { license = stdenv.lib.licenses.bsd2; }) {}; + "concurrent-output_1_10_9" = callPackage + ({ mkDerivation, ansi-terminal, async, base, directory, exceptions + , process, stm, terminal-size, text, transformers, unix + }: + mkDerivation { + pname = "concurrent-output"; + version = "1.10.9"; + sha256 = "0mwf155w89nbbkjln7hhbn8k3f8p0ylcvgrg31cm7ijpx4499i4c"; + libraryHaskellDepends = [ + ansi-terminal async base directory exceptions process stm + terminal-size text transformers unix + ]; + description = "Ungarble output from several threads or commands"; + license = stdenv.lib.licenses.bsd2; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "concurrent-rpc" = callPackage ({ mkDerivation, base }: mkDerivation { @@ -68979,8 +69071,8 @@ self: { }: mkDerivation { pname = "egison"; - version = "3.7.13"; - sha256 = "1kxlg7znyv4iaygm6gk50zw4vcijfmc16vl5bwif179v3r8nrpxn"; + version = "3.7.14"; + sha256 = "0iilizs6nj901fmzfam9s0s2phz91m2292wggqvzj8p6260589iq"; isLibrary = true; isExecutable = true; enableSeparateDataOutput = true; @@ -69205,8 +69297,8 @@ self: { pname = "ekg"; version = "0.4.0.15"; sha256 = "1k3d5kiqm034qs04k0pcisf4zbdmx2fcgl9a6c1lzzjw96zf6aj8"; - revision = "4"; - editedCabalFile = "17b68p16hsh79jaya1jfncml5cjf8y1jbr8827r42acnf9jk4s23"; + revision = "5"; + editedCabalFile = "0jwzwqr4giinq6wvl46399454nm9vc5g6mc2k2mx4wjdcl07qbgm"; enableSeparateDataOutput = true; libraryHaskellDepends = [ aeson base bytestring ekg-core ekg-json filepath network snap-core @@ -69284,6 +69376,23 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "ekg-core_0_1_1_6" = callPackage + ({ mkDerivation, base, containers, ghc-prim, text + , unordered-containers + }: + mkDerivation { + pname = "ekg-core"; + version = "0.1.1.6"; + sha256 = "0hjprlx99k7mgs2zn06yckir71dvz90xs24g2r990r97mmwxva36"; + libraryHaskellDepends = [ + base containers ghc-prim text unordered-containers + ]; + benchmarkHaskellDepends = [ base ]; + description = "Tracking of system metrics"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "ekg-elastic" = callPackage ({ mkDerivation, aeson, base, bytestring, ekg-core, hostname , http-client, lens, text, time, unordered-containers, wreq @@ -69343,8 +69452,8 @@ self: { pname = "ekg-json"; version = "0.1.0.6"; sha256 = "0iyx0ix4dcyhh9xg4ia1lm7x2q0iffswnr33khfg9fr81am80shy"; - revision = "3"; - editedCabalFile = "0d029nmwpln8iqqj1l5pz41l4gpbgk6n9gmlwnhnq2cm7ih6gzad"; + revision = "4"; + editedCabalFile = "16sn4nbqm0rxkf0swi6r2jn6z9x92qmcg9xlx258d98kqb5fkwjg"; libraryHaskellDepends = [ aeson base ekg-core text unordered-containers ]; @@ -69434,8 +69543,8 @@ self: { pname = "ekg-statsd"; version = "0.2.4.0"; sha256 = "1nvsiblha1fzykvfaq1s0fyvfmhm32wvxdsfkn9pqd6dl5ivyx2y"; - revision = "1"; - editedCabalFile = "1iayg5ac94rgdz7shvvz7ff4saffww8dc6fy82hi0cpyk7kr2xy9"; + revision = "2"; + editedCabalFile = "1l0lh77qy4kbybkys1d4gg563fc593w27wpf4k1cg9j6ix6y604x"; libraryHaskellDepends = [ base bytestring ekg-core network text time unordered-containers ]; @@ -73707,8 +73816,8 @@ self: { }: mkDerivation { pname = "extensible-effects-concurrent"; - version = "0.14.0"; - sha256 = "1vs53jbpfqx6hyri7abhg6k6lhhyjlf3lyn1lcij28y2sfi6zs1j"; + version = "0.14.1"; + sha256 = "03xlzxijs79l9q548yggfazr4rds4xg9hn2nmijp3q8wv5rn1srm"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -74258,8 +74367,8 @@ self: { }: mkDerivation { pname = "fast-builder"; - version = "0.0.1.0"; - sha256 = "09s0jyiv1ch8cbgwfaxn5mmn9w7ik661h2g6d5znxr0nsi0bp2n1"; + version = "0.1.0.0"; + sha256 = "1sc5hgiagjcsblbzlymd9z140ybmq03l6xykksjdx0xkwj4sqrp2"; libraryHaskellDepends = [ base bytestring ghc-prim ]; testHaskellDepends = [ base bytestring process QuickCheck stm ]; benchmarkHaskellDepends = [ @@ -77666,21 +77775,28 @@ self: { "fltkhs" = callPackage ({ mkDerivation, base, bytestring, c2hs, Cabal, directory, filepath - , mtl, parsec, pkg-config, text, vector + , fltk14, libGLU_combined, mtl, OpenGLRaw, parsec, pkgconfig, text + , vector }: mkDerivation { pname = "fltkhs"; version = "0.6.0.0"; sha256 = "1cbyp8rq9yzx6jrw68dbprkdyd8pkdqbxx08wajyg7bfks6j39cb"; + configureFlags = [ "-fopengl" ]; isLibrary = true; isExecutable = true; setupHaskellDepends = [ base Cabal directory filepath ]; libraryHaskellDepends = [ base bytestring text vector ]; - libraryToolDepends = [ c2hs pkg-config ]; - executableHaskellDepends = [ base directory filepath mtl parsec ]; + librarySystemDepends = [ fltk14 ]; + libraryPkgconfigDepends = [ libGLU_combined ]; + libraryToolDepends = [ c2hs pkgconfig ]; + executableHaskellDepends = [ + base directory filepath mtl OpenGLRaw parsec text + ]; description = "FLTK bindings"; license = stdenv.lib.licenses.mit; - }) {pkg-config = null;}; + }) {inherit (pkgs) fltk14; inherit (pkgs) libGLU_combined; + inherit (pkgs) pkgconfig;}; "fltkhs-demos" = callPackage ({ mkDerivation, base, bytestring, directory, fltkhs, process, stm @@ -78056,6 +78172,8 @@ self: { pname = "focuslist"; version = "0.1.0.0"; sha256 = "1przphis37yh06q2scqh2njcrvgynh0p9km52f4a5yvmnxvaqs8n"; + revision = "1"; + editedCabalFile = "1935ng4pxqhakz78fgwyliwmvdgnj9pq5344421jqa5krclywab5"; isLibrary = true; isExecutable = true; setupHaskellDepends = [ base Cabal cabal-doctest ]; @@ -87408,15 +87526,15 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; - "glabrous_0_4_0" = callPackage + "glabrous_1_0_0" = callPackage ({ mkDerivation, aeson, aeson-pretty, attoparsec, base, bytestring , cereal, cereal-text, directory, either, hspec, text , unordered-containers }: mkDerivation { pname = "glabrous"; - version = "0.4.0"; - sha256 = "0qja5mdnbgrsdiwqjfwrzzynbybwg5yksvnwgazak0wv2p86i5yh"; + version = "1.0.0"; + sha256 = "00q07675lrsniwrzb85bz2b5n8llbhyp0zxkscm9yr8mlirasr3k"; libraryHaskellDepends = [ aeson aeson-pretty attoparsec base bytestring cereal cereal-text either text unordered-containers @@ -99427,6 +99545,23 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "haskell-src-exts-util_0_2_4" = callPackage + ({ mkDerivation, base, containers, data-default, haskell-src-exts + , semigroups, transformers, uniplate + }: + mkDerivation { + pname = "haskell-src-exts-util"; + version = "0.2.4"; + sha256 = "1xbf28aisqizy3a0sy42p3rwib2s7jaqi6dcr6lp4b1j54xazf5y"; + libraryHaskellDepends = [ + base containers data-default haskell-src-exts semigroups + transformers uniplate + ]; + description = "Helper functions for working with haskell-src-exts trees"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "haskell-src-meta" = callPackage ({ mkDerivation, base, haskell-src-exts, HUnit, pretty, syb , template-haskell, test-framework, test-framework-hunit @@ -100771,8 +100906,8 @@ self: { }: mkDerivation { pname = "haskoin-store"; - version = "0.6.5"; - sha256 = "0hh1h02sb2v8d0g70cx57nrd9s20q2grjyf2rzsqcs8ihwi5z1wf"; + version = "0.6.9"; + sha256 = "1353cr6bd814xa1d2jqqnh2h5jmlkdsfg1a4cmxwyl1wvprjx54i"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -101303,14 +101438,16 @@ self: { "haskus-binary" = callPackage ({ mkDerivation, base, bytestring, cereal, criterion, haskus-utils - , mtl, QuickCheck, tasty, tasty-quickcheck + , haskus-utils-data, haskus-utils-types, mtl, QuickCheck, tasty + , tasty-quickcheck }: mkDerivation { pname = "haskus-binary"; - version = "1.0"; - sha256 = "1gw08zx7mqhi6n0wx6s6n4fvw5ambbdxnahr3r3p22yfqnqcp4y2"; + version = "1.1"; + sha256 = "1kva6wsxybd9hj9ml2ykzcfcsh83fcwqdv3gyp702rnk53q9r8r5"; libraryHaskellDepends = [ - base bytestring cereal haskus-utils mtl + base bytestring cereal haskus-utils haskus-utils-data + haskus-utils-types mtl ]; testHaskellDepends = [ base bytestring haskus-utils QuickCheck tasty tasty-quickcheck @@ -102810,6 +102947,29 @@ self: { hydraPlatforms = stdenv.lib.platforms.none; }) {}; + "hcobs" = callPackage + ({ mkDerivation, base, base64-bytestring, bytestring, containers + , criterion, deepseq, ghc-prim, hedgehog, mmorph, mtl, reflection + , weigh + }: + mkDerivation { + pname = "hcobs"; + version = "0.1.0.1"; + sha256 = "103x2486yb0p9bxwhd8ywhr59pgnkgyr4z70bsv6xcs54g0zqdy7"; + libraryHaskellDepends = [ + base bytestring containers ghc-prim reflection + ]; + testHaskellDepends = [ + base base64-bytestring bytestring deepseq ghc-prim hedgehog mmorph + mtl reflection weigh + ]; + benchmarkHaskellDepends = [ + base base64-bytestring bytestring criterion ghc-prim reflection + ]; + description = "An implementation of the Consistent Overhead Byte Stuffing algorithm"; + license = stdenv.lib.licenses.bsd3; + }) {}; + "hcom" = callPackage ({ mkDerivation }: mkDerivation { @@ -103728,6 +103888,32 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "hedis_0_10_6" = callPackage + ({ mkDerivation, async, base, bytestring, bytestring-lexing + , deepseq, doctest, errors, HTTP, HUnit, mtl, network, network-uri + , resource-pool, scanner, slave-thread, stm, test-framework + , test-framework-hunit, text, time, tls, unordered-containers + , vector + }: + mkDerivation { + pname = "hedis"; + version = "0.10.6"; + sha256 = "0s5snr3qbr2yd1ij6ifsrjaabx24ppmckz7ygdsr6c2fd99hijai"; + libraryHaskellDepends = [ + async base bytestring bytestring-lexing deepseq errors HTTP mtl + network network-uri resource-pool scanner stm text time tls + unordered-containers vector + ]; + testHaskellDepends = [ + async base bytestring doctest HUnit mtl slave-thread stm + test-framework test-framework-hunit text time + ]; + benchmarkHaskellDepends = [ base mtl time ]; + description = "Client library for the Redis datastore: supports full command set, pipelining"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "hedis-config" = callPackage ({ mkDerivation, aeson, base, bytestring, hedis, scientific, text , time @@ -107401,8 +107587,8 @@ self: { pname = "hledger-iadd"; version = "1.3.6"; sha256 = "04gy5pvbcgkr3jg1a2dav3kcd7ih46knn0d39l8670bmwhx3y5br"; - revision = "1"; - editedCabalFile = "067mrhg3m77ygv6cph5cxxcyd23acg9mq2fhpkl7714blc58z97v"; + revision = "3"; + editedCabalFile = "0knyxgscbhddizdnljjs2ih73kf2s8acyzhrvhwdmw4c14560x45"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -109096,19 +109282,19 @@ self: { }: mkDerivation { pname = "homplexity"; - version = "0.4.4.1"; - sha256 = "08y95wjs7kakhzqb4z5rgs43mgdvr0qjl6gg53kwf0k112fqi5nd"; + version = "0.4.4.3"; + sha256 = "1gb4bkzkkka5kzq9zy085pivswxxp2bbi271dgjm6harlrlmnkk2"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base containers cpphs deepseq directory filepath haskell-src-exts hflags template-haskell uniplate ]; + libraryToolDepends = [ happy ]; executableHaskellDepends = [ base containers cpphs deepseq directory filepath haskell-src-exts hflags template-haskell uniplate ]; - executableToolDepends = [ happy ]; testHaskellDepends = [ base haskell-src-exts uniplate ]; description = "Haskell code quality tool"; license = stdenv.lib.licenses.bsd3; @@ -110731,8 +110917,8 @@ self: { pname = "hpqtypes"; version = "1.6.0.0"; sha256 = "1aydpbkp5if7416dvswiygn7vfhgg7nza9p011gld18pr9mpsf5i"; - revision = "1"; - editedCabalFile = "0jmvhnmr9d7wcknx7prbc1dc6i08afkqbgnigil6y4mvv1m0cw6p"; + revision = "4"; + editedCabalFile = "0ap170l390j0iwxlrrqarnxqp2bbpfv0xjkxnwdri0ksw7p7h7i2"; setupHaskellDepends = [ base Cabal directory filepath ]; libraryHaskellDepends = [ aeson async base bytestring containers data-default-class @@ -110759,10 +110945,8 @@ self: { }: mkDerivation { pname = "hpqtypes-extras"; - version = "1.6.2.0"; - sha256 = "095kxfk12bzl7gl44fa7xmwfnx63707s1jz861hqjmi9dv3mm8kp"; - revision = "1"; - editedCabalFile = "0ifzjs8vvnb9viksgakvjz69yppppgx8iqz2pqvb2dnwjwk4hamd"; + version = "1.6.3.0"; + sha256 = "13360sw1nmcgvhmj2inh8v4yccrfbs5b83jfsx1q0s6cfx6z7s37"; libraryHaskellDepends = [ base base16-bytestring bytestring containers cryptohash data-default exceptions fields-json hpqtypes lifted-base log-base @@ -110966,6 +111150,47 @@ self: { hydraPlatforms = stdenv.lib.platforms.none; }) {}; + "hquantlib_0_0_5_0" = callPackage + ({ mkDerivation, base, containers, hmatrix, hmatrix-gsl + , hmatrix-special, hquantlib-time, HUnit, mersenne-random-pure64 + , parallel, QuickCheck, random, statistics, test-framework + , test-framework-hunit, test-framework-quickcheck2, time, vector + , vector-algorithms + }: + mkDerivation { + pname = "hquantlib"; + version = "0.0.5.0"; + sha256 = "1zi31y89kdbid3xjvpsd2iqwvn8a7d2i5518maigkmhp5v1lg0w6"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + base containers hmatrix hmatrix-gsl hmatrix-special hquantlib-time + mersenne-random-pure64 parallel random statistics time vector + vector-algorithms + ]; + executableHaskellDepends = [ + base containers mersenne-random-pure64 parallel time + ]; + testHaskellDepends = [ + base HUnit QuickCheck test-framework test-framework-hunit + test-framework-quickcheck2 + ]; + description = "HQuantLib is a port of essencial parts of QuantLib to Haskell"; + license = "LGPL"; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + + "hquantlib-time" = callPackage + ({ mkDerivation, base, time }: + mkDerivation { + pname = "hquantlib-time"; + version = "0.0.4.1"; + sha256 = "0g2j7m14ic40lhcnbvfjya3qh7ngx658qlmrr0dzr5r1ywcyv75c"; + libraryHaskellDepends = [ base time ]; + description = "HQuantLib Time is a business calendar functions extracted from HQuantLib"; + license = "LGPL"; + }) {}; + "hquery" = callPackage ({ mkDerivation, base, bytestring, containers, filepath, HUnit , parsec, test-framework, test-framework-hunit, text, xmlhtml @@ -114311,7 +114536,7 @@ self: { license = stdenv.lib.licenses.mit; }) {}; - "hspec-meta_2_5_6" = callPackage + "hspec-meta_2_6_0" = callPackage ({ mkDerivation, ansi-terminal, array, base, call-stack, clock , deepseq, directory, filepath, hspec-expectations, HUnit , QuickCheck, quickcheck-io, random, setenv, stm, time @@ -114319,10 +114544,8 @@ self: { }: mkDerivation { pname = "hspec-meta"; - version = "2.5.6"; - sha256 = "196dyacvh7liq49ccwd5q0dw6n74igrvhk35zm95i3y8m44ky3a4"; - revision = "1"; - editedCabalFile = "0c7dq1vvk09fj6nljwwshgpkszg725hrpgnq9l2aka230sig9vz4"; + version = "2.6.0"; + sha256 = "1n1a4633wfivylglji8920f67mx7qz8j4q58n8p7dxk6yg4h3mz6"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ @@ -116218,6 +116441,34 @@ self: { license = stdenv.lib.licenses.mit; }) {}; + "http-client_0_5_14" = callPackage + ({ mkDerivation, array, async, base, blaze-builder, bytestring + , case-insensitive, containers, cookie, deepseq, directory + , exceptions, filepath, ghc-prim, hspec, http-types, memory + , mime-types, monad-control, network, network-uri, random, stm + , streaming-commons, text, time, transformers, zlib + }: + mkDerivation { + pname = "http-client"; + version = "0.5.14"; + sha256 = "0irnvrxlsr9f7ybvzbpv24zbq3lhxjzh6bavjnl527020jbl0l4f"; + libraryHaskellDepends = [ + array base blaze-builder bytestring case-insensitive containers + cookie deepseq exceptions filepath ghc-prim http-types memory + mime-types network network-uri random stm streaming-commons text + time transformers + ]; + testHaskellDepends = [ + async base blaze-builder bytestring case-insensitive containers + deepseq directory hspec http-types monad-control network + network-uri streaming-commons text time transformers zlib + ]; + doCheck = false; + description = "An HTTP client engine"; + license = stdenv.lib.licenses.mit; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "http-client-auth" = callPackage ({ mkDerivation, base, base64-string, blaze-builder, bytestring , case-insensitive, conduit, crypto-conduit, http-client @@ -117917,6 +118168,28 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "hw-bits_0_7_0_4" = callPackage + ({ mkDerivation, base, bytestring, criterion, hedgehog, hspec + , hw-hspec-hedgehog, hw-int, hw-prim, hw-string-parse, QuickCheck + , safe, vector + }: + mkDerivation { + pname = "hw-bits"; + version = "0.7.0.4"; + sha256 = "1si3y3wnp1ing32b6bbhxzy5ai971ipkd28qw8b15a3vqwlkk5gw"; + libraryHaskellDepends = [ + base bytestring hw-int hw-prim hw-string-parse safe vector + ]; + testHaskellDepends = [ + base bytestring hedgehog hspec hw-hspec-hedgehog hw-prim QuickCheck + vector + ]; + benchmarkHaskellDepends = [ base criterion hw-prim vector ]; + description = "Bit manipulation"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "hw-conduit" = callPackage ({ mkDerivation, array, base, bytestring, conduit , conduit-combinators, criterion, hspec, mmap, time, transformers @@ -118005,6 +118278,35 @@ self: { hydraPlatforms = stdenv.lib.platforms.none; }) {}; + "hw-dump" = callPackage + ({ mkDerivation, base, bits-extra, bytestring, criterion, hedgehog + , hspec, hw-bits, hw-hspec-hedgehog, hw-prim, lens + , optparse-applicative, QuickCheck, safe, vector + }: + mkDerivation { + pname = "hw-dump"; + version = "0.0.0.1"; + sha256 = "0sxw0fgrq83ahil1sa2mqndwxw7bjxya42sxym6jjsky9jr0mygl"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + base bits-extra bytestring hw-bits hw-prim safe vector + ]; + executableHaskellDepends = [ + base bits-extra bytestring hw-bits hw-prim lens + optparse-applicative vector + ]; + testHaskellDepends = [ + base bits-extra bytestring hedgehog hspec hw-bits hw-hspec-hedgehog + hw-prim QuickCheck vector + ]; + benchmarkHaskellDepends = [ + base bits-extra bytestring criterion hw-bits hw-prim vector + ]; + description = "File Dump"; + license = stdenv.lib.licenses.bsd3; + }) {}; + "hw-eliasfano" = callPackage ({ mkDerivation, base, hspec, hw-bits, hw-int, hw-packed-vector , hw-prim, QuickCheck, safe, vector @@ -122146,6 +122448,31 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "influxdb_1_6_1" = callPackage + ({ mkDerivation, aeson, attoparsec, base, bytestring, Cabal + , cabal-doctest, clock, containers, doctest, foldl, http-client + , http-types, lens, network, optional-args, QuickCheck, scientific + , tagged, template-haskell, text, time, unordered-containers + , vector + }: + mkDerivation { + pname = "influxdb"; + version = "1.6.1"; + sha256 = "1hfyp284lpvgy0rqn7rjr7c8z0ah8h0vl3xhfrff8x1z1511n2dp"; + isLibrary = true; + isExecutable = true; + setupHaskellDepends = [ base Cabal cabal-doctest ]; + libraryHaskellDepends = [ + aeson attoparsec base bytestring clock containers foldl http-client + http-types lens network optional-args scientific tagged text time + unordered-containers vector + ]; + testHaskellDepends = [ base doctest QuickCheck template-haskell ]; + description = "Haskell client library for InfluxDB"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "informative" = callPackage ({ mkDerivation, base, containers, csv, highlighting-kate , http-conduit, monad-logger, pandoc, persistent @@ -124289,8 +124616,8 @@ self: { }: mkDerivation { pname = "iri"; - version = "0.3.4"; - sha256 = "071vg01q5swwscvfsqqyk6ysqbl1yqpwnwklhj0h985sxv9zdkm6"; + version = "0.3.4.1"; + sha256 = "0lissbq0rajhds1s68shba227v0qsq51ffs171rnw31m92rn1c54"; libraryHaskellDepends = [ attoparsec base base-prelude bug bytestring contravariant hashable ip profunctors ptr punycode semigroups template-haskell text @@ -124383,9 +124710,9 @@ self: { ({ mkDerivation, base, template-haskell }: mkDerivation { pname = "is"; - version = "0.4.1"; - sha256 = "1133npzv5rvcfxarafbmm6jfam45qdm3r33wc5qq920m0w60xi2a"; - libraryHaskellDepends = [ base ]; + version = "0.4.3"; + sha256 = "1zw6pmfr2fyy6bghr1zx7gp62ywphnkcqkbql8yi6lgl0yq5qvh7"; + libraryHaskellDepends = [ base template-haskell ]; testHaskellDepends = [ base template-haskell ]; description = "Generic pattern predicates"; license = stdenv.lib.licenses.bsd3; @@ -129221,8 +129548,8 @@ self: { ({ mkDerivation, base, kind-apply }: mkDerivation { pname = "kind-generics"; - version = "0.1.0.0"; - sha256 = "1h6pb14b75lphlxzz7q08ihvg2phh082sx6a2zpdk5gwh8qzihpg"; + version = "0.1.1.0"; + sha256 = "07qzr2kkywqv47fjxyfxzklsai61pyb3q26lsbvxvnn0jqdg1z7a"; libraryHaskellDepends = [ base kind-apply ]; description = "Generic programming in GHC style for arbitrary kinds and GADTs"; license = stdenv.lib.licenses.bsd3; @@ -130281,6 +130608,26 @@ self: { hydraPlatforms = stdenv.lib.platforms.none; }) {}; + "lambdabot-zulip" = callPackage + ({ mkDerivation, base, containers, hint, hspec, HUnit, hzulip + , mueval, optparse-applicative, say, text, yaml + }: + mkDerivation { + pname = "lambdabot-zulip"; + version = "0.1.0"; + sha256 = "1gjilhmkgbxdrf97mrfcmn84d8wx1g50k7sd27q5q2mldb4vr0xg"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + base containers hint hzulip mueval optparse-applicative say text + yaml + ]; + executableHaskellDepends = [ base ]; + testHaskellDepends = [ base hspec HUnit text ]; + description = "Lambdabot for Zulip Chat"; + license = stdenv.lib.licenses.mit; + }) {}; + "lambdacat" = callPackage ({ mkDerivation, base, cmdargs, containers, dyre, glade, gtk, mtl , network, webkit @@ -132617,6 +132964,19 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "leancheck_0_8_0" = callPackage + ({ mkDerivation, base, template-haskell }: + mkDerivation { + pname = "leancheck"; + version = "0.8.0"; + sha256 = "1lblxlg881asqgbdv6sivzxryis7cgkpclgyyks598ii06vd0z1s"; + libraryHaskellDepends = [ base template-haskell ]; + testHaskellDepends = [ base ]; + description = "Enumerative property-based testing"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "leancheck-enum-instances" = callPackage ({ mkDerivation, base, enum-types, leancheck }: mkDerivation { @@ -136015,8 +136375,8 @@ self: { }: mkDerivation { pname = "list-tries"; - version = "0.6.5"; - sha256 = "1bdqja3favvxxlqxyh4r07xhkgsxan7lg8vb0nrahkfbifa4m6by"; + version = "0.6.6"; + sha256 = "0n837h2ffgqgram5kvnshlqk5jc87bw49z4pxa94qdmc323z51ak"; libraryHaskellDepends = [ base binary containers dlist ]; testHaskellDepends = [ base binary ChasingBottoms HUnit QuickCheck template-haskell @@ -136039,20 +136399,22 @@ self: { }) {}; "list-zipper" = callPackage - ({ mkDerivation, base, checkers, comonad, deriving-compat, lens - , profunctors, QuickCheck, semigroupoids, semigroups, tasty - , tasty-hunit, tasty-quickcheck + ({ mkDerivation, base, checkers, comonad, deriving-compat, hedgehog + , hedgehog-fn, lens, mtl, QuickCheck, semigroupoids, semigroups + , tasty, tasty-hedgehog, tasty-hunit, tasty-quickcheck + , transformers }: mkDerivation { pname = "list-zipper"; - version = "0.0.2"; - sha256 = "1ylcknvp2i0rfl1anhjq7grbql2cz3ci5mxx5lbx7f9dl0fb6pb7"; + version = "0.0.7"; + sha256 = "1lbvj76bgsc1z0d3lzxrlam96i5z6jd8iymd06wlm313mdmkpgxy"; libraryHaskellDepends = [ - base comonad deriving-compat lens profunctors semigroupoids - semigroups + base comonad deriving-compat lens mtl semigroupoids semigroups + transformers ]; testHaskellDepends = [ - base checkers lens QuickCheck tasty tasty-hunit tasty-quickcheck + base checkers hedgehog hedgehog-fn lens mtl QuickCheck tasty + tasty-hedgehog tasty-hunit tasty-quickcheck transformers ]; description = "A list zipper"; license = stdenv.lib.licenses.bsd3; @@ -140952,6 +141314,28 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "massiv_0_2_4_0" = callPackage + ({ mkDerivation, base, bytestring, data-default, data-default-class + , deepseq, ghc-prim, hspec, primitive, QuickCheck, safe-exceptions + , vector + }: + mkDerivation { + pname = "massiv"; + version = "0.2.4.0"; + sha256 = "1zk8jkd4rng80spwha6xcmvszwjx2h8gd5xfa39zncdikd94l2hk"; + libraryHaskellDepends = [ + base bytestring data-default-class deepseq ghc-prim primitive + vector + ]; + testHaskellDepends = [ + base bytestring data-default deepseq hspec QuickCheck + safe-exceptions vector + ]; + description = "Massiv (Массив) is an Array Library"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "massiv-io" = callPackage ({ mkDerivation, base, bytestring, data-default, deepseq, directory , filepath, JuicyPixels, massiv, netpbm, process, vector @@ -148401,8 +148785,8 @@ self: { }: mkDerivation { pname = "multilinear"; - version = "0.3.1.0"; - sha256 = "04g70wv1vbz1hd81gjlbi16hlslmhlw9y4schjbwyq4b6ynkx28z"; + version = "0.3.2.0"; + sha256 = "0wjl4lzigbb7js99dd3i5kl081qqmrvk1w3kkjw7brasj8sqp01h"; libraryHaskellDepends = [ base containers deepseq mwc-random primitive statistics vector ]; @@ -149737,6 +150121,22 @@ self: { license = stdenv.lib.licenses.bsd3; }) {inherit (pkgs) mysql;}; + "mysql_0_1_6" = callPackage + ({ mkDerivation, base, bytestring, Cabal, containers, hspec, mysql + }: + mkDerivation { + pname = "mysql"; + version = "0.1.6"; + sha256 = "1vlr4z3ng8sibb7g8363xlhff3811z8b5nmm0ljai6r5r5hrym4y"; + setupHaskellDepends = [ base Cabal ]; + libraryHaskellDepends = [ base bytestring containers ]; + librarySystemDepends = [ mysql ]; + testHaskellDepends = [ base bytestring hspec ]; + description = "A low-level MySQL client library"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {inherit (pkgs) mysql;}; + "mysql-effect" = callPackage ({ mkDerivation, base, bytestring, extensible-effects, mysql , mysql-simple @@ -151142,8 +151542,8 @@ self: { }: mkDerivation { pname = "nested-routes"; - version = "9.0.1.1"; - sha256 = "1s9jf5ik6m85nqjclj0m8ba41s3lfd93mqm6azynv7kg3cp9v4rl"; + version = "9.0.2"; + sha256 = "197q5fapwj5rnlqvwlzajjn8sjb960mgxqd7sbw2sih6cj63a9a2"; libraryHaskellDepends = [ attoparsec base errors exceptions extractable-singleton hashable monad-control-aligned mtl poly-arity pred-trie regex-compat text @@ -155250,6 +155650,27 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "oblivious-transfer" = callPackage + ({ mkDerivation, base, bytestring, cryptonite, memory, protolude + , QuickCheck, random, tasty, tasty-discover, tasty-hunit + , tasty-quickcheck + }: + mkDerivation { + pname = "oblivious-transfer"; + version = "0.1.0"; + sha256 = "1kq5ppm151q1im14j6zm2w0pn60baj6gzxmfqfx8p0m7a7wwl7sz"; + libraryHaskellDepends = [ + base bytestring cryptonite memory protolude random + ]; + testHaskellDepends = [ + base bytestring cryptonite memory protolude QuickCheck random tasty + tasty-discover tasty-hunit tasty-quickcheck + ]; + testToolDepends = [ tasty-discover ]; + description = "An implementation of the Oblivious Transfer protocol in Haskell"; + license = stdenv.lib.licenses.asl20; + }) {}; + "observable" = callPackage ({ mkDerivation, async, base, transformers }: mkDerivation { @@ -158911,8 +159332,8 @@ self: { }: mkDerivation { pname = "pandoc-vimhl"; - version = "0.1.1.0"; - sha256 = "0xb7xz3b5vg9biq0zg1d4l3hkk6lxb6j9kzkrddy3h18yhnhzayf"; + version = "0.1.2.4"; + sha256 = "16gvlskbp2d000mbx2rkbz6dg6758ni4x2mkzxjyk5m475h13w6b"; isLibrary = false; isExecutable = true; executableHaskellDepends = [ @@ -163273,12 +163694,15 @@ self: { }) {}; "phaser" = callPackage - ({ mkDerivation, base, bytestring, containers, text }: + ({ mkDerivation, base, bytestring, containers, QuickCheck, text }: mkDerivation { pname = "phaser"; - version = "1.0.0.1"; - sha256 = "1ig3hcalfg2qxb092krii6zv95kvq0kng4acvq7l3wz03x66wj29"; + version = "1.0.1.0"; + sha256 = "0c4b5mx2nz8r0bpk29knzgs1hq5f69wsscplk7dcfsqwkngid930"; libraryHaskellDepends = [ base bytestring containers text ]; + testHaskellDepends = [ + base bytestring containers QuickCheck text + ]; description = "Incremental multiple pass parser library"; license = stdenv.lib.licenses.bsd3; hydraPlatforms = stdenv.lib.platforms.none; @@ -163734,6 +164158,19 @@ self: { hydraPlatforms = stdenv.lib.platforms.none; }) {}; + "picosat_0_1_5" = callPackage + ({ mkDerivation, base, containers, random, rdtsc, transformers }: + mkDerivation { + pname = "picosat"; + version = "0.1.5"; + sha256 = "0wc6zd1llyb880xvb8712b8mcil3arxnci68q2gmjb0gxa40jj6y"; + libraryHaskellDepends = [ base containers transformers ]; + testHaskellDepends = [ base containers random rdtsc transformers ]; + description = "Bindings to the PicoSAT solver"; + license = stdenv.lib.licenses.mit; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "pictikz" = callPackage ({ mkDerivation, base, matrix, transformers, xml }: mkDerivation { @@ -163884,6 +164321,32 @@ self: { license = stdenv.lib.licenses.mit; }) {}; + "pinboard_0_9_12_11" = callPackage + ({ mkDerivation, aeson, base, bytestring, containers, hspec + , http-client, http-client-tls, http-types, monad-logger, mtl + , network, profunctors, QuickCheck, random, safe-exceptions + , semigroups, text, time, transformers, unordered-containers + , vector + }: + mkDerivation { + pname = "pinboard"; + version = "0.9.12.11"; + sha256 = "12vj9lg7l2nb92j9mydsa8hcy0ql71qnphfhgdm30xrsps79vwd0"; + libraryHaskellDepends = [ + aeson base bytestring containers http-client http-client-tls + http-types monad-logger mtl network profunctors random + safe-exceptions text time transformers unordered-containers vector + ]; + testHaskellDepends = [ + aeson base bytestring containers hspec mtl QuickCheck + safe-exceptions semigroups text time transformers + unordered-containers + ]; + description = "Access to the Pinboard API"; + license = stdenv.lib.licenses.mit; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "pinch" = callPackage ({ mkDerivation, array, base, bytestring, containers, deepseq , ghc-prim, hashable, hspec, hspec-discover, QuickCheck, semigroups @@ -167637,6 +168100,30 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "postgresql-simple-migration_0_1_13_0" = callPackage + ({ mkDerivation, base, base64-bytestring, bytestring, cryptohash + , directory, hspec, postgresql-simple, text, time + }: + mkDerivation { + pname = "postgresql-simple-migration"; + version = "0.1.13.0"; + sha256 = "0rpcl6s1hwb5z0lkcrahh6ljx5zcb0aq8mrk691hfwazlhbv01zk"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + base base64-bytestring bytestring cryptohash directory + postgresql-simple time + ]; + executableHaskellDepends = [ + base base64-bytestring bytestring cryptohash directory + postgresql-simple text time + ]; + testHaskellDepends = [ base bytestring hspec postgresql-simple ]; + description = "PostgreSQL Schema Migrations"; + license = stdenv.lib.licenses.bsd3; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "postgresql-simple-opts" = callPackage ({ mkDerivation, base, bytestring, data-default, either , generic-deriving, hspec, optparse-applicative, optparse-generic @@ -168404,8 +168891,8 @@ self: { }: mkDerivation { pname = "pred-trie"; - version = "0.6.0.1"; - sha256 = "0hymhjh7idpibzdx0214laf0zjf3a4anhsmxn0p5g9xkgh7l7m72"; + version = "0.6.1"; + sha256 = "1db4dw9d1r8z1qvwcv4q6imws65811skj5a04j032qbrnshsvjfr"; libraryHaskellDepends = [ base containers deepseq hashable hashtables mtl poly-arity pred-set QuickCheck semigroups strict tries unordered-containers @@ -169019,8 +169506,8 @@ self: { pname = "pretty-sop"; version = "0.2.0.2"; sha256 = "0x1j5ngxwk176kr1qb0vr7zzjph1jxjc3bpzqcnph3rn2j6z4kyn"; - revision = "1"; - editedCabalFile = "16j80587sfq4hm2p24awcv388sm2snrwj3fhg9l3x256fbl4bm4s"; + revision = "2"; + editedCabalFile = "04hzf2ajlnh3ynk72xr5s396v8y0d8fkr4pf11nqss7yf60dkxwi"; libraryHaskellDepends = [ base generics-sop pretty-show ]; description = "A generic pretty-printer using generics-sop"; license = stdenv.lib.licenses.bsd3; @@ -170115,6 +170602,19 @@ self: { license = stdenv.lib.licenses.bsd3; }) {}; + "prof-flamegraph" = callPackage + ({ mkDerivation, base, optparse-applicative }: + mkDerivation { + pname = "prof-flamegraph"; + version = "1.0.0"; + sha256 = "10ca6jmgnavqf8p8zf643rg1pjnzzndri4rbpmz6jshgy55vikf6"; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ base optparse-applicative ]; + description = "Generate flamegraphs from ghc RTS .prof files"; + license = stdenv.lib.licenses.mit; + }) {}; + "prof2dot" = callPackage ({ mkDerivation, base, containers, filepath, haskell98, parsec }: mkDerivation { @@ -172280,8 +172780,8 @@ self: { }: mkDerivation { pname = "purescript-iso"; - version = "0.0.4"; - sha256 = "1yqr8yfrc8vjn6h1wsfn0167ca6xj9wcl5a46zn9dklpkx995zyq"; + version = "0.0.5"; + sha256 = "06dw9fqc2h8asc3gwr3m5xqxsfcc24qw2pjz4wi2f2pgb32sicls"; libraryHaskellDepends = [ aeson aeson-attoparsec aeson-diff async attoparsec attoparsec-uri base bytestring containers deepseq emailaddress monad-control mtl @@ -176905,6 +177405,8 @@ self: { pname = "records-sop"; version = "0.1.0.2"; sha256 = "187x3cq7h1rkmbv8qp810fcnr5y4byqwgw329v7f0s0px2vmg4h5"; + revision = "1"; + editedCabalFile = "082f4dmdvbnv6jq28mrva8clxif366vcbn9m8d1bb8lcf9h3qxjb"; libraryHaskellDepends = [ base deepseq generics-sop ghc-prim ]; testHaskellDepends = [ base deepseq generics-sop hspec should-not-typecheck @@ -182052,18 +182554,20 @@ self: { "ron" = callPackage ({ mkDerivation, aeson, attoparsec, base, binary, bytestring - , containers, criterion, data-default, deepseq, Diff, errors, extra - , hashable, mtl, safe, stringsearch, template-haskell, text, time - , unordered-containers, vector + , containers, criterion, data-default, deepseq, Diff, directory + , errors, extra, filepath, hashable, mtl, network-info, safe + , stringsearch, template-haskell, text, time, unordered-containers + , vector }: mkDerivation { pname = "ron"; - version = "0.1"; - sha256 = "1dwi0yyqzrwsl3x359hdpa5x77jqmbdidy0lx2wx2xlg0yzf5cfv"; + version = "0.2"; + sha256 = "1dv1lfz9v31k817cby0252jy08sd9c01l1jrlhqf243w25a6zp41"; libraryHaskellDepends = [ aeson attoparsec base binary bytestring containers data-default - deepseq Diff errors extra hashable mtl safe stringsearch - template-haskell text time unordered-containers vector + deepseq Diff directory errors extra filepath hashable mtl + network-info safe stringsearch template-haskell text time + unordered-containers vector ]; benchmarkHaskellDepends = [ base criterion deepseq ]; description = "RON, RON-RDT, and RON-Schema"; @@ -189921,7 +190425,7 @@ self: { hydraPlatforms = stdenv.lib.platforms.none; }) {}; - "serverless-haskell_0_8_2" = callPackage + "serverless-haskell_0_8_3" = callPackage ({ mkDerivation, aeson, aeson-casing, aeson-extra, amazonka-core , amazonka-kinesis, amazonka-s3, base, bytestring, case-insensitive , hspec, hspec-discover, http-types, iproute, lens, raw-strings-qq @@ -189929,8 +190433,8 @@ self: { }: mkDerivation { pname = "serverless-haskell"; - version = "0.8.2"; - sha256 = "1ia1vjiw71qkqdpbna2jgxznwlhbh184fr5m95dcyl5kwwlb3nb8"; + version = "0.8.3"; + sha256 = "1d24qbl4d2sri9k67rgnivzw8wg5sxrdh2sh29m4wxvcas44a784"; libraryHaskellDepends = [ aeson aeson-casing aeson-extra amazonka-core amazonka-kinesis amazonka-s3 base bytestring case-insensitive http-types iproute @@ -190418,32 +190922,35 @@ self: { }) {}; "sets" = callPackage - ({ mkDerivation, base, commutative, composition, containers - , contravariant, criterion, hashable, keys, mtl, QuickCheck - , quickcheck-instances, semigroupoids, semigroups, tasty - , tasty-hunit, tasty-quickcheck, transformers, transformers-base - , unordered-containers, witherable + ({ mkDerivation, base, bytestring, commutative, composition + , containers, contravariant, criterion, hashable, keys, mtl + , QuickCheck, quickcheck-instances, semigroupoids, semigroups + , tasty, tasty-hunit, tasty-quickcheck, transformers + , transformers-base, unordered-containers, vector, witherable }: mkDerivation { pname = "sets"; - version = "0.0.5.2"; - sha256 = "04w7wisn9fzkg7wqfzmibd6myj3c4bvkx7w7i5q0nxx5njvxa85y"; + version = "0.0.6"; + sha256 = "0vnh4wy4p4x0jcxlwzj3mpxhkjv3igg2lphjgxj4dqzd2qddj63d"; libraryHaskellDepends = [ - base commutative composition containers contravariant hashable keys - mtl QuickCheck semigroupoids semigroups transformers - transformers-base unordered-containers witherable + base bytestring commutative composition containers contravariant + hashable keys mtl QuickCheck semigroupoids semigroups transformers + transformers-base unordered-containers vector witherable ]; testHaskellDepends = [ - base commutative containers contravariant QuickCheck - quickcheck-instances tasty tasty-hunit tasty-quickcheck - unordered-containers + base bytestring commutative composition containers contravariant + hashable keys mtl QuickCheck quickcheck-instances semigroupoids + semigroups tasty tasty-hunit tasty-quickcheck transformers + transformers-base unordered-containers vector witherable ]; benchmarkHaskellDepends = [ - base commutative containers contravariant criterion - unordered-containers + base bytestring commutative composition containers contravariant + criterion hashable keys mtl QuickCheck semigroupoids semigroups + transformers transformers-base unordered-containers vector + witherable ]; description = "Ducktyped set interface for Haskell containers"; - license = stdenv.lib.licenses.mit; + license = stdenv.lib.licenses.bsd3; hydraPlatforms = stdenv.lib.platforms.none; }) {}; @@ -191116,6 +191623,32 @@ self: { maintainers = with stdenv.lib.maintainers; [ psibi ]; }) {}; + "shakespeare_2_0_20" = callPackage + ({ mkDerivation, aeson, base, blaze-html, blaze-markup, bytestring + , containers, directory, exceptions, ghc-prim, hspec, HUnit, parsec + , process, scientific, template-haskell, text, time, transformers + , unordered-containers, vector + }: + mkDerivation { + pname = "shakespeare"; + version = "2.0.20"; + sha256 = "00wybn9dcwi2y1cp87fyvhcqn8filvb8as7k78g1m1c5wpwby3pm"; + libraryHaskellDepends = [ + aeson base blaze-html blaze-markup bytestring containers directory + exceptions ghc-prim parsec process scientific template-haskell text + time transformers unordered-containers vector + ]; + testHaskellDepends = [ + aeson base blaze-html blaze-markup bytestring containers directory + exceptions ghc-prim hspec HUnit parsec process template-haskell + text time transformers + ]; + description = "A toolkit for making compile-time interpolated templates"; + license = stdenv.lib.licenses.mit; + hydraPlatforms = stdenv.lib.platforms.none; + maintainers = with stdenv.lib.maintainers; [ psibi ]; + }) {}; + "shakespeare-babel" = callPackage ({ mkDerivation, base, classy-prelude, data-default, directory , process, shakespeare, template-haskell @@ -192542,8 +193075,10 @@ self: { }: mkDerivation { pname = "simple-effects"; - version = "0.12.0.0"; - sha256 = "1k7wslyiv0hqpq7b92xyxlv3a1431cbaraxiw1ircjrm3ay28bd0"; + version = "0.13.0.0"; + sha256 = "14ik7rw9qszfq010g6c951r59g1gds3lpczsrqi4gq932s1rr4rn"; + revision = "1"; + editedCabalFile = "15zca24ldx643cyp1f7l5d69g3micqrha2sk5arz5xygxhas2yrm"; libraryHaskellDepends = [ array async base bytestring exceptions list-t monad-control MonadRandom mtl text transformers transformers-base @@ -193647,22 +194182,22 @@ self: { "sized-grid" = callPackage ({ mkDerivation, adjunctions, aeson, ansi-terminal, base, comonad - , constraints, distributive, generics-sop, hedgehog, HUnit, lens - , markdown-unlit, mtl, random, tasty, tasty-hedgehog, tasty-hunit - , vector, vector-space + , constraints, distributive, generics-sop, HUnit, lens + , markdown-unlit, mtl, QuickCheck, random, tasty, tasty-hunit + , tasty-quickcheck, vector, vector-space }: mkDerivation { pname = "sized-grid"; - version = "0.1.1.1"; - sha256 = "0v3350z1p9bmwancn205jbbqj1wwi7f6415jzz3fcypkmyq90bav"; + version = "0.1.1.6"; + sha256 = "06qbbih3gn92b85aqk7qx8q4yg56jqh9ncczb66q6sn599xay1s9"; libraryHaskellDepends = [ adjunctions aeson base comonad constraints distributive generics-sop lens mtl random vector vector-space ]; testHaskellDepends = [ adjunctions aeson ansi-terminal base comonad distributive - generics-sop hedgehog HUnit lens markdown-unlit tasty - tasty-hedgehog tasty-hunit vector-space + generics-sop HUnit lens markdown-unlit QuickCheck tasty tasty-hunit + tasty-quickcheck vector vector-space ]; testToolDepends = [ markdown-unlit ]; description = "Multidimensional grids with sized specified at compile time"; @@ -196811,15 +197346,16 @@ self: { }) {}; "solve" = callPackage - ({ mkDerivation, base, containers, filepath }: + ({ mkDerivation, base, containers, filepath, QuickCheck }: mkDerivation { pname = "solve"; - version = "1.1"; - sha256 = "045bj6wskglwg0j0jk0jsqkp4m809g2fy350bi6m84smg64rr3y4"; + version = "1.2"; + sha256 = "03byni7iqv9wh35bc2g94ycsm1nl0ngfs4n1nkpprd1vw0d5g9h4"; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base containers filepath ]; executableHaskellDepends = [ base containers filepath ]; + testHaskellDepends = [ base containers QuickCheck ]; description = "Solving simple games"; license = stdenv.lib.licenses.mit; }) {}; @@ -197285,8 +197821,8 @@ self: { }: mkDerivation { pname = "sparrow"; - version = "0.0.2.2"; - sha256 = "0y1s22nfy234jgvvkxc77x0gcrlqb1g5vqni6vdwls6ww9n1jwba"; + version = "0.0.3"; + sha256 = "0rwspgmy4s33viijxb4rqck7qdwrxn15k54cbccijncqjpc15azj"; libraryHaskellDepends = [ aeson aeson-attoparsec async attoparsec attoparsec-uri base bytestring deepseq exceptions extractable-singleton hashable @@ -201380,6 +201916,20 @@ self: { license = stdenv.lib.licenses.mit; }) {}; + "stp" = callPackage + ({ mkDerivation, base, containers, regex-compat }: + mkDerivation { + pname = "stp"; + version = "0.1.0.0"; + sha256 = "1anajnwakr3j2yixjjq2clk36b5043hpr0kfqm6qahj62hcdq9wm"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ base containers ]; + executableHaskellDepends = [ base regex-compat ]; + description = "Simple Theorem Prover"; + license = stdenv.lib.licenses.bsd3; + }) {}; + "str" = callPackage ({ mkDerivation, base, base16-bytestring, bytestring, Crypto , hashable, MissingH, text, utf8-string @@ -203852,8 +204402,8 @@ self: { pname = "supervisors"; version = "0.1.0.0"; sha256 = "1sxralp0hcz2zn5byn67xq612nzmpm890gnjs827sidvr7r7h31j"; - revision = "1"; - editedCabalFile = "186a5vawnknixf4psp06cjbyby5qp4i0c8bpvisqi3pq3kag7x76"; + revision = "2"; + editedCabalFile = "08qz4qbfrj7hpk3pgyjy3r149dz48jpxajyjs10fgiz16xg11zyl"; libraryHaskellDepends = [ async base containers stm unliftio ]; testHaskellDepends = [ base hspec ]; description = "Monitor groups of threads with non-hierarchical lifetimes"; @@ -206691,15 +207241,15 @@ self: { license = stdenv.lib.licenses.mit; }) {}; - "tar-conduit_0_3_0" = callPackage + "tar-conduit_0_3_1" = callPackage ({ mkDerivation, base, bytestring, conduit, conduit-combinators , conduit-extra, containers, criterion, deepseq, directory , filepath, hspec, QuickCheck, safe-exceptions, text, unix, weigh }: mkDerivation { pname = "tar-conduit"; - version = "0.3.0"; - sha256 = "0g35wiqn0bi31sqnzknq90iy265c7lw15rkyrzc6c2vp6nl86j08"; + version = "0.3.1"; + sha256 = "15w1qs276x2j13s3dg5a0d8jjcs3rf8hhnfa2m6p8jm7kjirvahm"; libraryHaskellDepends = [ base bytestring conduit conduit-combinators directory filepath safe-exceptions text unix @@ -215124,29 +215674,29 @@ self: { }) {}; "tries" = callPackage - ({ mkDerivation, base, bytestring, bytestring-trie, composition - , containers, criterion, deepseq, hashable, keys, mtl, QuickCheck + ({ mkDerivation, base, bytestring, composition, containers + , criterion, deepseq, hashable, keys, mtl, QuickCheck , quickcheck-instances, rose-trees, semigroups, sets, tasty , tasty-quickcheck, unordered-containers }: mkDerivation { pname = "tries"; - version = "0.0.5"; - sha256 = "1xljwkdwfwd962f7bdbds89m93hw24b54624d4fqlq4n0dyq50x0"; + version = "0.0.6"; + sha256 = "0765my34c8fcd8ri9acrcymgpjfqqq7a98zr94z8czrnh5zsmzjv"; libraryHaskellDepends = [ - base bytestring bytestring-trie composition containers deepseq - hashable keys QuickCheck quickcheck-instances rose-trees semigroups - sets unordered-containers + base bytestring composition containers deepseq hashable keys + QuickCheck quickcheck-instances rose-trees semigroups sets + unordered-containers ]; testHaskellDepends = [ - base bytestring bytestring-trie composition containers deepseq - hashable keys mtl QuickCheck quickcheck-instances rose-trees - semigroups sets tasty tasty-quickcheck unordered-containers + base bytestring composition containers deepseq hashable keys mtl + QuickCheck quickcheck-instances rose-trees semigroups sets tasty + tasty-quickcheck unordered-containers ]; benchmarkHaskellDepends = [ - base bytestring bytestring-trie composition containers criterion - deepseq hashable keys mtl QuickCheck quickcheck-instances - rose-trees semigroups sets unordered-containers + base bytestring composition containers criterion deepseq hashable + keys mtl QuickCheck quickcheck-instances rose-trees semigroups sets + unordered-containers ]; description = "Various trie implementations in Haskell"; license = stdenv.lib.licenses.bsd3; @@ -217774,6 +218324,34 @@ self: { license = stdenv.lib.licenses.asl20; }) {}; + "tz_0_1_3_2" = callPackage + ({ mkDerivation, base, binary, bytestring, containers, criterion + , data-default, deepseq, HUnit, lens, QuickCheck, template-haskell + , test-framework, test-framework-hunit, test-framework-quickcheck2 + , test-framework-th, thyme, time, timezone-olson, timezone-series + , tzdata, vector + }: + mkDerivation { + pname = "tz"; + version = "0.1.3.2"; + sha256 = "0k35pw27a3hwg5wqjpfqij0y7rkdlmd85n4kj4ckna4z2v86dl7h"; + libraryHaskellDepends = [ + base binary bytestring containers data-default deepseq + template-haskell time tzdata vector + ]; + testHaskellDepends = [ + base HUnit QuickCheck test-framework test-framework-hunit + test-framework-quickcheck2 test-framework-th time tzdata + ]; + benchmarkHaskellDepends = [ + base criterion lens thyme time timezone-olson timezone-series + ]; + preConfigure = "export TZDIR=${pkgs.tzdata}/share/zoneinfo"; + description = "Efficient time zone handling"; + license = stdenv.lib.licenses.asl20; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "tzdata" = callPackage ({ mkDerivation, base, bytestring, containers, deepseq, HUnit , test-framework, test-framework-hunit, test-framework-th, unix @@ -217797,6 +218375,28 @@ self: { license = stdenv.lib.licenses.asl20; }) {}; + "tzdata_0_1_20181026_0" = callPackage + ({ mkDerivation, base, bytestring, containers, deepseq, HUnit + , test-framework, test-framework-hunit, test-framework-th, unix + , vector + }: + mkDerivation { + pname = "tzdata"; + version = "0.1.20181026.0"; + sha256 = "0b531ydcb63q44zjpcd2l70xp2hgkxqppnfld7n16ifh9vrxm6gf"; + enableSeparateDataOutput = true; + libraryHaskellDepends = [ + base bytestring containers deepseq vector + ]; + testHaskellDepends = [ + base bytestring HUnit test-framework test-framework-hunit + test-framework-th unix + ]; + description = "Time zone database (as files and as a module)"; + license = stdenv.lib.licenses.asl20; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "u2f" = callPackage ({ mkDerivation, aeson, asn1-encoding, asn1-types, base , base64-bytestring, binary, bytestring, cryptohash, cryptonite @@ -219488,10 +220088,8 @@ self: { }: mkDerivation { pname = "unjson"; - version = "0.15.2.0"; - sha256 = "040s1b9frl0sj8saa9b0bzsnqhmb4vdrscff2jzzcdn0papn5rbj"; - revision = "1"; - editedCabalFile = "1kv5ybjgpqxq7xy8x1rgr8ia7kaffgih0z7jx74ixdijkqk69447"; + version = "0.15.2.1"; + sha256 = "1zx66qjx4rikbs8f2j1vazasin5fr6pxks3j5b7fkpriyxk49khs"; libraryHaskellDepends = [ aeson attoparsec base bytestring containers free hashable invariant pretty primitive scientific semigroups text time @@ -223866,8 +224464,8 @@ self: { }: mkDerivation { pname = "waargonaut"; - version = "0.3.0.0"; - sha256 = "09svy408l8vy40a91mqpzpkslans0ppkvmqkgaihnc929wdwfkf6"; + version = "0.4.1.0"; + sha256 = "018x0rb86ndshaqm0ns2cjwrqs2d2sq5sqypy1nbd8rh1g943cdn"; setupHaskellDepends = [ base Cabal cabal-doctest ]; libraryHaskellDepends = [ base bifunctors bytestring containers contravariant digit @@ -223877,9 +224475,9 @@ self: { transformers vector witherable wl-pprint-annotated zippers ]; testHaskellDepends = [ - attoparsec base bytestring containers digit directory distributive - doctest filepath generics-sop hedgehog hedgehog-fn lens mtl natural - scientific semigroupoids semigroups tagged tasty + attoparsec base bytestring containers contravariant digit directory + distributive doctest filepath generics-sop hedgehog hedgehog-fn + lens mtl natural scientific semigroupoids semigroups tagged tasty tasty-expected-failure tasty-hedgehog tasty-hunit template-haskell text vector zippers ]; @@ -224724,8 +225322,8 @@ self: { }: mkDerivation { pname = "wai-middleware-content-type"; - version = "0.6.1.2"; - sha256 = "057xrb6nik8imxg91chyhakddb0ywm7ccfkwjlyrbwrd5hm84j8r"; + version = "0.6.2"; + sha256 = "18ay8ng3gmyn25iziwlw82z5vbbkc6pgp5d0iz29qmc2lm6y6wgw"; libraryHaskellDepends = [ aeson base blaze-builder blaze-html bytestring clay exceptions extractable-singleton hashable http-media http-types lucid mmorph @@ -226416,7 +227014,7 @@ self: { hydraPlatforms = stdenv.lib.platforms.none; }) {}; - "web3_0_8_2_0" = callPackage + "web3_0_8_2_1" = callPackage ({ mkDerivation, aeson, async, base, basement, bytestring, cereal , cryptonite, data-default, exceptions, generics-sop, hspec , hspec-contrib, hspec-discover, hspec-expectations, http-client @@ -226427,8 +227025,8 @@ self: { }: mkDerivation { pname = "web3"; - version = "0.8.2.0"; - sha256 = "0gfz4011yflpjhg2397wq5761hq4r0g0yrkqljp1xsikq2jab72h"; + version = "0.8.2.1"; + sha256 = "1dcv7977r98lrwh12si9vzvm5bcjdyfdivl63r5zwkykapd15z00"; libraryHaskellDepends = [ aeson async base basement bytestring cereal cryptonite data-default exceptions generics-sop http-client http-client-tls machines memory @@ -227033,8 +227631,8 @@ self: { }: mkDerivation { pname = "websockets-simple"; - version = "0.1.2.1"; - sha256 = "1g3cqbdycjx82px06xvh4q3jjnp71llzsw4v0s815933fgfcck54"; + version = "0.1.3"; + sha256 = "1nknnb7zmkcm377q9i9whcw4fd43q2nk5vla2yilr9lnp5g4gqr0"; libraryHaskellDepends = [ aeson async base bytestring exceptions extractable-singleton monad-control-aligned profunctors stm transformers vector @@ -232850,6 +233448,32 @@ self: { license = stdenv.lib.licenses.mit; }) {}; + "yesod-auth-hashdb_1_7_1" = callPackage + ({ mkDerivation, aeson, base, basic-prelude, bytestring, containers + , hspec, http-conduit, http-types, monad-logger, network-uri + , persistent, persistent-sqlite, resourcet, text + , unordered-containers, wai-extra, yesod, yesod-auth, yesod-core + , yesod-form, yesod-persistent, yesod-test + }: + mkDerivation { + pname = "yesod-auth-hashdb"; + version = "1.7.1"; + sha256 = "1rfz2xanm6d70fx8ywh8j8py8003akzgi10s9n7syqm8kaj2fvqd"; + libraryHaskellDepends = [ + aeson base bytestring persistent text yesod-auth yesod-core + yesod-form yesod-persistent + ]; + testHaskellDepends = [ + aeson base basic-prelude bytestring containers hspec http-conduit + http-types monad-logger network-uri persistent-sqlite resourcet + text unordered-containers wai-extra yesod yesod-auth yesod-core + yesod-test + ]; + description = "Authentication plugin for Yesod"; + license = stdenv.lib.licenses.mit; + hydraPlatforms = stdenv.lib.platforms.none; + }) {}; + "yesod-auth-hmac-keccak" = callPackage ({ mkDerivation, aeson, base, bytestring, cryptonite, mtl , persistent, random, shakespeare, text, yesod-auth, yesod-core @@ -233543,12 +234167,12 @@ self: { license = stdenv.lib.licenses.mit; }) {}; - "yesod-form-bootstrap4_2_0_0" = callPackage + "yesod-form-bootstrap4_2_1_0" = callPackage ({ mkDerivation, base, text, yesod-core, yesod-form }: mkDerivation { pname = "yesod-form-bootstrap4"; - version = "2.0.0"; - sha256 = "19aiifq8rmdjlzl1slh3rqhggp6h52nsb6v9wnhpi6c3nq4l2paf"; + version = "2.1.0"; + sha256 = "1wf1jbhfs4f75977rnrrkahgysxqrcas4qi1ay1ggq29hp1z4hic"; libraryHaskellDepends = [ base text yesod-core yesod-form ]; description = "renderBootstrap4"; license = stdenv.lib.licenses.mit; From 50ffe1d46b6e0c0555d932d26a7478c621667701 Mon Sep 17 00:00:00 2001 From: Peter Simons <simons@cryp.to> Date: Mon, 19 Nov 2018 10:25:50 +0100 Subject: [PATCH 071/106] hspec-meta: update override to the latest version --- pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index fa718a2dac0e..e2983de6ebcb 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -63,7 +63,7 @@ self: super: { hspec-core = self.hspec-core_2_6_0; hspec-discover = self.hspec-discover_2_6_0; hspec-megaparsec = doJailbreak super.hspec-megaparsec; # newer versions need megaparsec 7.x - hspec-meta = self.hspec-meta_2_5_6; + hspec-meta = self.hspec-meta_2_6_0; JuicyPixels = self.JuicyPixels_3_3_2; lens = self.lens_4_17; megaparsec = dontCheck (doJailbreak super.megaparsec); From 31de7743f8a7e31631e1dfd27b785120578c62ed Mon Sep 17 00:00:00 2001 From: Peter Simons <simons@cryp.to> Date: Tue, 20 Nov 2018 18:37:07 +0100 Subject: [PATCH 072/106] haskell-fltkhs: re-enable the build https://github.com/NixOS/nixpkgs/pull/50828 makes an effort to fix this package. --- pkgs/development/haskell-modules/configuration-common.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ba95e8cced0c..e62471772e8d 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -694,11 +694,6 @@ self: super: { # We cannot build this package w/o the C library from <http://www.phash.org/>. phash = markBroken super.phash; - # https://github.com/deech/fltkhs/issues/16 - # linking fails because the build doesn't pull in the libGLU_combined libraries - fltkhs = markBroken super.fltkhs; - fltkhs-fluid-examples = dontDistribute super.fltkhs-fluid-examples; - # We get lots of strange compiler errors during the test suite run. jsaddle = dontCheck super.jsaddle; From 12a19002cc16226e489c3cab9d560bec99242114 Mon Sep 17 00:00:00 2001 From: Matthew Pickering <matthewtpickering@gmail.com> Date: Wed, 21 Nov 2018 15:23:29 +0000 Subject: [PATCH 073/106] kythe: Add missing executable, fix rpath and symlink executables into bin (#50882) * kythe: Add ncurses5 to rpath * kythe: Add entrystream executable * kythe: Symlink executables into bin/ folder --- pkgs/development/tools/kythe/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/kythe/default.nix b/pkgs/development/tools/kythe/default.nix index 5aae1d4f3bef..bd25a60f72c1 100644 --- a/pkgs/development/tools/kythe/default.nix +++ b/pkgs/development/tools/kythe/default.nix @@ -1,4 +1,4 @@ -{ stdenv, binutils , fetchurl, glibc }: +{ stdenv, binutils , fetchurl, glibc, ncurses5 }: stdenv.mkDerivation rec { version = "0.0.28"; @@ -20,13 +20,14 @@ stdenv.mkDerivation rec { cd tools for exe in http_server \ kythe read_entries triples verifier \ - write_entries write_tables; do + write_entries write_tables entrystream; do echo "Patching:" $exe patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $exe - patchelf --set-rpath "${stdenv.cc.cc.lib}/lib64" $exe + patchelf --set-rpath "${stdenv.cc.cc.lib}/lib64:${ncurses5}/lib" $exe done cd ../ cp -R ./ $out + ln -s $out/tools $out/bin ''; meta = with stdenv.lib; { From 4b00cfe77fe13524e387959579ef14afcfcb22eb Mon Sep 17 00:00:00 2001 From: Matthew Bauer <mjbauer95@gmail.com> Date: Tue, 20 Nov 2018 20:33:25 -0600 Subject: [PATCH 074/106] systems/parse: add older x86 architectures i386, i486, i586 are added. These may have issues as many places assume i686 is the only valid 32 bit x86 architecture. --- lib/systems/parse.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix index be73a6d252f0..73b065689d06 100644 --- a/lib/systems/parse.nix +++ b/lib/systems/parse.nix @@ -82,6 +82,9 @@ rec { aarch64 = { bits = 64; significantByte = littleEndian; family = "arm"; version = "8"; }; aarch64_be = { bits = 64; significantByte = bigEndian; family = "arm"; version = "8"; }; + i386 = { bits = 32; significantByte = littleEndian; family = "x86"; }; + i486 = { bits = 32; significantByte = littleEndian; family = "x86"; }; + i586 = { bits = 32; significantByte = littleEndian; family = "x86"; }; i686 = { bits = 32; significantByte = littleEndian; family = "x86"; }; x86_64 = { bits = 64; significantByte = littleEndian; family = "x86"; }; From 4e68511bb1227b0aefc8a073930eefcdcbb31e38 Mon Sep 17 00:00:00 2001 From: Matthew Bauer <mjbauer95@gmail.com> Date: Tue, 20 Nov 2018 20:48:03 -0600 Subject: [PATCH 075/106] bintools: use i386 on all 32 bit x86 systems --- pkgs/build-support/bintools-wrapper/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix index 3ac1e52f3092..3d7137cb5bba 100644 --- a/pkgs/build-support/bintools-wrapper/default.nix +++ b/pkgs/build-support/bintools-wrapper/default.nix @@ -177,7 +177,7 @@ stdenv.mkDerivation { /**/ if targetPlatform.isAarch64 then endianPrefix + "aarch64" else if targetPlatform.isAarch32 then endianPrefix + "arm" else if targetPlatform.isx86_64 then "x86-64" - else if targetPlatform.isi686 then "i386" + else if targetPlatform.isx86 then "i386" else if targetPlatform.isMips then { "mips" = "btsmipn32"; # n32 variant "mipsel" = "ltsmipn32"; # n32 variant From 3e6d7a2329974ce63c4b6ee31c30ed576d94015b Mon Sep 17 00:00:00 2001 From: Matthew Bauer <mjbauer95@gmail.com> Date: Sat, 17 Nov 2018 13:53:59 -0600 Subject: [PATCH 076/106] ao: replace with libfive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ao has been renamed to libfive. Because there’s already a libfive package, we can just remove the old ao package. No packages appear to depend directly on it. --- pkgs/applications/graphics/ao/default.nix | 41 ----------------------- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 pkgs/applications/graphics/ao/default.nix diff --git a/pkgs/applications/graphics/ao/default.nix b/pkgs/applications/graphics/ao/default.nix deleted file mode 100644 index f51777bdbf73..000000000000 --- a/pkgs/applications/graphics/ao/default.nix +++ /dev/null @@ -1,41 +0,0 @@ -{stdenv, fetchgit, cmake, ninja, boost, libpng, glfw3, epoxy, guile, pkgconfig -, libGLU_combined, libX11, libpthreadstubs, libXau, libXdmcp, libXrandr, libXext -, libXinerama, libXxf86vm, libXcursor, libXfixes -}: -stdenv.mkDerivation rec { - version = "0.0pre20160820"; - name = "ao-${version}"; - - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ - cmake ninja boost libpng glfw3 epoxy guile libGLU_combined libX11 - libpthreadstubs libXau libXdmcp libXrandr libXext libXinerama libXxf86vm - libXcursor libXfixes - ]; - - src = fetchgit { - url = https://github.com/mkeeter/ao; - rev = "69fadb81543cc9031e4a7ec2036c7f2ab505a620"; - sha256 = "1717k72vr0i5j7bvxmd6q16fpvkljnqfa1hr3i4yq8cjdsj69my7"; - }; - - cmakeFlags = "-G Ninja"; - installPhase = '' - ninja install - cd .. - cp lib/lib* bind/lib* "$out/lib" - cp -r bin "$out/bin" - mkdir "$out/doc" - cp -r doc "$out/doc/ao" - cp -r examples "$out/doc/ao/examples" - cp -r bind "$out/bind" - ''; - meta = { - inherit version; - description = ''Homoiconic CAD package''; - license = stdenv.lib.licenses.gpl2Plus ; # Some parts can be extracted and used under LGPL2+ - maintainers = [stdenv.lib.maintainers.raskin]; - platforms = stdenv.lib.platforms.linux; - broken = true; # 2018-04-10 - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e1a5f4f65c1f..fff431c58e22 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -15756,7 +15756,7 @@ with pkgs; antiword = callPackage ../applications/office/antiword {}; - ao = callPackage ../applications/graphics/ao {}; + ao = libfive; apache-directory-studio = callPackage ../applications/networking/apache-directory-studio {}; From f4bf6ba67bd75009d0107674c894c79017263a04 Mon Sep 17 00:00:00 2001 From: Matthew Bauer <mjbauer95@gmail.com> Date: Tue, 20 Nov 2018 21:56:06 -0600 Subject: [PATCH 077/106] mdbtools: 0.6pre1 -> 0.7.1 Also remove mbdtools_git. This was older than mbdtools! --- pkgs/tools/misc/mdbtools/default.nix | 21 ++++++++++------- pkgs/tools/misc/mdbtools/git.nix | 35 ---------------------------- pkgs/top-level/all-packages.nix | 4 ---- 3 files changed, 13 insertions(+), 47 deletions(-) delete mode 100644 pkgs/tools/misc/mdbtools/git.nix diff --git a/pkgs/tools/misc/mdbtools/default.nix b/pkgs/tools/misc/mdbtools/default.nix index d251bee71d96..8a3842322f98 100644 --- a/pkgs/tools/misc/mdbtools/default.nix +++ b/pkgs/tools/misc/mdbtools/default.nix @@ -1,15 +1,20 @@ -{ stdenv, fetchurl, glib, readline, bison, flex, pkgconfig }: +{ stdenv, fetchFromGitHub, glib, readline +, bison, flex, pkgconfig, autoreconfHook +, txt2man, which }: -stdenv.mkDerivation { - name = "mdbtools-0.6pre1"; +let version = "0.7.1"; +in stdenv.mkDerivation { + name = "mdbtools-${version}"; - src = fetchurl { - url = mirror://sourceforge/mdbtools/mdbtools-0.6pre1.tar.gz; - sha256 = "1lz33lmqifjszad7rl1r7rpxbziprrm5rkb27wmswyl5v98dqsbi"; + src = fetchFromGitHub { + owner = "brianb"; + repo = "mdbtools"; + rev = version; + sha256 = "0gwcpp9y09xhs21g7my2fs8ncb8i6ahlyixcx8jd3q97jbzj441l"; }; - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [glib readline bison flex]; + nativeBuildInputs = [ pkgconfig bison flex autoreconfHook txt2man which ]; + buildInputs = [ glib readline ]; preConfigure = '' sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c diff --git a/pkgs/tools/misc/mdbtools/git.nix b/pkgs/tools/misc/mdbtools/git.nix deleted file mode 100644 index b275002e1105..000000000000 --- a/pkgs/tools/misc/mdbtools/git.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ stdenv, fetchgit, glib, readline, bison, flex, pkgconfig, - libiconv, autoreconfHook, which, txt2man, gnome-doc-utils, scrollkeeper }: - -stdenv.mkDerivation { - name = "mdbtools-git-2014-07-25"; - - src = fetchgit { - url = "http://github.com/brianb/mdbtools.git"; - rev = "9ab40e83e6789015c965c92bdb62f92f8cdd0dbd"; - sha256 = "0hlf5lk86xm0bpdlpk4a1zyfvbim76dhvmybxga2p7mbb1jc825l"; - }; - - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ - glib readline bison flex autoreconfHook which txt2man - gnome-doc-utils scrollkeeper libiconv - ]; - - preAutoreconf = '' - sed -e '/ENABLE_GTK_DOC/aAM_CONDITIONAL(HAVE_GNOME_DOC_UTILS, test x$enable_gtk_doc = xyes)' \ - -e '/ENABLE_GTK_DOC/aAM_CONDITIONAL(ENABLE_SK, test x$enable_scrollkeeper = xyes)' \ - -i configure.ac - ''; - - preConfigure = '' - sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c - ''; - - meta = with stdenv.lib; { - description = ".mdb (MS Access) format tools"; - homepage = http://mdbtools.sourceforge.net; - platforms = platforms.linux; - license = with licenses; [ gpl2 lgpl2 ]; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fff431c58e22..872e86e677b0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4112,10 +4112,6 @@ with pkgs; mdbtools = callPackage ../tools/misc/mdbtools { }; - mdbtools_git = callPackage ../tools/misc/mdbtools/git.nix { - inherit (gnome2) scrollkeeper; - }; - mdk = callPackage ../development/tools/mdk { }; mdp = callPackage ../applications/misc/mdp { }; From 5ad5708f83a1661ef56ba1e2b2b8c82829e36774 Mon Sep 17 00:00:00 2001 From: Matthew Bauer <mjbauer95@gmail.com> Date: Tue, 20 Nov 2018 21:57:17 -0600 Subject: [PATCH 078/106] arb-git: remove Older than the stable version --- pkgs/development/libraries/arb/git.nix | 21 --------------------- pkgs/top-level/all-packages.nix | 1 - 2 files changed, 22 deletions(-) delete mode 100644 pkgs/development/libraries/arb/git.nix diff --git a/pkgs/development/libraries/arb/git.nix b/pkgs/development/libraries/arb/git.nix deleted file mode 100644 index a281e2a085fe..000000000000 --- a/pkgs/development/libraries/arb/git.nix +++ /dev/null @@ -1,21 +0,0 @@ -{stdenv, fetchFromGitHub, mpir, gmp, mpfr, flint}: -stdenv.mkDerivation rec { - name = "${pname}-${version}"; - pname = "arb"; - version = "2.9.0pre20161013"; - src = fetchFromGitHub { - owner = "fredrik-johansson"; - repo = "${pname}"; - rev = "10bc615ce5999caf4723444b2b1219b74781d8a4"; - sha256 = "1xb40x3hv9nh76aizhskj5gdhalgn7r95a7zji2nn4ih3lmh40hl"; - }; - buildInputs = [ mpir gmp mpfr flint ]; - configureFlags = [ "--with-gmp=${gmp}" "--with-mpir=${mpir}" "--with-mpfr=${mpfr}" "--with-flint=${flint}" ]; - meta = { - inherit version; - description = ''A library for arbitrary-precision interval arithmetic''; - license = stdenv.lib.licenses.lgpl21Plus; - maintainers = [stdenv.lib.maintainers.raskin]; - platforms = stdenv.lib.platforms.linux; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 872e86e677b0..3ddee7ddd154 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9112,7 +9112,6 @@ with pkgs; }; arb = callPackage ../development/libraries/arb {}; - arb-git = callPackage ../development/libraries/arb/git.nix {}; argp-standalone = callPackage ../development/libraries/argp-standalone {}; From 3d6f6e3e7f3e246a4cd2ce94bb88b5aad908b91d Mon Sep 17 00:00:00 2001 From: Matthew Bauer <mjbauer95@gmail.com> Date: Tue, 20 Nov 2018 21:57:39 -0600 Subject: [PATCH 079/106] libvpx-git: remove Older than the stable version. --- pkgs/development/libraries/libvpx/git.nix | 182 ---------------------- pkgs/top-level/all-packages.nix | 1 - 2 files changed, 183 deletions(-) delete mode 100644 pkgs/development/libraries/libvpx/git.nix diff --git a/pkgs/development/libraries/libvpx/git.nix b/pkgs/development/libraries/libvpx/git.nix deleted file mode 100644 index a39113e05b67..000000000000 --- a/pkgs/development/libraries/libvpx/git.nix +++ /dev/null @@ -1,182 +0,0 @@ -{ stdenv, fetchgit, perl, yasm -, vp8DecoderSupport ? true # VP8 decoder -, vp8EncoderSupport ? true # VP8 encoder -, vp9DecoderSupport ? true # VP9 decoder -, vp9EncoderSupport ? true # VP9 encoder -, extraWarningsSupport ? false # emit non-fatal warnings -, werrorSupport ? false # treat warnings as errors (not available with all compilers) -, debugSupport ? false # debug mode -, gprofSupport ? false # gprof profiling instrumentation -, gcovSupport ? false # gcov coverage instrumentation -, sizeLimitSupport ? true # limit max size to allow in the decoder -, optimizationsSupport ? true # compiler optimization flags -, runtimeCpuDetectSupport ? true # detect cpu capabilities at runtime -, thumbSupport ? false # build arm assembly in thumb mode -, examplesSupport ? true # build examples (vpxdec & vpxenc are part of examples) -, fastUnalignedSupport ? true # use unaligned accesses if supported by hardware -, debugLibsSupport ? false # include debug version of each library -, postprocSupport ? true # postprocessing -, multithreadSupport ? true # multithreaded decoding & encoding -, internalStatsSupport ? false # output of encoder internal stats for debug, if supported (encoders) -, memTrackerSupport ? false # track memory usage -, spatialResamplingSupport ? true # spatial sampling (scaling) -, realtimeOnlySupport ? false # build for real-time encoding -, ontheflyBitpackingSupport ? false # on-the-fly bitpacking in real-time encoding -, errorConcealmentSupport ? false # decoder conceals losses -, smallSupport ? false # favor smaller binary over speed -, postprocVisualizerSupport ? false # macro block/block level visualizers -, unitTestsSupport ? false, curl ? null, coreutils ? null # unit tests -, webmIOSupport ? true # input from and output to webm container -, libyuvSupport ? true # libyuv -, decodePerfTestsSupport ? false # build decoder perf tests with unit tests -, encodePerfTestsSupport ? false # build encoder perf tests with unit tests -, multiResEncodingSupport ? false # multiple-resolution encoding -, temporalDenoisingSupport ? true # use temporal denoising instead of spatial denoising -, coefficientRangeCheckingSupport ? false # decoder checks if intermediate transform coefficients are in valid range -, vp9HighbitdepthSupport ? true # 10/12 bit color support in VP9 -# Experimental features -, experimentalSpatialSvcSupport ? false # Spatial scalable video coding -, experimentalFpMbStatsSupport ? false -, experimentalEmulateHardwareSupport ? false -}: - -let - inherit (stdenv) isi686 isx86_64 isAarch32 is64bit isMips isDarwin isCygwin; - inherit (stdenv.lib) enableFeature optional optionals; -in - -assert isi686 || isx86_64 || isAarch32 || isMips; # Requires ARM with floating point support - -assert vp8DecoderSupport || vp8EncoderSupport || vp9DecoderSupport || vp9EncoderSupport; -assert internalStatsSupport && (vp9DecoderSupport || vp9EncoderSupport) -> postprocSupport; -/* If spatialResamplingSupport not enabled, build will fail with undeclared variable errors. - Variables called in vpx_scale/generic/vpx_scale.c are declared by vpx_scale/vpx_scale_rtcd.pl, - but is only executed if spatialResamplingSupport is enabled */ -assert spatialResamplingSupport; -assert postprocVisualizerSupport -> postprocSupport; -assert unitTestsSupport -> curl != null && coreutils != null; -assert vp9HighbitdepthSupport -> (vp9DecoderSupport || vp9EncoderSupport); -assert isCygwin -> unitTestsSupport && webmIOSupport && libyuvSupport; - -stdenv.mkDerivation rec { - name = "libvpx-git-${version}"; - version = "2015-2-12"; - - src = fetchgit { - url = "https://chromium.googlesource.com/webm/libvpx"; - /* DO NOT under any circumstance ever just bump the git commit without - confirming changes have not been made to the configure system */ - rev = "f4c29ae9ea16c502c980a81ca9683327d5051929"; - sha256 = "1w17vpcy44wlpr2icbwhcf3mrinybwy0bhif30p707hbxfxrj474"; - }; - - patchPhase = ''patchShebangs .''; - - outputs = [ "bin" "dev" "out" ]; - setOutputFlags = false; - - configurePlatforms = []; - configureFlags = [ - (enableFeature (vp8EncoderSupport || vp8DecoderSupport) "vp8") - (enableFeature vp8EncoderSupport "vp8-encoder") - (enableFeature vp8DecoderSupport "vp8-decoder") - (enableFeature (vp9EncoderSupport || vp9DecoderSupport) "vp9") - (enableFeature vp9EncoderSupport "vp9-encoder") - (enableFeature vp9DecoderSupport "vp9-decoder") - (enableFeature extraWarningsSupport "extra-warnings") - (enableFeature werrorSupport "werror") - "--disable-install-docs" - (enableFeature examplesSupport "install-bins") - "--enable-install-libs" - "--disable-install-srcs" - (enableFeature debugSupport "debug") - (enableFeature gprofSupport "gprof") - (enableFeature gcovSupport "gcov") - # Required to build shared libraries - (enableFeature (!isCygwin) "pic") - (enableFeature (isi686 || isx86_64) "use-x86inc") - (enableFeature optimizationsSupport "optimizations") - (enableFeature runtimeCpuDetectSupport "runtime-cpu-detect") - (enableFeature thumbSupport "thumb") - "--enable-libs" - (enableFeature examplesSupport "examples") - "--disable-docs" - "--as=yasm" - # Limit default decoder max to WHXGA - (if sizeLimitSupport then "--size-limit=5120x3200" else null) - (enableFeature fastUnalignedSupport "fast-unaligned") - "--disable-codec-srcs" - (enableFeature debugLibsSupport "debug-libs") - (enableFeature isMips "dequant-tokens") - (enableFeature isMips "dc-recon") - (enableFeature postprocSupport "postproc") - (enableFeature (postprocSupport && (vp9DecoderSupport || vp9EncoderSupport)) "vp9-postproc") - (enableFeature multithreadSupport "multithread") - (enableFeature internalStatsSupport "internal-stats") - (enableFeature memTrackerSupport "mem-tracker") - (enableFeature spatialResamplingSupport "spatial-resampling") - (enableFeature realtimeOnlySupport "realtime-only") - (enableFeature ontheflyBitpackingSupport "onthefly-bitpacking") - (enableFeature errorConcealmentSupport "error-concealment") - # Shared libraries are only supported on ELF platforms - (if isDarwin || isCygwin then - "--enable-static --disable-shared" - else - "--disable-static --enable-shared") - (enableFeature smallSupport "small") - (enableFeature postprocVisualizerSupport "postproc-visualizer") - (enableFeature unitTestsSupport "unit-tests") - (enableFeature webmIOSupport "webm-io") - (enableFeature libyuvSupport "libyuv") - (enableFeature decodePerfTestsSupport "decode-perf-tests") - (enableFeature encodePerfTestsSupport "encode-perf-tests") - (enableFeature multiResEncodingSupport "multi-res-encoding") - (enableFeature temporalDenoisingSupport "temporal-denoising") - (enableFeature (temporalDenoisingSupport && (vp9DecoderSupport || vp9EncoderSupport)) "vp9-temporal-denoising") - (enableFeature coefficientRangeCheckingSupport "coefficient-range-checking") - (enableFeature (vp9HighbitdepthSupport && is64bit) "vp9-highbitdepth") - (enableFeature (experimentalSpatialSvcSupport || - experimentalFpMbStatsSupport || - experimentalEmulateHardwareSupport) "experimental") - ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ - #"--extra-cflags=" - #"--prefix=" - #"--libc=" - #"--libdir=" - "--enable-external-build" - # libvpx darwin targets include darwin version (ie. ARCH-darwinXX-gcc, XX being the darwin version) - # See all_platforms: https://github.com/webmproject/libvpx/blob/master/configure - # Darwin versions: 10.4=8, 10.5=9, 10.6=10, 10.7=11, 10.8=12, 10.9=13, 10.10=14 - "--force-target=${stdenv.hostPlatform.config}${ - if stdenv.hostPlatform.isDarwin then - if stdenv.hostPlatform.osxMinVersion == "10.10" then "14" - else if stdenv.hostPlatform.osxMinVersion == "10.9" then "13" - else if stdenv.hostPlatform.osxMinVersion == "10.8" then "12" - else if stdenv.hostPlatform.osxMinVersion == "10.7" then "11" - else if stdenv.hostPlatform.osxMinVersion == "10.6" then "10" - else if stdenv.hostPlatform.osxMinVersion == "10.5" then "9" - else "8" - else ""}-gcc" - (if stdenv.hostPlatform.isCygwin then "--enable-static-msvcrt" else "") - ] # Experimental features - ++ optional experimentalSpatialSvcSupport "--enable-spatial-svc" - ++ optional experimentalFpMbStatsSupport "--enable-fp-mb-stats" - ++ optional experimentalEmulateHardwareSupport "--enable-emulate-hardware"; - - nativeBuildInputs = [ perl yasm ]; - - buildInputs = [ ] - ++ optionals unitTestsSupport [ coreutils curl ]; - - enableParallelBuilding = true; - - postInstall = ''moveToOutput bin "$bin" ''; - - meta = with stdenv.lib; { - description = "WebM VP8/VP9 codec SDK"; - homepage = https://www.webmproject.org/; - license = licenses.bsd3; - maintainers = with maintainers; [ codyopel ]; - platforms = platforms.all; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3ddee7ddd154..e80f093195f8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11258,7 +11258,6 @@ with pkgs; libviper = callPackage ../development/libraries/libviper { }; libvpx = callPackage ../development/libraries/libvpx { }; - libvpx-git = callPackage ../development/libraries/libvpx/git.nix { }; libvterm = callPackage ../development/libraries/libvterm { }; libvterm-neovim = callPackage ../development/libraries/libvterm-neovim { }; From fc99c337edd29d9596379667063bc3a8f3cea5b3 Mon Sep 17 00:00:00 2001 From: Matthew Bauer <mjbauer95@gmail.com> Date: Tue, 20 Nov 2018 22:19:05 -0600 Subject: [PATCH 080/106] =?UTF-8?q?make-derivation:=20don=E2=80=99t=20disa?= =?UTF-8?q?llow=20propagated=20native=20inputs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit propagateNativeBuildInputs will end up going in the output derivation. This case is allowed to end up in references because of that. Sorry for the disruption! Fixes #50865 --- pkgs/stdenv/generic/make-derivation.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index a09123663127..60d6f1bd92cf 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -238,12 +238,12 @@ rec { # propagated dependencies here as well. disallowedReferences = (attrs.disallowedReferences or []) ++ (lib.subtractLists - (lib.concatLists ( (lib.elemAt propagatedDependencies 1) ++ + (lib.concatLists ((lib.elemAt propagatedDependencies 0) ++ + (lib.elemAt propagatedDependencies 1) ++ (lib.elemAt dependencies 1) ++ (lib.elemAt propagatedDependencies 2) ++ (lib.elemAt dependencies 2) ) ) - (lib.concatLists ( (lib.elemAt propagatedDependencies 0) ++ - (lib.elemAt dependencies 0) ) ) ); + (lib.concatLists ((lib.elemAt dependencies 0)) ) ); } // lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) { cmakeFlags = (/**/ if lib.isString cmakeFlags then [cmakeFlags] From 0b3f50f844e2a6b507b18d7c5259bb850b382f87 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" <ryantm-bot@ryantm.com> Date: Mon, 19 Nov 2018 04:11:14 -0800 Subject: [PATCH 081/106] kubetail: 1.6.4 -> 1.6.5 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/kubetail/versions --- pkgs/applications/networking/cluster/kubetail/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/kubetail/default.nix b/pkgs/applications/networking/cluster/kubetail/default.nix index 91f1d958ab61..38892cdf0396 100644 --- a/pkgs/applications/networking/cluster/kubetail/default.nix +++ b/pkgs/applications/networking/cluster/kubetail/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { name = "kubetail-${version}"; - version = "1.6.4"; + version = "1.6.5"; src = fetchFromGitHub { owner = "johanhaleby"; repo = "kubetail"; rev = "${version}"; - sha256 = "13y3g27z2v4jx1cvphcwl0a5xshm6vcqcxasid5sbg6cpwc2xc66"; + sha256 = "0q8had1bi1769wd6h1c43gq0cvr5qj1fvyglizlyq1gm8qi2dx7n"; }; installPhase = '' From 3cc83dffca97e1da710ccc90777b3d3961ab3230 Mon Sep 17 00:00:00 2001 From: Eric Wolf <ericwolf42@gmail.com> Date: Sun, 18 Nov 2018 00:03:32 +0100 Subject: [PATCH 082/106] lib/fixed-points.nix: add an example for extends - helped me understand how extends works, hopefully it can help others too --- lib/fixed-points.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/fixed-points.nix b/lib/fixed-points.nix index 13e053b5aa7d..7169c46fcbbc 100644 --- a/lib/fixed-points.nix +++ b/lib/fixed-points.nix @@ -41,6 +41,18 @@ rec { # think of it as an infix operator `g extends f` that mimics the syntax from # Java. It may seem counter-intuitive to have the "base class" as the second # argument, but it's nice this way if several uses of `extends` are cascaded. + # + # To get a better understanding how `extends` turns a function with a fix + # point (the package set we start with) into a new function with a different fix + # point (the desired packages set) lets just see, how `extends g f` + # unfolds with `g` and `f` defined above: + # + # extends g f = self: let super = f self; in super // g self super; + # = self: let super = { foo = "foo"; bar = "bar"; foobar = self.foo + self.bar; }; in super // g self super + # = self: { foo = "foo"; bar = "bar"; foobar = self.foo + self.bar; } // g self { foo = "foo"; bar = "bar"; foobar = self.foo + self.bar; } + # = self: { foo = "foo"; bar = "bar"; foobar = self.foo + self.bar; } // { foo = "foo" + " + "; } + # = self: { foo = "foo + "; bar = "bar"; foobar = self.foo + self.bar; } + # extends = f: rattrs: self: let super = rattrs self; in super // f self super; # Compose two extending functions of the type expected by 'extends' From 2f4037f62b7b5048c8338ee2df346fc92dbba979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> Date: Tue, 20 Nov 2018 13:33:14 +0000 Subject: [PATCH 083/106] blsd: fix cross-compilation --- pkgs/tools/misc/blsd/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/blsd/default.nix b/pkgs/tools/misc/blsd/default.nix index c44967d36204..8e3e08fb5e55 100644 --- a/pkgs/tools/misc/blsd/default.nix +++ b/pkgs/tools/misc/blsd/default.nix @@ -15,7 +15,8 @@ buildGoPackage rec { goDeps = ./deps.nix; - nativeBuildInputs = [ pkgconfig libgit2 ]; + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ libgit2 ]; meta = with stdenv.lib; { homepage = https://github.com/junegunn/blsd; From a4f37346e7fc4c67e73b3d7733f59dfdf99dce2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> Date: Tue, 20 Nov 2018 09:38:07 +0000 Subject: [PATCH 084/106] go_1_11: update outdated meta.branch --- pkgs/development/compilers/go/1.11.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/go/1.11.nix b/pkgs/development/compilers/go/1.11.nix index 7ae372140963..30875cfeed81 100644 --- a/pkgs/development/compilers/go/1.11.nix +++ b/pkgs/development/compilers/go/1.11.nix @@ -184,7 +184,7 @@ stdenv.mkDerivation rec { disallowedReferences = [ go_bootstrap ]; meta = with stdenv.lib; { - branch = "1.9"; + branch = "1.11"; homepage = http://golang.org/; description = "The Go Programming language"; license = licenses.bsd3; From ebe6575b4321704c984c6bf9d488fe8ed2afec2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> Date: Wed, 21 Nov 2018 17:51:29 +0000 Subject: [PATCH 085/106] go_1_10: update outdated meta.branch --- pkgs/development/compilers/go/1.10.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/go/1.10.nix b/pkgs/development/compilers/go/1.10.nix index 163577935839..832c020c40de 100644 --- a/pkgs/development/compilers/go/1.10.nix +++ b/pkgs/development/compilers/go/1.10.nix @@ -174,7 +174,7 @@ stdenv.mkDerivation rec { disallowedReferences = [ go_bootstrap ]; meta = with stdenv.lib; { - branch = "1.9"; + branch = "1.10"; homepage = http://golang.org/; description = "The Go Programming language"; license = licenses.bsd3; From fcac08f565320eca0e6b7112ee986672b34fcfa6 Mon Sep 17 00:00:00 2001 From: Daniel Sandbecker <> Date: Wed, 21 Nov 2018 20:02:14 +0100 Subject: [PATCH 086/106] xsv: Pass Security framework from all-packages --- pkgs/tools/text/xsv/default.nix | 4 ++-- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/text/xsv/default.nix b/pkgs/tools/text/xsv/default.nix index 539ec9bd0403..79954b15a82c 100644 --- a/pkgs/tools/text/xsv/default.nix +++ b/pkgs/tools/text/xsv/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform, pkgs }: +{ stdenv, fetchFromGitHub, rustPlatform, Security }: rustPlatform.buildRustPackage rec { name = "xsv-${version}"; @@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "1qk5wkjm3d4dz5fldlq7rjlm602v0l04hxrbar2j6vhcz9w2r4n6"; - buildInputs = stdenv.lib.optional stdenv.isDarwin pkgs.darwin.Security; + buildInputs = stdenv.lib.optional stdenv.isDarwin Security; meta = with stdenv.lib; { description = "A fast CSV toolkit written in Rust"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e18df951a22d..c6b4a8487c1c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6341,7 +6341,9 @@ with pkgs; xsel = callPackage ../tools/misc/xsel { }; - xsv = callPackage ../tools/text/xsv { }; + xsv = callPackage ../tools/text/xsv { + inherit (darwin.apple_sdk.frameworks) Security; + }; xtreemfs = callPackage ../tools/filesystems/xtreemfs { boost = boost165; From c7c021757bc5694bc0ab5ce2b470a8da46a86659 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" <ryantm-bot@ryantm.com> Date: Wed, 21 Nov 2018 11:23:41 -0800 Subject: [PATCH 087/106] linuxPackages.evdi: 1.5.0.2 -> 1.5.1 * linuxPackages.evdi: 1.5.0.2 -> 1.5.1 (#50754) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/evdi/versions * evdi: refresh meta Licenses : lib is LGPL-2.1-only while module is GPL-2.0-only Supported kernel versions: builds with 4.15 / 4.16 / 4.17 since commit 90c26648acbe9a2f7ce4e0331e39045819323bf2 --- pkgs/os-specific/linux/evdi/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/evdi/default.nix b/pkgs/os-specific/linux/evdi/default.nix index 3c7e2f98b890..999b1a12bbc2 100644 --- a/pkgs/os-specific/linux/evdi/default.nix +++ b/pkgs/os-specific/linux/evdi/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { name = "evdi-${version}"; - version = "1.5.0.2"; + version = "1.5.1"; src = fetchFromGitHub { owner = "DisplayLink"; repo = "evdi"; rev = "v${version}"; - sha256 = "1wjk023lpjxnspfl34c6rzkrixahfdzdkmc3hnmrdw12s3i6ca5x"; + sha256 = "0jy0ia5fsx54d2wv4d2jqnc8rc5x16781a3bcb857apc47zr387h"; }; nativeBuildInputs = kernel.moduleBuildDependencies; @@ -27,8 +27,8 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Extensible Virtual Display Interface"; platforms = platforms.linux; - license = licenses.gpl2; - homepage = http://www.displaylink.com/; - broken = versionOlder kernel.version "4.9" || versionAtLeast kernel.version "4.15" || stdenv.isAarch64; + license = with licenses; [ lgpl21 gpl2 ]; + homepage = https://www.displaylink.com/; + broken = versionOlder kernel.version "4.9" || versionAtLeast kernel.version "4.18" || stdenv.isAarch64; }; } From a40fa7c046003e170850681e695649593512a509 Mon Sep 17 00:00:00 2001 From: Vladyslav Mykhailichenko <dywedir@pm.me> Date: Wed, 21 Nov 2018 23:19:24 +0200 Subject: [PATCH 088/106] oxipng: 2.1.0 -> 2.1.6 --- pkgs/tools/graphics/oxipng/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/graphics/oxipng/default.nix b/pkgs/tools/graphics/oxipng/default.nix index 4c565e91a4de..c5737554b777 100644 --- a/pkgs/tools/graphics/oxipng/default.nix +++ b/pkgs/tools/graphics/oxipng/default.nix @@ -1,26 +1,26 @@ { stdenv, fetchFromGitHub, rustPlatform }: rustPlatform.buildRustPackage rec { - version = "2.1.0"; + version = "2.1.6"; name = "oxipng-${version}"; src = fetchFromGitHub { owner = "shssoichiro"; repo = "oxipng"; rev = "v${version}"; - sha256 = "13rzkfb025y4i9dj66fgc74whgs90gyw861dccsj16cpfl6kh5z0"; + sha256 = "0n3v2dxybfkf07hb4p2hbhhkwx907b85wzj8wa4whwil89igyrdm"; }; - cargoSha256 = "0l6ad8rnifd5hkv6x2cr0frdddsfwm1xd1v56imlglsjkgz56cva"; + cargoSha256 = "1ycacwhwbn27i81jpp55m1446b9a50knlqv0kzkjcv8yf27213y9"; meta = with stdenv.lib; { homepage = https://github.com/shssoichiro/oxipng; - description = "A lossless PNG compression optimizer"; + description = "A multithreaded lossless PNG compression optimizer"; license = licenses.mit; maintainers = with maintainers; [ dywedir ]; platforms = platforms.all; - # macro is_arm_feature_detected! is unstable + # Needs newer/unstable rust: error[E0658]: macro is_arm_feature_detected! is unstable broken = stdenv.isAarch64; }; } From 28b4b4b1e49309e465e0c35adb655007a08c2f23 Mon Sep 17 00:00:00 2001 From: Will Dietz <w@wdtz.org> Date: Tue, 30 Oct 2018 17:14:31 -0500 Subject: [PATCH 089/106] libgit2: 0.26.6 -> 0.26.8 0.26.7 is a security fix release 0.26.8 is a security fix release Notes: https://github.com/libgit2/libgit2/releases/tag/v0.26.8 https://github.com/libgit2/libgit2/releases/tag/v0.26.7 --- pkgs/development/libraries/git2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/git2/default.nix b/pkgs/development/libraries/git2/default.nix index 48d595137b3d..925e253b606f 100644 --- a/pkgs/development/libraries/git2/default.nix +++ b/pkgs/development/libraries/git2/default.nix @@ -5,14 +5,14 @@ stdenv.mkDerivation (rec { name = "libgit2-${version}"; - version = "0.26.6"; + version = "0.26.8"; # keep the version in sync with pythonPackages.pygit2 and gnome3.libgit2-glib src = fetchFromGitHub { owner = "libgit2"; repo = "libgit2"; rev = "v${version}"; - sha256 = "17pjvprmdrx4h6bb1hhc98w9qi6ki7yl57f090n9kbhswxqfs7s3"; + sha256 = "0wmjgvz8nrpk2dsn5bcc87nl0j5hb6pah2hzrj0b6jkk9mnin9fl"; }; cmakeFlags = [ "-DTHREADSAFE=ON" ]; From a5c19d3b891905c4a3dd75445526e843b86d2ebe Mon Sep 17 00:00:00 2001 From: Will Dietz <w@wdtz.org> Date: Tue, 30 Oct 2018 17:28:07 -0500 Subject: [PATCH 090/106] pygit2: 0.26.4 -> 0.27.2 * match major libgit2 version * upstream patch to remove unnecessary requirement --- .../python-modules/pygit2/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pygit2/default.nix b/pkgs/development/python-modules/pygit2/default.nix index 72e09bf98f92..23d90ebce2ad 100644 --- a/pkgs/development/python-modules/pygit2/default.nix +++ b/pkgs/development/python-modules/pygit2/default.nix @@ -1,19 +1,25 @@ -{ stdenv, lib, buildPythonPackage, fetchPypi, isPyPy, libgit2, six, cffi }: +{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, isPyPy, libgit2_0_27, six, cffi, pycparser }: buildPythonPackage rec { pname = "pygit2"; - version = "0.26.4"; + version = "0.27.2"; src = fetchPypi { inherit pname version; - sha256 = "a8a0ecce4aadac2675afa5bcda0f698bfe39ec61ac1e15b9264704d1b41bb390"; + sha256 = "0d9bgxd6ch5jxz0j5cmx7c4kw933g8pgm2zxf3id1a6w9g2r7hpw"; }; preConfigure = lib.optionalString stdenv.isDarwin '' - export DYLD_LIBRARY_PATH="${libgit2}/lib" + export DYLD_LIBRARY_PATH="${libgit2_0_27}/lib" ''; - propagatedBuildInputs = [ libgit2 six ] ++ lib.optional (!isPyPy) cffi; + patches = [ (fetchpatch { + name = "dont-require-old-pycparser"; # https://github.com/libgit2/pygit2/issues/819 + url = https://github.com/libgit2/pygit2/commit/1eaba181577de206d3d43ec7886d0353fc0c9f2a.patch; + sha256 = "18x1fpmywhjjr4lvakwmy34zpxfqi8pqqj48g1wcib39lh3s7l4f"; + }) ]; + + propagatedBuildInputs = [ libgit2_0_27 six pycparser ] ++ lib.optional (!isPyPy) cffi; preCheck = '' # disable tests that require networking From 8a3693b20783b5faead6988b643015ec1efaa9d2 Mon Sep 17 00:00:00 2001 From: Will Dietz <w@wdtz.org> Date: Tue, 30 Oct 2018 17:28:53 -0500 Subject: [PATCH 091/106] pygit2: drop pycparser now, no longer needed at any version apparently --- pkgs/development/python-modules/pygit2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pygit2/default.nix b/pkgs/development/python-modules/pygit2/default.nix index 23d90ebce2ad..2334e4a3431b 100644 --- a/pkgs/development/python-modules/pygit2/default.nix +++ b/pkgs/development/python-modules/pygit2/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, isPyPy, libgit2_0_27, six, cffi, pycparser }: +{ stdenv, lib, buildPythonPackage, fetchPypi, fetchpatch, isPyPy, libgit2_0_27, six, cffi }: buildPythonPackage rec { pname = "pygit2"; @@ -19,7 +19,7 @@ buildPythonPackage rec { sha256 = "18x1fpmywhjjr4lvakwmy34zpxfqi8pqqj48g1wcib39lh3s7l4f"; }) ]; - propagatedBuildInputs = [ libgit2_0_27 six pycparser ] ++ lib.optional (!isPyPy) cffi; + propagatedBuildInputs = [ libgit2_0_27 six ] ++ lib.optional (!isPyPy) cffi; preCheck = '' # disable tests that require networking From eeec5612b4487155df55534957f7d045e55f867c Mon Sep 17 00:00:00 2001 From: worldofpeace <worldofpeace@users.noreply.github.com> Date: Wed, 21 Nov 2018 17:05:20 -0500 Subject: [PATCH 092/106] fpart: 1.0.0 -> 1.1.0 Also use `fetchFromGitHub` for fetch so we can use https. --- pkgs/tools/misc/fpart/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/misc/fpart/default.nix b/pkgs/tools/misc/fpart/default.nix index 394310e572dd..f75dfec5e562 100644 --- a/pkgs/tools/misc/fpart/default.nix +++ b/pkgs/tools/misc/fpart/default.nix @@ -1,14 +1,18 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchFromGitHub, autoreconfHook }: stdenv.mkDerivation rec { name = "fpart-${version}"; - version = "1.0.0"; + version = "1.1.0"; - src = fetchurl { - url = "http://contribs.martymac.org/fpart/${name}.tar.gz"; - sha256 = "1p0ajmry18lcg82znfp8nxs4w3izic775l7df08hywlq4vfa66pg"; + src = fetchFromGitHub { + owner = "martymac"; + repo = "fpart"; + rev = name; + sha256 = "0h3mqc1xj5j2z8s8g3pvvpbjs6x74dj8niyh3p2ymla35kbzskf4"; }; + nativeBuildInputs = [ autoreconfHook ]; + postInstall = '' sed "s|^FPART_BIN=.*|FPART_BIN=\"$out/bin/fpart\"|" \ -i "$out/bin/fpsync" From 0028f5de89abf1506b94e9d16bba562b93236ab5 Mon Sep 17 00:00:00 2001 From: Renaud <c0bw3b@users.noreply.github.com> Date: Wed, 21 Nov 2018 23:44:59 +0100 Subject: [PATCH 093/106] uwsgi: build with PCRE support (#50896) (#50896) --- pkgs/servers/uwsgi/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/uwsgi/default.nix b/pkgs/servers/uwsgi/default.nix index 4045db5e5f22..dd397598c97b 100644 --- a/pkgs/servers/uwsgi/default.nix +++ b/pkgs/servers/uwsgi/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, pkgconfig, jansson +{ stdenv, lib, fetchurl, pkgconfig, jansson, pcre # plugins: list of strings, eg. [ "python2" "python3" ] , plugins , pam, withPAM ? false @@ -58,7 +58,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ python3 pkgconfig ]; - buildInputs = [ jansson ] + buildInputs = [ jansson pcre ] ++ lib.optional withPAM pam ++ lib.optional withSystemd systemd ++ lib.concatMap (x: x.inputs) needed @@ -92,7 +92,7 @@ stdenv.mkDerivation rec { NIX_CFLAGS_LINK = [ "-lsystemd" ] ++ lib.concatMap (x: x.NIX_CFLAGS_LINK or []) needed; meta = with stdenv.lib; { - homepage = http://uwsgi-docs.readthedocs.org/en/latest/; + homepage = https://uwsgi-docs.readthedocs.org/en/latest/; description = "A fast, self-healing and developer/sysadmin-friendly application container server coded in pure C"; license = licenses.gpl2; maintainers = with maintainers; [ abbradar schneefux ]; From 46a652e7e38d697128c7aaf73acb909629fa98e9 Mon Sep 17 00:00:00 2001 From: "Wael M. Nasreddine" <wael.nasreddine@gmail.com> Date: Tue, 20 Nov 2018 14:13:22 -0800 Subject: [PATCH 094/106] wtf: init at 0.4.0 --- pkgs/applications/misc/wtf/default.nix | 28 ++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/misc/wtf/default.nix diff --git a/pkgs/applications/misc/wtf/default.nix b/pkgs/applications/misc/wtf/default.nix new file mode 100644 index 000000000000..a01cef9227bf --- /dev/null +++ b/pkgs/applications/misc/wtf/default.nix @@ -0,0 +1,28 @@ +{ buildGoPackage +, fetchFromGitHub +, lib +}: + +buildGoPackage rec { + name = "wtf-${version}"; + version = "0.4.0"; + + goPackagePath = "github.com/senorprogrammer/wtf"; + + src = fetchFromGitHub { + owner = "senorprogrammer"; + repo = "wtf"; + rev = "${version}"; + sha256 = "1vgjqmw27baiq9brmnafic3w3hw11p5qc6ahbdxi5n5n4bx7j6vn"; + }; + + buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ]; + + meta = with lib; { + description = "The personal information dashboard for your terminal"; + homepage = http://wtfutil.com/; + license = licenses.mpl20; + maintainers = with maintainers; [ kalbasit ]; + platforms = platforms.linux ++ platforms.darwin; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e3f6f5f32253..89a2981b0d4c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22868,6 +22868,8 @@ with pkgs; zimg = callPackage ../development/libraries/zimg { }; + wtf = callPackage ../applications/misc/wtf { }; + zk-shell = callPackage ../applications/misc/zk-shell { }; zuki-themes = callPackage ../misc/themes/zuki { }; From 769735d8a169c2aa3393d614c948af585783a802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io> Date: Wed, 21 Nov 2018 22:58:02 +0000 Subject: [PATCH 095/106] netdata: create missing /etc/netdata Since netdata 1.11.0 updated in https://github.com/NixOS/nixpkgs/pull/50459 it needs to have a /etc/netdata directory, which we did not create by default. fixes #50893 --- nixos/modules/services/monitoring/netdata.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix index 7715e291d323..4873ab1fc608 100644 --- a/nixos/modules/services/monitoring/netdata.nix +++ b/nixos/modules/services/monitoring/netdata.nix @@ -99,19 +99,23 @@ in { message = "Cannot specify both config and configText"; } ]; + + systemd.tmpfiles.rules = [ + "d /var/cache/netdata 0755 ${cfg.user} ${cfg.group} -" + "Z /var/cache/netdata - ${cfg.user} ${cfg.group} -" + "d /var/log/netdata 0755 ${cfg.user} ${cfg.group} -" + "Z /var/log/netdata - ${cfg.user} ${cfg.group} -" + "d /var/lib/netdata 0755 ${cfg.user} ${cfg.group} -" + "Z /var/lib/netdata - ${cfg.user} ${cfg.group} -" + "d /etc/netdata 0755 ${cfg.user} ${cfg.group} -" + "Z /etc/netdata - ${cfg.user} ${cfg.group} -" + ]; systemd.services.netdata = { description = "Real time performance monitoring"; after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; path = (with pkgs; [ gawk curl ]) ++ lib.optional cfg.python.enable (pkgs.python3.withPackages cfg.python.extraPackages); - preStart = concatStringsSep "\n" (map (dir: '' - mkdir -vp ${dir} - chmod 750 ${dir} - chown -R ${cfg.user}:${cfg.group} ${dir} - '') [ "/var/cache/netdata" - "/var/log/netdata" - "/var/lib/netdata" ]); serviceConfig = { User = cfg.user; Group = cfg.group; From bc62154bfda5e836158638ad505e55222dce93be Mon Sep 17 00:00:00 2001 From: Spiros Boosalis <samboosalis@gmail.com> Date: Wed, 21 Nov 2018 15:11:33 -0800 Subject: [PATCH 096/106] maintainer: add sboosali (#50890) --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index ea4cd3fdf835..c391832a37c5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3841,6 +3841,11 @@ github = "sauyon"; name = "Sauyon Lee"; }; + sboosali = { + email = "SamBoosalis@gmail.com"; + github = "sboosali"; + name = "Sam Boosalis"; + }; schmitthenner = { email = "development@schmitthenner.eu"; github = "fkz"; From 35f74c36082027f6d02b9a0f907865e333cb47bb Mon Sep 17 00:00:00 2001 From: Matthieu Coudron <coudron@iij.ad.jp> Date: Thu, 22 Nov 2018 08:33:10 +0900 Subject: [PATCH 097/106] mininet: init at 2.3.0d4 (#41261) Mininet (https://github.com/mininet/mininet) is a popular network emulator that glues several components such as network namespaces, traffic control commands into a set of python bindings. It is then "easy" to describe a topology and run experiments on it. --- nixos/modules/module-list.nix | 1 + nixos/modules/programs/mininet.nix | 39 +++++++++++++++ pkgs/tools/virtualization/mininet/default.nix | 48 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + pkgs/top-level/python-packages.nix | 2 + 5 files changed, 92 insertions(+) create mode 100644 nixos/modules/programs/mininet.nix create mode 100644 pkgs/tools/virtualization/mininet/default.nix diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 7327d4ac4dfd..ae5084ca2a2a 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -103,6 +103,7 @@ ./programs/less.nix ./programs/light.nix ./programs/mosh.nix + ./programs/mininet.nix ./programs/mtr.nix ./programs/nano.nix ./programs/npm.nix diff --git a/nixos/modules/programs/mininet.nix b/nixos/modules/programs/mininet.nix new file mode 100644 index 000000000000..ecc924325e6b --- /dev/null +++ b/nixos/modules/programs/mininet.nix @@ -0,0 +1,39 @@ +# Global configuration for mininet +# kernel must have NETNS/VETH/SCHED +{ config, lib, pkgs, ... }: + +with lib; + +let + cfg = config.programs.mininet; + + generatedPath = with pkgs; makeSearchPath "bin" [ + iperf ethtool iproute socat + ]; + + pyEnv = pkgs.python.withPackages(ps: [ ps.mininet-python ]); + + mnexecWrapped = pkgs.runCommand "mnexec-wrapper" + { buildInputs = [ pkgs.makeWrapper pkgs.pythonPackages.wrapPython ]; } + '' + makeWrapper ${pkgs.mininet}/bin/mnexec \ + $out/bin/mnexec \ + --prefix PATH : "${generatedPath}" + + ln -s ${pyEnv}/bin/mn $out/bin/mn + + # mn errors out without a telnet binary + # pkgs.telnet brings an undesired ifconfig into PATH see #43105 + ln -s ${pkgs.telnet}/bin/telnet $out/bin/telnet + ''; +in +{ + options.programs.mininet.enable = mkEnableOption "Mininet"; + + config = mkIf cfg.enable { + + virtualisation.vswitch.enable = true; + + environment.systemPackages = [ mnexecWrapped ]; + }; +} diff --git a/pkgs/tools/virtualization/mininet/default.nix b/pkgs/tools/virtualization/mininet/default.nix new file mode 100644 index 000000000000..a2f4b1650876 --- /dev/null +++ b/pkgs/tools/virtualization/mininet/default.nix @@ -0,0 +1,48 @@ +{ stdenv, lib, fetchFromGitHub +, which +, python +, help2man +}: + +let + pyEnv = python.withPackages(ps: [ ps.setuptools ]); +in +stdenv.mkDerivation rec { + name = "mininet-${version}"; + version = "2.3.0d4"; + + outputs = [ "out" "py" ]; + + src = fetchFromGitHub { + owner = "mininet"; + repo = "mininet"; + rev = version; + sha256 = "02hsqa7r5ykj8m1ycl32xwn1agjrw78wkq87xif0dl2vkzln41i4"; + }; + + buildFlags = [ "mnexec" ]; + makeFlags = [ "PREFIX=$(out)" ]; + + pythonPath = [ python.pkgs.setuptools ]; + buildInputs = [ python which help2man ]; + + installTargets = [ "install-mnexec" "install-manpages" ]; + + preInstall = '' + mkdir -p $out $py + # without --root, install fails + ${pyEnv.interpreter} setup.py install --root="/" --prefix=$py + ''; + + doCheck = false; + + + meta = with lib; { + description = "Emulator for rapid prototyping of Software Defined Networks"; + license = { + fullName = "Mininet 2.3.0d4 License"; + }; + homepage = https://github.com/mininet/mininet; + maintainers = with maintainers; [ teto ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 507e250f6436..67cce126330f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21734,6 +21734,8 @@ with pkgs; scotch = callPackage ../applications/science/math/scotch { }; + mininet = callPackage ../tools/virtualization/mininet { }; + msieve = callPackage ../applications/science/math/msieve { }; weka = callPackage ../applications/science/math/weka { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9019e28b724b..726c6f3b58b4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -422,6 +422,8 @@ in { monty = callPackage ../development/python-modules/monty { }; + mininet-python = (toPythonModule (pkgs.mininet.override{ inherit python; })).py; + mpi4py = callPackage ../development/python-modules/mpi4py { mpi = pkgs.openmpi; }; From 97d85b839a2d9abd6a30965bfb32e54f83871bcb Mon Sep 17 00:00:00 2001 From: Corey O'Connor <coreyoconnor@gmail.com> Date: Sun, 18 Nov 2018 16:10:07 -0800 Subject: [PATCH 098/106] traverso: init at 0.49.5 --- pkgs/applications/audio/traverso/default.nix | 31 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/applications/audio/traverso/default.nix diff --git a/pkgs/applications/audio/traverso/default.nix b/pkgs/applications/audio/traverso/default.nix new file mode 100644 index 000000000000..9729b136d905 --- /dev/null +++ b/pkgs/applications/audio/traverso/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchurl, cmake, pkgconfig +, alsaLib, fftw, flac, lame, libjack2, libmad, libpulseaudio +, libsamplerate, libsndfile, libvorbis, portaudio, qtbase, wavpack +}: +stdenv.mkDerivation rec { + name = "traverso-${version}"; + version = "0.49.5"; + + src = fetchurl { + url = "http://traverso-daw.org/traverso-0.49.5.tar.gz"; + sha256 = "169dsqrf807ciavrd82d3iil0xy0r3i1js08xshcrn80ws9hv63m"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ alsaLib fftw flac.dev libjack2 lame + libmad libpulseaudio libsamplerate.dev libsndfile.dev libvorbis + portaudio qtbase wavpack ]; + + cmakeFlags = [ "-DWANT_PORTAUDIO=1" "-DWANT_PULSEAUDIO=1" "-DWANT_MP3_ENCODE=1" "-DWANT_LV2=0" ]; + + enableParallelBuilding = true; + hardeningDisable = [ "format" ]; + + meta = with stdenv.lib; { + description = "Cross-platform multitrack audio recording and audio editing suite"; + homepage = http://traverso-daw.org/; + license = with licenses; [ gpl2Plus lgpl21Plus ]; + platforms = platforms.all; + maintainers = with maintainers; [ coconnor ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 67cce126330f..8f212ff7aba6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19387,6 +19387,8 @@ with pkgs; transgui = callPackage ../applications/networking/p2p/transgui { }; + traverso = libsForQt5.callPackage ../applications/audio/traverso { }; + trayer = callPackage ../applications/window-managers/trayer { }; tree = callPackage ../tools/system/tree {}; From 91d6c9111e2eaa86b992caee7fa03e8e08951fb6 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin <dmitry.kalinkin@gmail.com> Date: Wed, 21 Nov 2018 19:39:23 -0500 Subject: [PATCH 099/106] herwig: broken on aarch64 --- pkgs/development/libraries/physics/herwig/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/physics/herwig/default.nix b/pkgs/development/libraries/physics/herwig/default.nix index 88a565f3b1b7..722dccaea7be 100644 --- a/pkgs/development/libraries/physics/herwig/default.nix +++ b/pkgs/development/libraries/physics/herwig/default.nix @@ -31,5 +31,6 @@ stdenv.mkDerivation rec { homepage = https://herwig.hepforge.org/; platforms = stdenv.lib.platforms.unix; maintainers = with stdenv.lib.maintainers; [ veprbl ]; + broken = stdenv.isAarch64; # doesn't compile: ignoring return value of 'FILE* freopen... }; } From c605b986374f379010eb131db9c270b5f856e7f4 Mon Sep 17 00:00:00 2001 From: Tim Steinbach <tim@nequissimus.com> Date: Tue, 20 Nov 2018 17:02:24 -0500 Subject: [PATCH 100/106] miniserve: init at 0.2.1 --- pkgs/tools/misc/miniserve/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/tools/misc/miniserve/default.nix diff --git a/pkgs/tools/misc/miniserve/default.nix b/pkgs/tools/misc/miniserve/default.nix new file mode 100644 index 000000000000..ce157f30cd04 --- /dev/null +++ b/pkgs/tools/misc/miniserve/default.nix @@ -0,0 +1,25 @@ +{ stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib }: + +rustPlatform.buildRustPackage rec { + name = "miniserve-${version}"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "svenstaro"; + repo = "miniserve"; + rev = "v${version}"; + sha256 = "1g8ggqs4fyscb1r98qj22f61jgkqnr4vdyps0drrvydl9lafdmpl"; + }; + + cargoSha256 = "18wyr0q5pkxds5hrl4g3mqmk46mr0nvs0id94aiw87729ly4vi8c"; + + nativeBuildInputs = [ cmake pkgconfig zlib ]; + + meta = with stdenv.lib; { + description = "For when you really just want to serve some files over HTTP right now!"; + homepage = https://github.com/svenstaro/miniserve; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ nequissimus ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 67cce126330f..d4df32ddeab2 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1520,6 +1520,8 @@ with pkgs; metabase = callPackage ../servers/metabase { }; + miniserve = callPackage ../tools/misc/miniserve { }; + mkspiffs = callPackage ../tools/filesystems/mkspiffs { }; mkspiffs-presets = recurseIntoAttrs (callPackages ../tools/filesystems/mkspiffs/presets.nix { }); From 823cd6e8ffc5c7247488e996a5993954ea3d94a7 Mon Sep 17 00:00:00 2001 From: Tim Steinbach <tim@nequissimus.com> Date: Mon, 19 Nov 2018 19:37:44 -0500 Subject: [PATCH 101/106] termonad: Add wrapper --- pkgs/applications/misc/termonad/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/applications/misc/termonad/default.nix diff --git a/pkgs/applications/misc/termonad/default.nix b/pkgs/applications/misc/termonad/default.nix new file mode 100644 index 000000000000..4388cbcfb441 --- /dev/null +++ b/pkgs/applications/misc/termonad/default.nix @@ -0,0 +1,19 @@ +{ stdenv, ghcWithPackages, makeWrapper, packages ? (pkgSet: []) }: + +let + termonadEnv = ghcWithPackages (self: [ self.termonad ] ++ packages self); +in stdenv.mkDerivation { + name = "termonad-with-packages-${termonadEnv.version}"; + + nativeBuildInputs = [ makeWrapper ]; + + buildCommand = '' + mkdir -p $out/bin $out/share + makeWrapper ${termonadEnv}/bin/termonad $out/bin/termonad \ + --set NIX_GHC "${termonadEnv}/bin/ghc" + ''; + + # trivial derivation + preferLocalBuild = true; + allowSubstitutes = false; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d4df32ddeab2..fc3ef40479d7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20019,6 +20019,10 @@ with pkgs; inherit (gnome3) gsettings-desktop-schemas vte; }; + termonad-with-packages = callPackage ../applications/misc/termonad { + inherit (haskellPackages) ghcWithPackages; + }; + xtrace = callPackage ../tools/X11/xtrace { }; xmacro = callPackage ../tools/X11/xmacro { }; From 6aacd9c08e463aef5630d5be50c67dc95c3c5117 Mon Sep 17 00:00:00 2001 From: Aleksey Uimanov <s9gf4ult@gmail.com> Date: Sun, 18 Nov 2018 19:41:11 +0500 Subject: [PATCH 102/106] mindforger: init at 1.48.2 --- .../editors/mindforger/build.patch | 91 +++++++++++++++++++ .../editors/mindforger/default.nix | 45 +++++++++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 138 insertions(+) create mode 100644 pkgs/applications/editors/mindforger/build.patch create mode 100644 pkgs/applications/editors/mindforger/default.nix diff --git a/pkgs/applications/editors/mindforger/build.patch b/pkgs/applications/editors/mindforger/build.patch new file mode 100644 index 000000000000..e2745cbce2d0 --- /dev/null +++ b/pkgs/applications/editors/mindforger/build.patch @@ -0,0 +1,91 @@ +diff --git a/app/app.pro b/app/app.pro +index 4d47065..a39a320 100644 +--- a/app/app.pro ++++ b/app/app.pro +@@ -18,6 +18,8 @@ + TARGET = mindforger + TEMPLATE = app + ++include(../config.pri) ++ + QT += widgets + + mfner { +@@ -297,7 +299,7 @@ RESOURCES += \ + # See http://doc.qt.io/qt-5/qmake-advanced-usage.html + + binfile.files += mindforger +-binfile.path = /usr/bin/ ++binfile.path = $$PREFIX/bin/ + INSTALLS += binfile + + # ######################################## +diff --git a/config.pri b/config.pri +new file mode 100644 +index 0000000..ce05df1 +--- /dev/null ++++ b/config.pri +@@ -0,0 +1,3 @@ ++isEmpty(PREFIX) { ++ PREFIX = /usr ++} +diff --git a/deps/discount/discount.pro b/deps/discount/discount.pro +index a8dfe35..ec16468 100644 +--- a/deps/discount/discount.pro ++++ b/deps/discount/discount.pro +@@ -5,6 +5,8 @@ + # Webpage: http://www.pell.portland.or.us/~orc/Code/discount/ + # + ++include(../../config.pri) ++ + QT -= core gui + + TARGET = discount +@@ -46,7 +48,7 @@ unix:!symbian { + maemo5 { + target.path = /opt/usr/lib + } else { +- target.path = /usr/lib ++ target.path = $$PREFIX/lib + } + INSTALLS += target + } +diff --git a/mindforger.pro b/mindforger.pro +index ae627f2..0953856 100644 +--- a/mindforger.pro ++++ b/mindforger.pro +@@ -32,6 +32,8 @@ TEMPLATE = subdirs + + SUBDIRS = deps lib app + ++include(config.pri) ++ + # build dependencies + lib.depends = deps + app.depends = lib +@@ -44,20 +46,20 @@ app.depends = lib + #IMPORTANT: binfile MUST be specified in app/app.pro (project next to/that builds binary) + + docfiles.files += doc/* +-docfiles.path = /usr/share/doc/mindforger/ ++docfiles.path = $$PREFIX/share/doc/mindforger/ + INSTALLS += docfiles + + manfiles.files += man/* +-manfiles.path = /usr/share/man/man1/ ++manfiles.path = $$PREFIX/share/man/man1/ + INSTALLS += manfiles + + iconfiles.files += app/resources/icons/* +-iconfiles.path = /usr/share/icons/mindforger/ ++iconfiles.path = $$PREFIX/share/icons/mindforger/ + INSTALLS += iconfiles + + # experiment w/ file + shortcutfiles.files += app/resources/gnome-shell/mindforger.desktop +-shortcutfiles.path = /usr/share/applications/ ++shortcutfiles.path = $$PREFIX/share/applications/ + INSTALLS += shortcutfiles + + # eof diff --git a/pkgs/applications/editors/mindforger/default.nix b/pkgs/applications/editors/mindforger/default.nix new file mode 100644 index 000000000000..a027242c5eef --- /dev/null +++ b/pkgs/applications/editors/mindforger/default.nix @@ -0,0 +1,45 @@ +{ stdenv, fetchurl, qmake, qtbase, qtwebkit }: + +stdenv.mkDerivation rec { + name = "mindforger-${version}"; + version = "1.48.2"; + + src = fetchurl { + url = "https://github.com/dvorka/mindforger/releases/download/1.48.0/mindforger_${version}.tgz"; + sha256 = "1wlrl8hpjcpnq098l3n2d1gbhbjylaj4z366zvssqvmafr72iyw4"; + }; + + nativeBuildInputs = [ qmake ] ; + buildInputs = [ qtbase qtwebkit ] ; + + doCheck = true; + + enableParallelBuilding = true ; + + patches = [ ./build.patch ] ; + + postPatch = '' + substituteInPlace deps/discount/version.c.in --subst-var-by TABSTOP 4 + substituteInPlace app/resources/gnome-shell/mindforger.desktop --replace /usr "$out" + ''; + + preConfigure = '' + export AC_PATH="$PATH" + pushd deps/discount + ./configure.sh + popd + ''; + + qmakeFlags = [ "-r mindforger.pro" "CONFIG+=mfnoccache" ] ; + + meta = with stdenv.lib; { + description = "Thinking Notebook & Markdown IDE"; + longDescription = '' + MindForger is actually more than an editor or IDE - it's human + mind inspired personal knowledge management tool + ''; + homepage = https://www.mindforger.com; + license = licenses.gpl2Plus; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 346419ddd034..03f84d51b8b0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17088,6 +17088,8 @@ with pkgs; manul = callPackage ../development/tools/manul { }; + mindforger = libsForQt5.callPackage ../applications/editors/mindforger { }; + mi2ly = callPackage ../applications/audio/mi2ly {}; moe = callPackage ../applications/editors/moe { }; From 25e7f59516b2c8254df13b448a2ed5e28b848dd3 Mon Sep 17 00:00:00 2001 From: RohanHart <Rohan.hart@fronde.com> Date: Thu, 22 Nov 2018 20:32:17 +1300 Subject: [PATCH 103/106] pijul: 0.10.0 -> 0.11.0 (#50870) --- .../version-management/pijul/default.nix | 10 +-- .../version-management/pijul/libpijul.patch | 61 ------------------- 2 files changed, 3 insertions(+), 68 deletions(-) delete mode 100644 pkgs/applications/version-management/pijul/libpijul.patch diff --git a/pkgs/applications/version-management/pijul/default.nix b/pkgs/applications/version-management/pijul/default.nix index 7419c52c48b3..b97123926eb5 100644 --- a/pkgs/applications/version-management/pijul/default.nix +++ b/pkgs/applications/version-management/pijul/default.nix @@ -4,17 +4,13 @@ with rustPlatform; buildRustPackage rec { name = "pijul-${version}"; - version = "0.10.0"; + version = "0.11.0"; src = fetchurl { url = "https://pijul.org/releases/${name}.tar.gz"; - sha256 = "1lkipcp83rfsj9yqddvb46dmqdf2ch9njwvjv8f3g91rmfjcngys"; + sha256 = "e60793ab124e9054c1d5509698acbae507ebb2fab5364d964067bc9ae8b6b5e5"; }; - cargoPatches = [ - ./libpijul.patch - ]; - nativeBuildInputs = [ pkgconfig ]; postInstall = '' @@ -29,7 +25,7 @@ buildRustPackage rec { doCheck = false; - cargoSha256 = "1419mlxa4p53hm5qzfd1yi2k0n1bcv8kaslls1nyx661vknhfamw"; + cargoSha256 = "1r76azmka1d76ff0ddfhzr24b0ry496qrp13945i3vs0fgzk2sdz"; meta = with stdenv.lib; { description = "A distributed version control system"; diff --git a/pkgs/applications/version-management/pijul/libpijul.patch b/pkgs/applications/version-management/pijul/libpijul.patch deleted file mode 100644 index 9e4aa3cdd4b7..000000000000 --- a/pkgs/applications/version-management/pijul/libpijul.patch +++ /dev/null @@ -1,61 +0,0 @@ ---- 2/pijul-0.10.0/Cargo.lock 1970-01-01 01:00:00.000000000 +0100 -+++ pijul-0.10.0/Cargo.lock 2018-10-28 10:09:48.557639255 +0000 -@@ -552,7 +552,7 @@ - - [[package]] - name = "libpijul" --version = "0.10.0" -+version = "0.10.1" - dependencies = [ - "base64 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", - "bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -577,9 +577,29 @@ - - [[package]] - name = "libpijul" --version = "0.10.0" -+version = "0.10.2" - source = "registry+https://github.com/rust-lang/crates.io-index" --replace = "libpijul 0.10.0" -+dependencies = [ -+ "base64 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", -+ "bincode 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", -+ "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -+ "bs58 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", -+ "byteorder 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", -+ "chrono 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", -+ "error-chain 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", -+ "flate2 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", -+ "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", -+ "ignore 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", -+ "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", -+ "openssl 0.10.6 (registry+https://github.com/rust-lang/crates.io-index)", -+ "rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", -+ "sanakirja 0.8.16 (registry+https://github.com/rust-lang/crates.io-index)", -+ "serde 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)", -+ "serde_derive 1.0.41 (registry+https://github.com/rust-lang/crates.io-index)", -+ "serde_json 1.0.15 (registry+https://github.com/rust-lang/crates.io-index)", -+ "tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", -+ "thrussh-keys 0.9.5 (registry+https://github.com/rust-lang/crates.io-index)", -+] - - [[package]] - name = "line" -@@ -917,7 +937,7 @@ - "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", - "ignore 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "isatty 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", -- "libpijul 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", -+ "libpijul 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", - "line 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", - "pager 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", -@@ -1796,7 +1816,7 @@ - "checksum lazycell 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a6f08839bc70ef4a3fe1d566d5350f519c5912ea86be0df1740a7d247c7fc0ef" - "checksum libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)" = "6fd41f331ac7c5b8ac259b8bf82c75c0fb2e469bbf37d2becbba9a6a2221965b" - "checksum libflate 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "1a429b86418868c7ea91ee50e9170683f47fd9d94f5375438ec86ec3adb74e8e" --"checksum libpijul 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "80fd579ba6762eac3f12c9624d5496edaba5a2f2e8785bcf8310372328e06ebe" -+"checksum libpijul 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "cf6fc1aa0e9402f8283bdeb2507cfb6798d2f2f973da34c3f4b0c96a456b74cd" - "checksum line 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ecdd22a3856203276b7854e16213139428e82922530438f36356e5b361ea4a42" - "checksum log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b" - "checksum log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "89f010e843f2b1a31dbd316b3b8d443758bc634bed37aabade59c686d644e0a2" From 8719126517c37ab7f6ffa1b9ac0027b5ed6dbbdf Mon Sep 17 00:00:00 2001 From: cx405 <inbox-bpnyjac@mail.ru> Date: Thu, 22 Nov 2018 08:43:56 +0100 Subject: [PATCH 104/106] openarena: add missing dependency - openal (#50903) Without this change: ''' ------ Initializing Sound ------ Loading "libopenal.so.1"... Failed to load library: "libopenal.so.1". ''' when openal is selected. In addition, upcoming 0.19.1 openal supports 3d positioning audio via stereo (HTRF). --- pkgs/games/openarena/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/openarena/default.nix b/pkgs/games/openarena/default.nix index 212cd28d62c7..8ac020f3ce09 100644 --- a/pkgs/games/openarena/default.nix +++ b/pkgs/games/openarena/default.nix @@ -1,4 +1,4 @@ -{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl }: +{ fetchurl, makeWrapper, patchelf, pkgs, stdenv, SDL, libglvnd, libogg, libvorbis, curl, openal }: stdenv.mkDerivation rec { name = "openarena-${version}"; @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { installPhase = let gameDir = "$out/openarena-$version"; interpreter = "$(< \"$NIX_CC/nix-support/dynamic-linker\")"; - libPath = stdenv.lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl ]; + libPath = stdenv.lib.makeLibraryPath [ SDL libglvnd libogg libvorbis curl openal ]; in '' mkdir -pv $out/bin cd $out From 5aa34d934d62c769a89dccaad55caf713985ef81 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" <ryantm-bot@ryantm.com> Date: Wed, 21 Nov 2018 23:55:52 -0800 Subject: [PATCH 105/106] duo-unix: 1.10.5 -> 1.11.0 (#50793) Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/duo-unix/versions --- pkgs/tools/security/duo-unix/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/duo-unix/default.nix b/pkgs/tools/security/duo-unix/default.nix index a76e88772bcf..6394eec1b638 100644 --- a/pkgs/tools/security/duo-unix/default.nix +++ b/pkgs/tools/security/duo-unix/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { name = "duo-unix-${version}"; - version = "1.10.5"; + version = "1.11.0"; src = fetchurl { url = "https://dl.duosecurity.com/duo_unix-${version}.tar.gz"; - sha256 = "1h88gwvbh8vwwga7d65iwa9qrmyx23wh5m0rmlv8qbx4fyj7q1f9"; + sha256 = "1i3dx7nim7xwlrjzcs9aqfyp87fangxqvhhpr16vpqklkz2zwmw4"; }; buildInputs = [ pam openssl zlib ]; From ff55dd4c43b276c47fbc0c65dbd9db81f9a2c979 Mon Sep 17 00:00:00 2001 From: hyperfekt <hyperfekt@users.noreply.github.com> Date: Thu, 22 Nov 2018 09:09:09 +0100 Subject: [PATCH 106/106] brave: wrap with GAppsHook (#50450) Fixes crashing when using file chooser GUI. Also added version to name and removed extraneous copying from source archive. --- .../networking/browsers/brave/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/browsers/brave/default.nix b/pkgs/applications/networking/browsers/brave/default.nix index 3c0993d87339..725adda56e7d 100644 --- a/pkgs/applications/networking/browsers/brave/default.nix +++ b/pkgs/applications/networking/browsers/brave/default.nix @@ -12,6 +12,7 @@ gdk_pixbuf, glib, gnome2, + gnome3, gtk3, libuuid, libX11, @@ -31,7 +32,8 @@ udev, xorg, zlib, - xdg_utils + xdg_utils, + wrapGAppsHook }: let rpath = lib.makeLibraryPath [ @@ -71,7 +73,7 @@ let rpath = lib.makeLibraryPath [ in stdenv.mkDerivation rec { - name = "brave"; + name = "brave-${version}"; version = "0.56.12"; src = fetchurl { @@ -83,14 +85,16 @@ in stdenv.mkDerivation rec { dontBuild = true; dontPatchELF = true; - nativeBuildInputs = [ dpkg ]; + nativeBuildInputs = [ dpkg wrapGAppsHook ]; + + buildInputs = [ glib gnome3.gsettings_desktop_schemas gnome3.defaultIconTheme ]; unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner"; installPhase = '' - mkdir -p $out + mkdir -p $out $out/bin - cp -R usr/* $out + cp -R usr/share $out cp -R opt/ $out/opt export BINARYWRAPPER=$out/opt/brave.com/brave/brave-browser