Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-03-01 18:21:50 +00:00 committed by GitHub
commit 4b494c403e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 251 additions and 41 deletions

View File

@ -8049,6 +8049,12 @@
githubId = 3708689; githubId = 3708689;
name = "Roberto Di Remigio"; name = "Roberto Di Remigio";
}; };
robertoszek = {
email = "robertoszek@robertoszek.xyz";
github = "robertoszek";
githubId = 1080963;
name = "Roberto";
};
robgssp = { robgssp = {
email = "robgssp@gmail.com"; email = "robgssp@gmail.com";
github = "robgssp"; github = "robgssp";

View File

@ -72,8 +72,8 @@ let
installPhase = '' installPhase = ''
cp -r . $out cp -r . $out
wrapProgram $out/bin/studio.sh \ wrapProgram $out/bin/studio.sh \
--set-default JAVA_HOME "$out/jre" \
--set ANDROID_EMULATOR_USE_SYSTEM_LIBS 1 \ --set ANDROID_EMULATOR_USE_SYSTEM_LIBS 1 \
--set JAVA_HOME "$out/jre" \
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \ --set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
--set FONTCONFIG_FILE ${fontsConf} \ --set FONTCONFIG_FILE ${fontsConf} \
--prefix PATH : "${lib.makeBinPath [ --prefix PATH : "${lib.makeBinPath [

View File

@ -14,13 +14,13 @@ let
sha256Hash = "1f9bclvyvm3sg9an7wxlfwd8jwnb9cl726dvggmysa6r7shc7xw9"; sha256Hash = "1f9bclvyvm3sg9an7wxlfwd8jwnb9cl726dvggmysa6r7shc7xw9";
}; };
betaVersion = { betaVersion = {
version = "4.2.0.20"; # "Android Studio 4.2 Beta 4" version = "4.2.0.21"; # "Android Studio 4.2 Beta 5"
build = "202.7094744"; build = "202.7141121";
sha256Hash = "10c4qfq6d9ggs88s8h3pryhlnzw17m60qci78rjbh32wmm02sciz"; sha256Hash = "05610xf9zz3yxarx6fv83fynlvqw9jl7h2a40yj3xx5kb7mzdnf2";
}; };
latestVersion = { # canary & dev latestVersion = { # canary & dev
version = "2020.3.1.5"; # "Android Studio Arctic Fox (2020.3.1) Canary 5" version = "2020.3.1.7"; # "Android Studio Arctic Fox (2020.3.1) Canary 7"
sha256Hash = "0x749sbg7qa5ncwwaywcldlhyyyyfh05bms2czz1rv6h7zgq16vq"; sha256Hash = "03gq4s8rmg7si0r2y1w26v9bjwhj6gzmrdny5z3j5pq8xsfjfqiw";
}; };
in { in {
# Attributes are named by their corresponding release channels # Attributes are named by their corresponding release channels

View File

@ -21,6 +21,14 @@ stdenv.mkDerivation rec {
substituteInPlace GNUmakefile \ substituteInPlace GNUmakefile \
--replace "AR = libtool" "AR = ar" \ --replace "AR = libtool" "AR = ar" \
--replace "ARFLAGS = -static -o" "ARFLAGS = -cru" --replace "ARFLAGS = -static -o" "ARFLAGS = -cru"
# See https://github.com/weidai11/cryptopp/issues/1011
substituteInPlace GNUmakefile \
--replace "ZOPT = -O0" "ZOPT ="
'';
preConfigure = ''
sh TestScripts/configure.sh
''; '';
makeFlags = [ "PREFIX=${placeholder "out"}" ]; makeFlags = [ "PREFIX=${placeholder "out"}" ];

View File

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pythonOlder
, sqlitedict
, websockets
}:
buildPythonPackage rec {
pname = "aiopylgtv";
version = "0.4.0";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "bendavid";
repo = pname;
rev = version;
sha256 = "0x0xcnlz42arsp53zlq5wyv9pwif1in8j2pv48gh0pkdnz9s86b6";
};
propagatedBuildInputs = [
numpy
sqlitedict
websockets
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aiopylgtv" ];
meta = with lib; {
description = "Python library to control webOS based LG TV units";
homepage = "https://github.com/bendavid/aiopylgtv";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, google-api-core
, grpcio
}:
buildPythonPackage rec {
pname = "chirpstack-api";
version = "3.9.4";
src = fetchPypi {
inherit pname version;
sha256 = "08djidy3fyhghyzvndcjas3hb1s9d7719gvmgbl8bzxjm4h2c433";
};
propagatedBuildInputs = [
google-api-core
grpcio
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "chirpstack_api" ];
meta = with lib; {
description = "ChirpStack gRPC API message and service wrappers for Python";
homepage = "https://github.com/brocaar/chirpstack-api";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1,6 +1,5 @@
{ lib, stdenv { lib, stdenv
, buildPythonPackage , buildPythonPackage
, darwin
, grpc , grpc
, six , six
, protobuf , protobuf
@ -20,8 +19,7 @@ buildPythonPackage rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
nativeBuildInputs = [ cython pkg-config ] nativeBuildInputs = [ cython pkg-config ];
++ lib.optional stdenv.isDarwin darwin.cctools;
buildInputs = [ c-ares openssl zlib ]; buildInputs = [ c-ares openssl zlib ];
propagatedBuildInputs = [ six protobuf ] propagatedBuildInputs = [ six protobuf ]

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, requests-mock
, oauthlib
, requests_oauthlib
, requests
, pyaml
}:
buildPythonPackage rec {
pname = "pleroma-bot";
version = "0.8.6";
src = fetchFromGitHub {
owner = "robertoszek";
repo = "pleroma-bot";
rev = version;
sha256 = "1q0xhgqq41zbqiawpd4kbdx41zhwxxp5ipn1c2rc8d7pjyb5p75w";
};
propagatedBuildInputs = [ pyaml requests requests_oauthlib oauthlib ];
checkInputs = [ pytestCheckHook requests-mock ];
pythonImportsCheck = [ "pleroma_bot" ];
meta = with lib; {
homepage = "https://robertoszek.github.io/pleroma-bot/";
description = "Bot for mirroring one or multiple Twitter accounts in Pleroma/Mastodon";
license = licenses.mit;
maintainers = with maintainers; [ robertoszek ];
};
}

View File

@ -0,0 +1,36 @@
{ lib
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, xmltodict
}:
buildPythonPackage rec {
pname = "pymediaroom";
version = "0.6.4.1";
disabled = pythonOlder "3.5";
src = fetchFromGitHub {
owner = "dgomes";
repo = pname;
rev = version;
sha256 = "1klf2dxd8rlq3n4b9m03lzwcsasn9vi6m3hzrjqhqnprhrnp0xmy";
};
propagatedBuildInputs = [
async-timeout
xmltodict
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pymediaroom" ];
meta = with lib; {
description = "Python Remote Control for Mediaroom STB";
homepage = "https://github.com/dgomes/pymediaroom";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -14,11 +14,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sagemaker"; pname = "sagemaker";
version = "2.25.2"; version = "2.26.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-oacqDLgt11fplc6e3ruCrwDV/iRhoTgx1mu3Pm/5kmw="; sha256 = "sha256-CT0vXt6x+cp4yHZtfBiRq+/Aurd4Q7Zagn4lNRqji/o=";
}; };
pythonImportsCheck = [ pythonImportsCheck = [

View File

@ -0,0 +1,22 @@
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "cargo-criterion";
version = "1.0.0";
src = fetchFromGitHub {
owner = "bheisler";
repo = pname;
rev = version;
sha256 = "0czagclrn4yhlvlh06wsyiybz69r7mmk3182fywzn9vd0xlclxpi";
};
cargoSha256 = "sha256-XZuZ81hB/GQDopJyfSkxQiehSwJz7VWoJR6/m3WLil8=";
meta = with lib; {
description = "Cargo extension for running Criterion.rs benchmarks";
homepage = "https://github.com/bheisler/cargo-criterion";
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ humancalico ];
};
}

View File

@ -0,0 +1,25 @@
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "cargo-play";
version = "0.5.0";
src = fetchFromGitHub {
owner = "fanzeyi";
repo = pname;
rev = "v${version}";
sha256 = "01r00akfmvpzp924yqqybd9s0pwiwxy8vklsg4m9ypzljc3nlv02";
};
cargoSha256 = "0fvsdyivq5991ka6avh12aqdkjx0myk61kmzlr19p2vlfpg70q07";
# some tests require internet access
doCheck = false;
meta = with lib; {
description = "Run your rust code without setting up cargo";
homepage = "https://github.com/fanzeyi/cargo-play";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -10,17 +10,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "crate2nix"; pname = "crate2nix";
version = "0.8.0"; version = "0.9.0";
src = fetchFromGitHub src = fetchFromGitHub
{ {
owner = "kolloch"; owner = "kolloch";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-pqg1BsEq3kGmUzt1zpQvXgdnRcIsiuIyvtUBi3VxtZ4="; sha256 = "sha256-dB8wa3CQFw8ckD420zpBGw4TnsLrHqXf+ff/WuhPsVM=";
} + "/crate2nix"; } + "/crate2nix";
cargoSha256 = "sha256-dAMWrGNMleQ3lDbG46Hr4qvCyxR+QcPOUZw9r2/CxV4="; cargoSha256 = "sha256-6V0ifH63/s5XLo4BCexPtvlUH0UQPHFW8YHF8OCH3ik=";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View File

@ -88,11 +88,11 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "minecraft-launcher"; pname = "minecraft-launcher";
version = "2.2.1867"; version = "2.2.1441";
src = fetchurl { src = fetchurl {
url = "https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz"; url = "https://launcher.mojang.com/download/linux/x86_64/minecraft-launcher_${version}.tar.gz";
sha256 = "1gpagrinam595153jbxwagcq20ij2dk8nn6zajy2iyqmj12y66ay"; sha256 = "03q579hvxnsh7d00j6lmfh53rixdpf33xb5zlz7659pvb9j5w0cm";
}; };
icon = fetchurl { icon = fetchurl {

View File

@ -2,7 +2,7 @@
, makeWrapper , makeWrapper
, fetchFromGitHub , fetchFromGitHub
, nixosTests , nixosTests
, gradle_5 , gradle
, perl , perl
, jre , jre
, libpulseaudio , libpulseaudio
@ -10,13 +10,15 @@
let let
pname = "shattered-pixel-dungeon"; pname = "shattered-pixel-dungeon";
version = "0.9.1d"; version = "0.9.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "00-Evan"; owner = "00-Evan";
repo = "shattered-pixel-dungeon"; repo = "shattered-pixel-dungeon";
rev = "v${version}"; # NOTE: always use the commit sha, not the tag. Tags _will_ disappear!
sha256 = "0f9vi1iffh477zi03hi07rmfbkb8i4chwvv43vs70mgjh4qx7247"; # https://github.com/00-Evan/shattered-pixel-dungeon/issues/596
rev = "5be9ee815f1fc6e3511a09a367d3f9d8dc55c783";
sha256 = "0wknrf7jjnkshj4gmb1ksqiqif1rq53ffi3y29ynhcz68sa0frx6";
}; };
postPatch = '' postPatch = ''
@ -31,7 +33,7 @@ let
deps = stdenv.mkDerivation { deps = stdenv.mkDerivation {
pname = "${pname}-deps"; pname = "${pname}-deps";
inherit version src postPatch; inherit version src postPatch;
nativeBuildInputs = [ gradle_5 perl ]; nativeBuildInputs = [ gradle perl ];
buildPhase = '' buildPhase = ''
export GRADLE_USER_HOME=$(mktemp -d) export GRADLE_USER_HOME=$(mktemp -d)
# https://github.com/gradle/gradle/issues/4426 # https://github.com/gradle/gradle/issues/4426
@ -52,7 +54,7 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
inherit pname version src postPatch; inherit pname version src postPatch;
nativeBuildInputs = [ gradle_5 perl makeWrapper ]; nativeBuildInputs = [ gradle perl makeWrapper ];
buildPhase = '' buildPhase = ''
export GRADLE_USER_HOME=$(mktemp -d) export GRADLE_USER_HOME=$(mktemp -d)
@ -86,4 +88,3 @@ in stdenv.mkDerivation rec {
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
}; };
} }

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sameboy"; pname = "sameboy";
version = "0.13.6"; version = "0.14.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LIJI32"; owner = "LIJI32";
repo = "SameBoy"; repo = "SameBoy";
rev = "v${version}"; rev = "v${version}";
sha256 = "04w8lybi7ssnax37ka4qw7pmcm7cgnmk90p9m73zbyp5chgpqqzc"; sha256 = "0h42cixbf0m2qiwrqzygh0x166h9ikxa5dzi3jbqld2dygk932n7";
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
@ -16,20 +16,15 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ rgbds glib wrapGAppsHook ]; nativeBuildInputs = [ rgbds glib wrapGAppsHook ];
buildInputs = [ SDL2 ]; buildInputs = [ SDL2 ];
makeFlags = "CONF=release DATA_DIR=$(out)/share/sameboy/"; makeFlags = [
"CONF=release"
"FREEDESKTOP=true"
"PREFIX=$(out)"
];
patchPhase = '' postPatch = ''
sed 's/-Werror //g' -i Makefile substituteInPlace OpenDialog/gtk.c \
sed 's@"libgtk-3.so"@"${gtk3}/lib/libgtk-3.so"@g' -i OpenDialog/gtk.c --replace '"libgtk-3.so"' '"${gtk3}/lib/libgtk-3.so"'
'';
installPhase = ''
pushd build/bin/SDL
install -Dm755 sameboy $out/bin/sameboy
rm sameboy
mkdir -p $out/share/sameboy
cp -r * $out/share/sameboy
popd
''; '';
meta = with lib; { meta = with lib; {

View File

@ -416,6 +416,8 @@ let
NLS_ISO8859_1 = module; # VFAT default for the iocharset= mount option NLS_ISO8859_1 = module; # VFAT default for the iocharset= mount option
DEVTMPFS = yes; DEVTMPFS = yes;
UNICODE = whenAtLeast "5.2" yes; # Casefolding support for filesystems
}; };
security = { security = {

View File

@ -480,7 +480,7 @@
"media_extractor" = ps: with ps; [ aiohttp-cors youtube-dl-light ]; "media_extractor" = ps: with ps; [ aiohttp-cors youtube-dl-light ];
"media_player" = ps: with ps; [ aiohttp-cors ]; "media_player" = ps: with ps; [ aiohttp-cors ];
"media_source" = ps: with ps; [ aiohttp-cors ]; "media_source" = ps: with ps; [ aiohttp-cors ];
"mediaroom" = ps: with ps; [ ]; # missing inputs: pymediaroom "mediaroom" = ps: with ps; [ pymediaroom ];
"melcloud" = ps: with ps; [ ]; # missing inputs: pymelcloud "melcloud" = ps: with ps; [ ]; # missing inputs: pymelcloud
"melissa" = ps: with ps; [ ]; # missing inputs: py-melissa-climate "melissa" = ps: with ps; [ ]; # missing inputs: py-melissa-climate
"meraki" = ps: with ps; [ aiohttp-cors ]; "meraki" = ps: with ps; [ aiohttp-cors ];
@ -924,7 +924,7 @@
"waze_travel_time" = ps: with ps; [ WazeRouteCalculator ]; "waze_travel_time" = ps: with ps; [ WazeRouteCalculator ];
"weather" = ps: with ps; [ ]; "weather" = ps: with ps; [ ];
"webhook" = ps: with ps; [ aiohttp-cors ]; "webhook" = ps: with ps; [ aiohttp-cors ];
"webostv" = ps: with ps; [ ]; # missing inputs: aiopylgtv "webostv" = ps: with ps; [ aiopylgtv ];
"websocket_api" = ps: with ps; [ aiohttp-cors ]; "websocket_api" = ps: with ps; [ aiohttp-cors ];
"wemo" = ps: with ps; [ ]; # missing inputs: pywemo "wemo" = ps: with ps; [ ]; # missing inputs: pywemo
"whois" = ps: with ps; [ python-whois ]; "whois" = ps: with ps; [ python-whois ];

View File

@ -17,7 +17,10 @@ buildGoModule rec {
subPackages = [ "main/pg" ]; subPackages = [ "main/pg" ];
buildFlagsArray = [ "-ldflags=-s -w -X github.com/wal-g/wal-g/cmd/pg.WalgVersion=${version} -X github.com/wal-g/wal-g/cmd/pg.GitRevision=${src.rev}" ]; buildFlagsArray = [
"-tags=brotli"
"-ldflags=-s -w -X github.com/wal-g/wal-g/cmd/pg.WalgVersion=${version} -X github.com/wal-g/wal-g/cmd/pg.GitRevision=${src.rev}"
];
postInstall = '' postInstall = ''
mv $out/bin/pg $out/bin/wal-g mv $out/bin/pg $out/bin/wal-g

View File

@ -10869,6 +10869,7 @@ in
cargo-c = callPackage ../development/tools/rust/cargo-c { cargo-c = callPackage ../development/tools/rust/cargo-c {
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
}; };
cargo-criterion = callPackage ../development/tools/rust/cargo-criterion { };
cargo-deb = callPackage ../tools/package-management/cargo-deb { cargo-deb = callPackage ../tools/package-management/cargo-deb {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };
@ -10922,6 +10923,7 @@ in
cargo-make = callPackage ../development/tools/rust/cargo-make { cargo-make = callPackage ../development/tools/rust/cargo-make {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
}; };
cargo-play = callPackage ../development/tools/rust/cargo-play { };
cargo-raze = callPackage ../development/tools/rust/cargo-raze { cargo-raze = callPackage ../development/tools/rust/cargo-raze {
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };
@ -24045,6 +24047,8 @@ in
stdenv = stdenv_32bit; stdenv = stdenv_32bit;
}; };
pleroma-bot = python3Packages.callPackage ../development/python-modules/pleroma-bot { };
polybar = callPackage ../applications/misc/polybar { }; polybar = callPackage ../applications/misc/polybar { };
polybarFull = callPackage ../applications/misc/polybar { polybarFull = callPackage ../applications/misc/polybar {

View File

@ -284,6 +284,8 @@ in {
aiopulse = callPackage ../development/python-modules/aiopulse { }; aiopulse = callPackage ../development/python-modules/aiopulse { };
aiopylgtv = callPackage ../development/python-modules/aiopylgtv { };
aiorecollect = callPackage ../development/python-modules/aiorecollect { }; aiorecollect = callPackage ../development/python-modules/aiorecollect { };
aioredis = callPackage ../development/python-modules/aioredis { }; aioredis = callPackage ../development/python-modules/aioredis { };
@ -1281,6 +1283,8 @@ in {
chevron = callPackage ../development/python-modules/chevron { }; chevron = callPackage ../development/python-modules/chevron { };
chirpstack-api = callPackage ../development/python-modules/chirpstack-api { };
ci-info = callPackage ../development/python-modules/ci-info { }; ci-info = callPackage ../development/python-modules/ci-info { };
ci-py = callPackage ../development/python-modules/ci-py { }; ci-py = callPackage ../development/python-modules/ci-py { };
@ -5712,6 +5716,8 @@ in {
pymediainfo = callPackage ../development/python-modules/pymediainfo { }; pymediainfo = callPackage ../development/python-modules/pymediainfo { };
pymediaroom = callPackage ../development/python-modules/pymediaroom { };
pymeeus = callPackage ../development/python-modules/pymeeus { }; pymeeus = callPackage ../development/python-modules/pymeeus { };
pymemoize = callPackage ../development/python-modules/pymemoize { }; pymemoize = callPackage ../development/python-modules/pymemoize { };