Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-05-16 18:32:44 +00:00
committed by GitHub
77 changed files with 796 additions and 1799 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
{ lib, buildGoModule, fetchFromGitHub
, pkg-config, taglib, alsaLib
, zlib
# Disable on-the-fly transcoding,
# removing the dependency on ffmpeg.
@@ -20,7 +21,7 @@ buildGoModule rec {
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ taglib alsaLib ];
buildInputs = [ taglib alsaLib zlib ];
vendorSha256 = "0inxlqxnkglz4j14jav8080718a80nqdcl866lkql8r6zcxb4fm9";
# TODO(Profpatsch): write a test for transcoding support,
+1 -1
View File
@@ -201,7 +201,7 @@ stdenv.mkDerivation rec {
large intranets by maximizing existing and available bandwidth.
'';
license = licenses.asl20;
maintainers = with maintainers; [ midchildan joaquinito2051 ];
maintainers = with maintainers; [ midchildan ];
platforms = platforms.unix;
};
}
+4 -3
View File
@@ -2,20 +2,21 @@
buildGoModule rec {
pname = "mbtileserver";
version = "0.6.1";
version = "0.7.0";
src = fetchFromGitHub {
owner = "consbio";
repo = pname;
rev = "v${version}";
sha256 = "0b0982rn5jsv8zxfkrcmhys764nim6136hafc8ccj0mwdyvwafxd";
sha256 = "sha256-QdirExVv7p7Mnhp8EGdTVRlmEiYpzoXVQbtO8aS9Kas=";
};
vendorSha256 = null;
vendorSha256 = "sha256-mUUxUZn8out6WNvKJKHoz+R44RDB0oWJb+57w72+E5w=";
meta = with lib; {
description = "A simple Go-based server for map tiles stored in mbtiles format";
homepage = "https://github.com/consbio/mbtileserver";
changelog = "https://github.com/consbio/mbtileserver/blob/v${version}/CHANGELOG.md";
license = licenses.isc;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
+10 -17
View File
@@ -15,42 +15,35 @@ let
in
buildGoModule rec {
pname = "minio";
version = "2021-05-11T23-27-41Z";
version = "2021-05-16T05-32-34Z";
src = fetchFromGitHub {
owner = "minio";
repo = "minio";
rev = "RELEASE.${version}";
sha256 = "0yljq4lm9maz73ha9m38ljv977999p57rfkzybgzbjjrijgszm2b";
sha256 = "sha256-+zanqJMYNg/1c20cMm+bqVsW8VquucxEK5NiFAqOmS0=";
};
vendorSha256 = "1dm8nbg86zvxakc7h4dafqb035sc5x6viz8p409l22l695qrp6bi";
vendorSha256 = "sha256-5aDD68nugFyWsySLEj7LXAdtFXFKWnqfz+5zF5wC2qw=";
doCheck = false;
subPackages = [ "." ];
postPatch = ''
sed -i "s/Version.*/Version = \"${versionToTimestamp version}\"/g" cmd/build-constants.go
sed -i "s/ReleaseTag.*/ReleaseTag = \"RELEASE.${version}\"/g" cmd/build-constants.go
sed -i "s/CommitID.*/CommitID = \"${src.rev}\"/g" cmd/build-constants.go
'';
postConfigure = ''
export CGO_ENABLED=0
'';
buildFlagsArray = [
"-tags=kqueue"
];
preBuild = let t = "github.com/minio/minio/cmd"; in
''
export CGO_ENABLED=0
buildFlagsArray+=("-tags" "kqueue" "-ldflags" "-s -w -X ${t}.Version=${versionToTimestamp version} -X ${t}.ReleaseTag=RELEASE.${version} -X ${t}.CommitID=${src.rev}")
'';
passthru.tests.minio = nixosTests.minio;
meta = with lib; {
homepage = "https://www.minio.io/";
description = "An S3-compatible object storage server";
changelog = "https://github.com/minio/minio/releases/tag/RELEASE.${version}";
maintainers = with maintainers; [ eelco bachp ];
platforms = platforms.unix;
license = licenses.asl20;
license = licenses.agpl3Plus;
};
}