Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2021-05-07 06:20:24 +00:00 committed by GitHub
commit b8cdb044e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 113 additions and 16 deletions

View File

@ -9,14 +9,14 @@
pythonPackages.buildPythonPackage rec {
pname = "hydrus";
version = "436";
version = "438";
format = "other";
src = fetchFromGitHub {
owner = "hydrusnetwork";
repo = "hydrus";
rev = "v${version}";
sha256 = "sha256-FXm8VUEY0OZ6/dc/qNwOXekhv5H2C9jjg/eNDoMvMn0==";
sha256 = "sha256-iBJkbVUlsjt26SbDe92eIrWKQwWBhkjjeLM14Pm/obc=";
};
nativeBuildInputs = [

View File

@ -164,8 +164,8 @@ in rec {
});
terraform_0_15 = pluggable (generic {
version = "0.15.2";
sha256 = "1zsid3ri52cjhn4gr2vgnyf50zmqiz71fh18fkakql8vsqzb3zr0";
version = "0.15.3";
sha256 = "12dny8f89ry75ljarhdqlwgzv6py75s1wcmb62n5fp9nk03bjf2p";
vendorSha256 = "13ap1arn81lcxry08j42ck6lgvdcvdxgah6d40pmpkzkw9jcf55b";
patches = [ ./provider-path-0_15.patch ];
passthru = { inherit plugins; };

View File

@ -1,12 +1,12 @@
{ lib, fetchzip }:
let
version = "0.035";
version = "0.037";
in fetchzip {
name = "JuliaMono-${version}";
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/JuliaMono.zip";
sha256 = "sha256:17w8rn37wadxnmakhd6mpmqdx14dsrc3qym4k9b47albl1a34i1j";
sha256 = "06hyl7fri39s7jxjqayi00r83cbf1ca47h5xq55a19igdm1xl79q";
postFetch = ''
mkdir -p $out/share/fonts/truetype
@ -16,7 +16,11 @@ in fetchzip {
meta = with lib; {
description = "A monospaced font for scientific and technical computing";
longDescription = ''
JuliaMono is a monospaced typeface designed for use in text editing environments that require a wide range of specialist and technical Unicode characters. It was intended as a fun experiment to be presented at the 2020 JuliaCon conference in Lisbon, Portugal (which of course didnt physically happen in Lisbon, but online).
JuliaMono is a monospaced typeface designed for use in text editing
environments that require a wide range of specialist and technical Unicode
characters. It was intended as a fun experiment to be presented at the
2020 JuliaCon conference in Lisbon, Portugal (which of course didnt
physically happen in Lisbon, but online).
'';
maintainers = with maintainers; [ suhr ];
platforms = with platforms; all;

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "intel-media-sdk";
version = "20.5.1";
version = "21.2.0";
src = fetchFromGitHub {
owner = "Intel-Media-SDK";
repo = "MediaSDK";
rev = "intel-mediasdk-${version}";
sha256 = "0l5m7r8585ycifbbi5i0bs63c9sb8rsmk43ik97mhfl1ivswf1mv";
sha256 = "sha256-LusgmvlWOMEQjy47IpA9IYcl/cUTSMmvxSwvV/ihs2g=";
};
nativeBuildInputs = [ cmake pkg-config ];

View File

@ -3,12 +3,12 @@
with lib;
stdenv.mkDerivation rec {
version = "1.3.1";
version = "1.3.2";
pname = "libthreadar";
src = fetchurl {
url = "mirror://sourceforge/libthreadar/${pname}-${version}.tar.gz";
sha256 = "0x1kkccy81rcqbhlw88sw7lykp7398vmrvp6f9yy42k9bl4yxn2q";
sha256 = "sha256-q5FiBlncbhdXDgRm7wgxcd4rkxqje/1ls9kPGqmomP0=";
};
outputs = [ "out" "dev" ];

View File

@ -76,9 +76,9 @@ let
};
v5 = {
version = "5.3.0";
sha256 = "03ga3j3cg38w4lg4d4qxasmnjdl8n3lbizidrinanvyfdyvznyh6";
dataSha256 = "1liciwlh013z5h08ib0psjbwn5wkvlr937ir7kslfk4vly984cjx";
version = "5.4.1";
sha256 = "062ilb7s377q3hwfhl8q06vvcw2raydz5ljzlzwy2dmyzmdcndb8";
dataSha256 = "0i45lbnikvgj9kxdp0yphpjjwjcgp4ibn49xkj78j5ic1s9n8jd4";
};
in {

View File

@ -0,0 +1,91 @@
{ lib
, stdenv
, makeWrapper
, makeDesktopItem
, copyDesktopItems
, icoutils
, mono6
, jre
, androidenv
, gtk-sharp-2_0
, gtk2
, libcxx
, libcxxabi
, coreutils
, requireFile
, archive ? requireFile {
name = "snapdragonprofiler_external_linux.tar.gz";
message = ''
This nix expression requires that "snapdragonprofiler_external_linux.tar.gz" is
already part of the store. To get this archive, you need to download it from:
https://developer.qualcomm.com/software/snapdragon-profiler
and add it to the nix store with nix-store --add-fixed sha256 <FILE>.
'';
sha256 = "c6731c417ca39fa9b0f190bd80c99b1603cf97d23becab9e47db6beafd6206b7";
}
}:
stdenv.mkDerivation rec {
pname = "snapdragon-profiler";
version = "v2021.2";
src = archive;
nativeBuildInputs = [
makeWrapper
icoutils
copyDesktopItems
];
buildInputs = [
mono6
gtk-sharp-2_0
gtk2
libcxx
libcxxabi
];
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,lib/snapdragon-profiler}
mkdir -p $out/share/icons/hicolor/{16x16,32x32,48x48}/apps
mv *.so $out/lib
cp -r * $out/lib/snapdragon-profiler
makeWrapper "${mono6}/bin/mono" $out/bin/snapdragon-profiler \
--add-flags "$out/lib/snapdragon-profiler/SnapdragonProfiler.exe" \
--suffix PATH : ${lib.makeBinPath [ jre androidenv.androidPkgs_9_0.platform-tools coreutils ]} \
--prefix MONO_GAC_PREFIX : ${gtk-sharp-2_0} \
--suffix LD_LIBRARY_PATH : $(echo $NIX_LDFLAGS | sed 's/ -L/:/g;s/ -rpath /:/g;s/-rpath //') \
--run "cd $out/lib/snapdragon-profiler" # Fixes themes not loading correctly
wrestool -x -t 14 SnapdragonProfiler.exe > snapdragon-profiler.ico
icotool -x -i 1 -o $out/share/icons/hicolor/16x16/apps/snapdragon-profiler.png snapdragon-profiler.ico
icotool -x -i 2 -o $out/share/icons/hicolor/32x32/apps/snapdragon-profiler.png snapdragon-profiler.ico
icotool -x -i 3 -o $out/share/icons/hicolor/48x48/apps/snapdragon-profiler.png snapdragon-profiler.ico
runHook postInstall
'';
desktopItems = [(makeDesktopItem {
name = pname;
desktopName = "Snapdragon Profiler";
exec = "$out/bin/snapdragon-profiler";
icon = "snapdragon-profiler";
type = "Application";
comment = meta.description;
categories = "Development;Debugger;Graphics;3DGraphics";
terminal = "false";
})];
dontStrip = true; # Always needed on Mono
dontPatchELF = true; # Certain libraries are to be deployed to the remote device, they should not be patched
meta = with lib; {
homepage = "https://developer.qualcomm.com/software/snapdragon-profiler";
description = "An profiler for Android devices running Snapdragon chips";
license = licenses.unfree;
maintainers = [ maintainers.ivar ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -3,13 +3,13 @@
gcc9Stdenv.mkDerivation rec {
pname = "libdnf";
version = "0.61.1";
version = "0.62.0";
src = fetchFromGitHub {
owner = "rpm-software-management";
repo = pname;
rev = version;
sha256 = "sha256-ad0Q/8FEaSqsuA6tVC5SB4bTrGJY/8Xb8S8zrsDIyVc=";
sha256 = "sha256-Se15VmBbzt/NASjrA25RdpHDVIG/GOSqn6ibpBe752g=";
};
nativeBuildInputs = [

View File

@ -8445,6 +8445,8 @@ in
snapcast = callPackage ../applications/audio/snapcast { };
snapdragon-profiler = callPackage ../tools/graphics/snapdragon-profiler { };
sng = callPackage ../tools/graphics/sng {
libpng = libpng12;
};