Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from NixOS:master #4

Merged
merged 32 commits into from
Jul 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
cc37d7e
nixos/acme: execute a single lego command
datafoo Jun 18, 2020
afcbc2e
kdiff3: 1.8.2 -> 1.8.3
r-ryantm Jul 3, 2020
7157e59
papirus-icon-theme: 20200602 -> 20200702
r-ryantm Jul 4, 2020
93c55d7
govc: 0.23.0 -> 0.23.1
r-ryantm Jul 5, 2020
382000f
mediawiki: 1.34.1 -> 1.34.2
r-ryantm Jul 5, 2020
829e32b
numix-icon-theme-square: 19.12.27 -> 20.06.07
r-ryantm Jul 5, 2020
1a1f2b0
moodle: 3.8.3 -> 3.9
r-ryantm Jul 5, 2020
297efcd
numix-icon-theme-circle: 19.12.27 -> 20.06.07
r-ryantm Jul 5, 2020
d246bad
osmid: 0.6.8 -> 0.8.0
r-ryantm Jul 6, 2020
8bc7839
python37Packages.asgiref: 3.2.7 -> 3.2.10
r-ryantm Jul 6, 2020
909ed3a
python27Packages.boolean-py: 3.7 -> 3.8
r-ryantm Jul 6, 2020
bf1e753
check-wmiplus: 1.64 -> 1.65
peterhoeg Jul 6, 2020
5da46e2
bluejeans-gui: 2.3.0 -> 2.4.0
veprbl Jul 6, 2020
68f4cae
Merge pull request #92409 from r-ryantm/auto-update/python2.7-boolean.py
lsix Jul 6, 2020
d56c5bd
Merge pull request #92404 from r-ryantm/auto-update/python3.7-asgiref
lsix Jul 6, 2020
107052b
python27Packages.mahotas: 1.4.9 -> 1.4.10
r-ryantm Jul 6, 2020
587bb6e
linuxPackages.e1000e: 3.3.5.3 -> 3.8.4
lorenzleutgeb Jun 24, 2020
4f5c36b
Merge pull request #91444 from lorenzleutgeb/patch-1
danieldk Jul 6, 2020
1e978cd
Merge pull request #92305 from r-ryantm/auto-update/govc
aanderse Jul 6, 2020
4027715
Merge pull request #92335 from r-ryantm/auto-update/mediawiki
aanderse Jul 6, 2020
3d1b7c9
Merge pull request #92224 from r-ryantm/auto-update/kdiff3
peterhoeg Jul 6, 2020
6fcb972
Merge pull request #92430 from peterhoeg/u/checkwmiplus
peterhoeg Jul 6, 2020
206eb29
Merge pull request #92368 from r-ryantm/auto-update/moodle
aanderse Jul 6, 2020
5cecdd1
Merge pull request #91042 from datafoo/fix-issue-86184
aanderse Jul 6, 2020
e1b0572
Merge pull request #92249 from r-ryantm/auto-update/papirus-icon-theme
romildo Jul 6, 2020
deef42d
Merge pull request #92372 from r-ryantm/auto-update/numix-icon-theme-…
romildo Jul 6, 2020
6f730ad
Merge pull request #92363 from r-ryantm/auto-update/numix-icon-theme-…
romildo Jul 6, 2020
dce24cf
boto3: 1.14.3 -> 1.14.16
NeQuissimus Jul 6, 2020
717bee4
botocore: 1.17.3 -> 1.17.16
NeQuissimus Jul 6, 2020
4d98720
awscli: 1.18.80 -> 1.18.93
NeQuissimus Jul 6, 2020
a82a4c1
Merge pull request #92392 from r-ryantm/auto-update/osmid
ryantm Jul 6, 2020
730df00
Merge pull request #92438 from r-ryantm/auto-update/python2.7-mahotas
ryantm Jul 6, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions nixos/modules/security/acme.nix
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,11 @@ in
lpath = "acme/${cert}";
apath = "/var/lib/${lpath}";
spath = "/var/lib/acme/.lego/${cert}";
keyName = builtins.replaceStrings ["*"] ["_"] data.domain;
requestedDomains = pipe ([ data.domain ] ++ (attrNames data.extraDomains)) [
(domains: sort builtins.lessThan domains)
(domains: concatStringsSep "," domains)
];
fileMode = if data.allowKeysForGroup then "640" else "600";
globalOpts = [ "-d" data.domain "--email" data.email "--path" "." "--key-type" data.keyType ]
++ optionals (cfg.acceptTerms) [ "--accept-tos" ]
Expand All @@ -316,6 +321,7 @@ in
certOpts ++ data.extraLegoRenewFlags);
acmeService = {
description = "Renew ACME Certificate for ${cert}";
path = with pkgs; [ openssl ];
after = [ "network.target" "network-online.target" ];
wants = [ "network-online.target" ];
wantedBy = mkIf (!config.boot.isContainer) [ "multi-user.target" ];
Expand All @@ -332,11 +338,18 @@ in
ExecStart = pkgs.writeScript "acme-start" ''
#!${pkgs.runtimeShell} -e
test -L ${spath}/accounts -o -d ${spath}/accounts || ln -s ../accounts ${spath}/accounts
${pkgs.lego}/bin/lego ${renewOpts} || ${pkgs.lego}/bin/lego ${runOpts}
LEGO_ARGS=(${runOpts})
if [ -e ${spath}/certificates/${keyName}.crt ]; then
REQUESTED_DOMAINS="${requestedDomains}"
EXISTING_DOMAINS="$(openssl x509 -in ${spath}/certificates/${keyName}.crt -noout -ext subjectAltName | tail -n1 | sed -e 's/ *DNS://g')"
if [ "''${REQUESTED_DOMAINS}" == "''${EXISTING_DOMAINS}" ]; then
LEGO_ARGS=(${renewOpts})
fi
fi
${pkgs.lego}/bin/lego ''${LEGO_ARGS[@]}
'';
ExecStartPost =
let
keyName = builtins.replaceStrings ["*"] ["_"] data.domain;
script = pkgs.writeScript "acme-post-start" ''
#!${pkgs.runtimeShell} -e
cd ${apath}
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/osmid/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

stdenv.mkDerivation rec {
pname = "osmid";
version = "0.6.8";
version = "0.8.0";

src = fetchFromGitHub {
owner = "llloret";
repo = "osmid";
rev = "v${version}";
sha256 = "1yl25abf343yvd49nfsgxsz7jf956zrsi5n4xyqb5ldlp2hifk15";
sha256 = "1s1wsrp6g6wb0y61xzxvaj59mwycrgy52r4h456086zkz10ls6hw";
};

nativeBuildInputs = [ cmake ];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@

stdenv.mkDerivation rec {
pname = "bluejeans";
version = "2.3.0";
version = "2.4.0";

src = fetchurl {
url = "https://swdl.bluejeans.com/desktop-app/linux/${version}/BlueJeans.rpm";
sha256 = "06lcpkga8h0zpl2wlysj6n979f0yg361frp3zr0vwzln3fiil2a7";
sha256 = "180hc854ngwfn6y6nsrfn74rv78cxhq6sgshrca5zqv6wq3l98g0";
};

nativeBuildInputs = [ rpmextract makeWrapper ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/numix-icon-theme-circle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "numix-icon-theme-circle";
version = "19.12.27";
version = "20.06.07";

src = fetchFromGitHub {
owner = "numixproject";
repo = pname;
rev = version;
sha256 = "0za44h7f4vk37yl30xlaa6w76maiipb6p63gl9hl1rshdn9nxq0y";
sha256 = "1j1i5w3pfw61axcqh8jdkcv20fkmwq0mslfhq725sp3jwv9wyqy2";
};

nativeBuildInputs = [ gtk3 ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/numix-icon-theme-square/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "numix-icon-theme-square";
version = "19.12.27";
version = "20.06.07";

src = fetchFromGitHub {
owner = "numixproject";
repo = pname;
rev = version;
sha256 = "0pjbi2g7wk8gyr4lvp8fvcb8z29kc3l6v19a45axgadnc609hqw7";
sha256 = "0irib8qywc32cqxchb4z20p0vnyvlgxk8z4vqa5lzx7cd4xmflm1";
};

nativeBuildInputs = [ gtk3 ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/icons/papirus-icon-theme/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "papirus-icon-theme";
version = "20200602";
version = "20200702";

src = fetchFromGitHub {
owner = "PapirusDevelopmentTeam";
repo = pname;
rev = version;
sha256 = "0cms5dn8qfasi9xpfcq1hsdyvcb39vkh97mjvi7zrng4iyihq06y";
sha256 = "0p1grfgnmqawayk15qxnl09jai96avx9731qladmcbm2lik4qdpl";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/asgiref/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, pythonOlder, fetchFromGitHub, async-timeout, pytest, pytest-asyncio }:
buildPythonPackage rec {
version = "3.2.7";
version = "3.2.10";
pname = "asgiref";

disabled = pythonOlder "3.5";
Expand All @@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "django";
repo = pname;
rev = version;
sha256 = "1qf29blzhh6sljaj1adc0p8cnyxh9ar6hky9ccdfbgmrk4rw5kwc";
sha256 = "1sj4yy2injaskwfi5pkb542jl8s6ljijnyra81gpw0pgd3d0bgxv";
};

propagatedBuildInputs = [ async-timeout ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/boolean-py/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

buildPythonPackage rec {
pname = "boolean.py";
version = "3.7";
version = "3.8";

src = fetchFromGitHub {
owner = "bastikr";
repo = "boolean.py";
rev = "v${version}";
sha256 = "1q9ji2jq07qr6vgp9yv6y8lx6h0zyi07fqjga3yi3vpfk46h2jn1";
sha256 = "02jznrfrihhk69ai1vnh26s3rshl4kfc2id7li6xccavc2ws5y3b";
};

meta = with lib; {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/boto3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

buildPythonPackage rec {
pname = "boto3";
version = "1.14.3"; # N.B: if you change this, change botocore too
version = "1.14.16"; # N.B: if you change this, change botocore too

src = fetchPypi {
inherit pname version;
sha256 = "1qapj3hbbj116x7yca3m9ivl44iisrk0cppri9sk3b1mpv371a0v";
sha256 = "1yywn4wbzn37b5gbkmksqpxnabw1yjvbp710chc3v6cymyv4lnnf";
};

propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/botocore/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

buildPythonPackage rec {
pname = "botocore";
version = "1.17.3"; # N.B: if you change this, change boto3 and awscli to a matching version
version = "1.17.16"; # N.B: if you change this, change boto3 and awscli to a matching version

src = fetchPypi {
inherit pname version;
sha256 = "0mrkkb7vc7jdxrr9gyg92i6ar801kpss53nfqp1di6xfi4jxkx0k";
sha256 = "0k4bx4anj0xjjfj4jx3v1fhzrmk5k9qgdpxqghxzyzmnsry4y37y";
};

propagatedBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/mahotas/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

buildPythonPackage rec {
pname = "mahotas";
version = "1.4.9";
version = "1.4.10";

src = fetchFromGitHub {
owner = "luispedro";
repo = "mahotas";
rev = "v${version}";
sha256 = "151hri3lwcm9p7w1nyw99h8c70j51698cvzaiazvwb6gl4khwavv";
sha256 = "0fjiyl82wj1a6xzr9mss2y2rydl4zchl2cbdbg0jm0fcrs99q4hw";
};

# remove this as soon as https://github.com/luispedro/mahotas/issues/97 is fixed
Expand Down
7 changes: 4 additions & 3 deletions pkgs/os-specific/linux/e1000e/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@ assert stdenv.lib.versionOlder kernel.version "4.10";

stdenv.mkDerivation rec {
name = "e1000e-${version}-${kernel.version}";
version = "3.3.5.3";
version = "3.8.4";

src = fetchurl {
url = "mirror://sourceforge/e1000/e1000e-${version}.tar.gz";
sha256 = "1ajz3vdnf1y307k585w95r6jlh4ah8d74bq36gdkjl1z5hgiqi9q";
sha256 = "1q8dbqh14c7r15q6k6iv5k0d6xpi74i71d5r54py60gr099m2ha4";
};

hardeningDisable = [ "pic" ];

configurePhase = ''
cd src
kernel_version=${kernel.modDirVersion}
sed -i -e 's|/lib/modules|${kernel.dev}/lib/modules|' Makefile
substituteInPlace common.mk \
--replace "/lib/modules" "${kernel.dev}/lib/modules"
export makeFlags="BUILD_KERNEL=$kernel_version"
'';

Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/monitoring/plugins/wmiplus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

stdenv.mkDerivation rec {
pname = "check-wmiplus";
version = "1.64";
version = "1.65";

# We fetch from github.com instead of the proper upstream as nix-build errors
# out with 406 when trying to fetch the sources
src = fetchFromGitHub {
owner = "speartail";
repo = "checkwmiplus";
rev = "v${version}";
sha256 = "1m36rd2wnc5dk4mm9q4ch67w19144dl112p9s6lhc1sh6h25ln6r";
sha256 = "1as0iyhy4flpm37mb7lvah7rnd6ax88appjm1icwhy7iq03wi8pl";
};

patches = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/web-apps/mediawiki/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "mediawiki";
version = "1.34.1";
version = "1.34.2";

src = with stdenv.lib; fetchurl {
url = "https://releases.wikimedia.org/mediawiki/${versions.majorMinor version}/${pname}-${version}.tar.gz";
sha256 = "0jg1ls5xy2bmvvd63lpvnkj53rfmik6sy2px14mphxba3gbcpf5c";
sha256 = "1mi46a14b2080x6mh61mb49xq0ky27g0lbm3gqgvkgckc1zmbp0f";
};

prePatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/web-apps/moodle/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, writeText }:

let
version = "3.8.3";
version = "3.9";
stableVersion = builtins.substring 0 2 (builtins.replaceStrings ["."] [""] version);
in

Expand All @@ -11,7 +11,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
sha256 = "1anjv4gvbb6833j04a1b4aaysnl4h0x96sr1hhm4nm5kq2fimjd1";
sha256 = "1splsxdxzwf49zxrdb4q05fj60agqyzv0ikvk05gaf49qqd8rznz";
};

phpConfig = writeText "config.php" ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/admin/awscli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ let

in with py.pkgs; buildPythonApplication rec {
pname = "awscli";
version = "1.18.80"; # N.B: if you change this, change botocore to a matching version too
version = "1.18.93"; # N.B: if you change this, change botocore to a matching version too

src = fetchPypi {
inherit pname version;
sha256 = "0519rlc0m0888ag7s55lz516vsgif5pws6rzhmclbbw38g4wmb2k";
sha256 = "1kl0sa125k4q4ximg0p9rriz18w90lj3nhc7racqnc3bhig7w1ih";
};

postPatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/text/kdiff3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

mkDerivation rec {
pname = "kdiff3";
version = "1.8.2";
version = "1.8.3";

src = fetchurl {
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
sha256 = "0s5vsm1avzv88b6mf2pp20c2sz0srrj52iiqpnwi3p4ihivm8wgv";
sha256 = "1awb62y09kbkjhz22mdkrppd6w5aihd3l0ssvpil8c9hg8syjd9g";
};

nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/virtualization/govc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

buildGoPackage rec {
pname = "govc";
version = "0.23.0";
version = "0.23.1";

goPackagePath = "github.com/vmware/govmomi";

Expand All @@ -12,7 +12,7 @@ buildGoPackage rec {
rev = "v${version}";
owner = "vmware";
repo = "govmomi";
sha256 = "05nb5xd90kbazdx4l9bw72729dh5hrcaqdi9wpf5ma7bz7mw9wzi";
sha256 = "05f6i7v8v9g3w3cmz8c952djl652mj6qcwjx9iyl23h6knd1d9b1";
};

meta = {
Expand Down