Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-09-02 18:01:20 +00:00 committed by GitHub
commit 0630061ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 48 additions and 26 deletions

View File

@ -6,7 +6,9 @@ with lib;
let let
etc' = filter (f: f.enable) (attrValues config.environment.etc); # if the source is a local file, it should be imported to the store
localToStore = mapAttrs (name: value: if name == "source" then "${value}" else value);
etc' = map localToStore (filter (f: f.enable) (attrValues config.environment.etc));
etc = pkgs.runCommandLocal "etc" { etc = pkgs.runCommandLocal "etc" {
# This is needed for the systemd module # This is needed for the systemd module

View File

@ -5,6 +5,7 @@
, meson , meson
, ninja , ninja
, exiv2 , exiv2
, libheif
, libjpeg , libjpeg
, libtiff , libtiff
, gst_all_1 , gst_all_1
@ -32,11 +33,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gthumb"; pname = "gthumb";
version = "3.11.3"; version = "3.11.4";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "11bvcimamdcksgqj1ymh54yzhpwc5j8glda8brqqhwq3h2wj0j9d"; sha256 = "sha256-3ZsPiUXX34Ev/a3OyMO94dyXZyMy4AVt5Cp/ELZLIGw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -66,6 +67,7 @@ stdenv.mkDerivation rec {
json-glib json-glib
lcms2 lcms2
libchamplain libchamplain
libheif
libjpeg libjpeg
libraw libraw
librsvg librsvg

View File

@ -8,11 +8,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jitsi-meet-electron"; pname = "jitsi-meet-electron";
version = "2.8.10"; version = "2.8.11";
src = fetchurl { src = fetchurl {
url = "https://github.com/jitsi/jitsi-meet-electron/releases/download/v${version}/jitsi-meet-x86_64.AppImage"; url = "https://github.com/jitsi/jitsi-meet-electron/releases/download/v${version}/jitsi-meet-x86_64.AppImage";
sha256 = "sha256-k++vumbhcMl9i4s8f04zOUAfYlA1g477FjrGuEGSD1U="; sha256 = "sha256-DznbSwA1UISw3EkIfM5hGgmIToeXsH1b1HB7UOgDTKU=";
name = "${pname}-${version}.AppImage"; name = "${pname}-${version}.AppImage";
}; };

View File

@ -27,11 +27,11 @@ with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mutt"; pname = "mutt";
version = "2.1.1"; version = "2.1.2";
src = fetchurl { src = fetchurl {
url = "http://ftp.mutt.org/pub/mutt/${pname}-${version}.tar.gz"; url = "http://ftp.mutt.org/pub/mutt/${pname}-${version}.tar.gz";
sha256 = "0jjjvqkqmpj55v111p1a1i2ry7mpd1bpphn1bhvlr18rgw7xdrja"; sha256 = "0s9wkygjd7xhvd1zdaidbvszq4abb0iv5830ir65glcfzbdbfak9";
}; };
patches = optional smimeSupport (fetchpatch { patches = optional smimeSupport (fetchpatch {

View File

@ -4,20 +4,20 @@
mixRelease rec { mixRelease rec {
pname = "elixir-ls"; pname = "elixir-ls";
version = "0.8.0"; version = "0.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elixir-lsp"; owner = "elixir-lsp";
repo = "elixir-ls"; repo = "elixir-ls";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-pUvONMTYH8atF/p2Ep/K3bwJUDxTzCsxLPbpjP0tQpM="; sha256 = "sha256-KlZq12RCor9GrwA8QMP3R+jUQ/xFHRjkLwwkvthiMU0=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
mixFodDeps = fetchMixDeps { mixFodDeps = fetchMixDeps {
pname = "mix-deps-${pname}"; pname = "mix-deps-${pname}";
inherit src version; inherit src version;
sha256 = "sha256-YRzPASpg1K2kZUga5/aQf4Q33d8aHCwhw7KJxSY56k4="; sha256 = "sha256-OzjToAg+q/ybCyqzNFk28OBsItjFTbdPi416EPh2qX0=";
}; };
# elixir_ls is an umbrella app # elixir_ls is an umbrella app

View File

@ -170,14 +170,14 @@ let
priority = 6; # in `buildEnv' (including the one inside `perl.withPackages') the library files will have priority over files in `perl` priority = 6; # in `buildEnv' (including the one inside `perl.withPackages') the library files will have priority over files in `perl`
}; };
} // optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) rec { } // optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) rec {
crossVersion = "1.3.6"; crossVersion = "01c176ac0f57d40cc3b6f8e441062780f073d952"; # Aug 22, 2021
perl-cross-src = fetchFromGitHub { perl-cross-src = fetchFromGitHub {
name = "perl-cross-${crossVersion}"; name = "perl-cross-${crossVersion}";
owner = "arsv"; owner = "arsv";
repo = "perl-cross"; repo = "perl-cross";
rev = crossVersion; rev = crossVersion;
sha256 = "0k5vyj40czbkfl7r3dcwxpc7dvdlp2xliaav358bviq3dq9vq9bb"; sha256 = "19mwr1snwl4156rlhn74kmpl1wyc7ahhlrjfpnfcj3n63ic0c56y";
}; };
depsBuildBuild = [ buildPackages.stdenv.cc makeWrapper ]; depsBuildBuild = [ buildPackages.stdenv.cc makeWrapper ];
@ -214,7 +214,7 @@ in {
perldevel = common { perldevel = common {
perl = pkgs.perldevel; perl = pkgs.perldevel;
buildPerl = buildPackages.perldevel; buildPerl = buildPackages.perldevel;
version = "5.35.0"; version = "5.35.3";
sha256 = "0217nbswhkjhw60kng2p64611xna7za681kk30fkriyicd3yph6n"; sha256 = "06442zc5rvisl120f58jpy95bkf8f1cc4n577nzihdavlbfmnyyn";
}; };
} }

View File

@ -12,16 +12,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "krankerl"; pname = "krankerl";
version = "0.13.1"; version = "0.13.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ChristophWurst"; owner = "ChristophWurst";
repo = "krankerl"; repo = "krankerl";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-uIFcWHdW8887CDkFxZznh9akYs+vxsE9Bc9g1hKi7Kc="; sha256 = "sha256-Kol39AtM5m6FC+s5SDbQhWuASkGbeXPlmSGb7axEuK8=";
}; };
cargoSha256 = "sha256-6joHwz0HIVbta8ALvsJLMvmeDh9IFPR4Cx36H63MliI="; cargoSha256 = "sha256-bPcKe3vE3VIjLJ4iYdF3Gt0sID09gRpxG5TpTGWhnPs=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "strace"; pname = "strace";
version = "5.13"; version = "5.14";
src = fetchurl { src = fetchurl {
url = "https://strace.io/files/${version}/${pname}-${version}.tar.xz"; url = "https://strace.io/files/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-Wsw0iIudUQrWrJFdSo3wj1HPGukg6iRkn2pLuYTQtlY="; sha256 = "sha256-kBvubbXhfeutRTDdn/tNyalsSmVu2+HDFBt8swexHnM=";
}; };
depsBuildBuild = [ buildPackages.stdenv.cc ]; depsBuildBuild = [ buildPackages.stdenv.cc ];

View File

@ -6,6 +6,8 @@
libX11, libGLU, libGL, libXpm, libXext, libXxf86vm, alsa-lib libX11, libGLU, libGL, libXpm, libXext, libXxf86vm, alsa-lib
, # sdl , # sdl
SDL2 SDL2
, # blind
gmp
, withSDL ? true , withSDL ? true
, withGLX ? false , withGLX ? false
@ -63,7 +65,7 @@ let
}; };
nativeBuildInputs = [ unzip ]; nativeBuildInputs = [ unzip ];
buildInputs = [ libjpeg zlib libvorbis curl ] buildInputs = [ libjpeg zlib libvorbis curl gmp ]
++ lib.optional withGLX [ libX11.dev libGLU.dev libGL.dev libXpm.dev libXext.dev libXxf86vm.dev alsa-lib.dev ] ++ lib.optional withGLX [ libX11.dev libGLU.dev libGL.dev libXpm.dev libXext.dev libXxf86vm.dev alsa-lib.dev ]
++ lib.optional withSDL [ SDL2.dev ]; ++ lib.optional withSDL [ SDL2.dev ];
@ -74,17 +76,27 @@ let
dontStrip = target != "release"; dontStrip = target != "release";
buildPhase = lib.optionalString withDedicated '' postConfigure = ''
pushd ../d0_blind_id
./configure $configureFlags
popd
'';
buildPhase = (lib.optionalString withDedicated ''
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES sv-${target} make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES sv-${target}
'' + lib.optionalString withGLX '' '' + lib.optionalString withGLX ''
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES cl-${target} make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES cl-${target}
'' + lib.optionalString withSDL '' '' + lib.optionalString withSDL ''
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES sdl-${target} make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES sdl-${target}
'') + ''
pushd ../d0_blind_id
make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES
popd
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;
installPhase = '' installPhase = (''
for size in 16x16 24x24 32x32 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512 1024x1024 scalable; do for size in 16x16 24x24 32x32 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512 1024x1024 scalable; do
install -Dm644 ../../misc/logos/xonotic_icon.svg \ install -Dm644 ../../misc/logos/xonotic_icon.svg \
$out/share/icons/hicolor/$size/xonotic.svg $out/share/icons/hicolor/$size/xonotic.svg
@ -95,6 +107,10 @@ let
install -Dm755 darkplaces-glx "$out/bin/xonotic-glx" install -Dm755 darkplaces-glx "$out/bin/xonotic-glx"
'' + lib.optionalString withSDL '' '' + lib.optionalString withSDL ''
install -Dm755 darkplaces-sdl "$out/bin/xonotic-sdl" install -Dm755 darkplaces-sdl "$out/bin/xonotic-sdl"
'') + ''
pushd ../d0_blind_id
make install
popd
''; '';
# Xonotic needs to find libcurl.so at runtime for map downloads # Xonotic needs to find libcurl.so at runtime for map downloads
@ -121,10 +137,10 @@ in rec {
xonotic-data = fetchzip { xonotic-data = fetchzip {
name = "xonotic-data"; name = "xonotic-data";
url = "https://dl.xonotic.org/xonotic-${version}.zip"; url = "https://dl.xonotic.org/xonotic-${version}.zip";
sha256 = "1ygkh0v68y4sd1w5vpk8dgb65h5jm599hwszdfgjp3ax4d3ml81x"; sha256 = "15caj11v9hhr7w55w3rs1rspblzr9lg1crqivbn9pyyq0rif8cpl";
extraPostFetch = '' extraPostFetch = ''
cd $out cd $out
rm -rf $(ls | grep -v "^data$") rm -rf $(ls | grep -v "^data$" | grep -v "^key_0.d0pk$")
''; '';
meta.hydraPlatforms = []; meta.hydraPlatforms = [];
passthru.version = version; passthru.version = version;
@ -156,7 +172,7 @@ in rec {
copyDesktopItems copyDesktopItems
'' + '' '' + ''
for binary in $out/bin/xonotic-*; do for binary in $out/bin/xonotic-*; do
wrapProgram $binary --add-flags "-basedir ${xonotic-data}" wrapProgram $binary --add-flags "-basedir ${xonotic-data}" --prefix LD_LIBRARY_PATH : "${xonotic-unwrapped}/lib"
done done
''); '');
} }

View File

@ -2562,7 +2562,9 @@ in {
fints = callPackage ../development/python-modules/fints { }; fints = callPackage ../development/python-modules/fints { };
fiona = callPackage ../development/python-modules/fiona { }; fiona = callPackage ../development/python-modules/fiona {
gdal = pkgs.gdal_2;
};
fipy = callPackage ../development/python-modules/fipy { }; fipy = callPackage ../development/python-modules/fipy { };