Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2020-05-05 19:51:09 +02:00
372 changed files with 3551 additions and 1619 deletions

View File

@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "lego";
version = "3.5.0";
version = "3.6.0";
src = fetchFromGitHub {
owner = "go-acme";
repo = pname;
rev = "v${version}";
sha256 = "08mh2q426gmhcaz578lw08jbxfqb7qm37cd00ap937dymi1zs9qw";
sha256 = "0jqq1ricy8971a27zcc6qm61cv6pjk4984dab1cgz86qzama7nil";
};
modSha256 = "10n8pcbmzlnk63gzsjb1xnmjwxfhxsqx8ffpcbwdzq9fc5yvjiii";
modSha256 = "0a3d7snnchxk5n4m0v725689pwqjgwz7g94yzh9akc55nwy33sfj";
subPackages = [ "cmd/lego" ];
buildFlagsArray = [

View File

@@ -1,4 +1,4 @@
{ stdenv, pkgconfig, lxc, buildGoPackage, fetchurl
{ stdenv, hwdata, pkgconfig, lxc, buildGoPackage, fetchurl
, makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq
, squashfsTools, iproute, iptables, ebtables, libcap, libco-canonical, dqlite
, raft-canonical, sqlite-replication, udev
@@ -19,6 +19,11 @@ buildGoPackage rec {
sha256 = "0sxkyjayn7yyiy9kvbdlpkl58lwsl2rhlxnncg628f2kad2zgkdx";
};
postPatch = ''
substituteInPlace shared/usbid/load.go \
--replace "/usr/share/misc/usb.ids" "${hwdata}/share/hwdata/usb.ids"
'';
preBuild = ''
# unpack vendor
pushd go/src/github.com/lxc/lxd

View File

@@ -1,21 +1,38 @@
{
stdenv, pythonPackages, openssl,
{ lib
, python3
, openssl
# Many Salt modules require various Python modules to be installed,
# passing them in this array enables Salt to find them.
extraInputs ? []
, extraInputs ? []
}:
let
pythonPackages.buildPythonApplication rec {
pname = "salt";
version = "2019.2.0";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "1kgn3lway0zwwysyzpphv05j4xgxk92dk4rv1vybr2527wmvp5an";
py = python3.override {
packageOverrides = self: super: {
# Can be unpinned once https://github.com/saltstack/salt/issues/56007 is resolved
msgpack = super.msgpack.overridePythonAttrs (
oldAttrs: rec {
version = "0.6.2";
src = oldAttrs.src.override {
inherit version;
sha256 = "0c0q3vx0x137567msgs5dnizghnr059qi5kfqigxbz26jf2jyg7a";
};
}
);
};
};
propagatedBuildInputs = with pythonPackages; [
in
py.pkgs.buildPythonApplication rec {
pname = "salt";
version = "3000.2";
src = py.pkgs.fetchPypi {
inherit pname version;
sha256 = "1n90qqhsvbf4pc4pcbya3rjfkblbccf4np4mxpghjqaa16fl4cqf";
};
propagatedBuildInputs = with py.pkgs; [
jinja2
markupsafe
msgpack
@@ -24,8 +41,6 @@ pythonPackages.buildPythonApplication rec {
pyzmq
requests
tornado_4
] ++ stdenv.lib.optionals (!pythonPackages.isPy3k) [
futures
] ++ extraInputs;
patches = [ ./fix-libcrypto-loading.patch ];
@@ -40,7 +55,7 @@ pythonPackages.buildPythonApplication rec {
# as is it rather long.
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://saltstack.com/";
description = "Portable, distributed, remote execution and configuration management system";
maintainers = with maintainers; [ aneeshusa ];