Merge master into staging-next
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
, enableAcousticbrainz ? true
|
||||
, enableAcoustid ? true
|
||||
, enableBadfiles ? true, flac ? null, mp3val ? null
|
||||
, enableConvert ? true, ffmpeg ? null
|
||||
, enableConvert ? true, ffmpeg_3 ? null
|
||||
, enableDiscogs ? true
|
||||
, enableEmbyupdate ? true
|
||||
, enableFetchart ? true
|
||||
@@ -39,7 +39,7 @@ assert enableAbsubmit -> essentia-extractor != null;
|
||||
assert enableAcoustid -> pythonPackages.pyacoustid != null;
|
||||
assert enableBadfiles -> flac != null && mp3val != null;
|
||||
assert enableCheck -> flac != null && mp3val != null && liboggz != null;
|
||||
assert enableConvert -> ffmpeg != null;
|
||||
assert enableConvert -> ffmpeg_3 != null;
|
||||
assert enableDiscogs -> pythonPackages.discogs_client != null;
|
||||
assert enableFetchart -> pythonPackages.responses != null;
|
||||
assert enableGmusic -> pythonPackages.gmusicapi != null;
|
||||
@@ -146,7 +146,7 @@ in pythonPackages.buildPythonApplication rec {
|
||||
|| enableAcousticbrainz)
|
||||
pythonPackages.requests
|
||||
++ optional enableCheck plugins.check
|
||||
++ optional enableConvert ffmpeg
|
||||
++ optional enableConvert ffmpeg_3
|
||||
++ optional enableDiscogs pythonPackages.discogs_client
|
||||
++ optional enableGmusic pythonPackages.gmusicapi
|
||||
++ optional enableKeyfinder keyfinder-cli
|
||||
@@ -200,7 +200,7 @@ in pythonPackages.buildPythonApplication rec {
|
||||
s,"mp3val","${mp3val}/bin/mp3val",
|
||||
}' beetsplug/badfiles.py
|
||||
'' + optionalString enableConvert ''
|
||||
sed -i -e 's,\(util\.command_output(\)\([^)]\+\)),\1[b"${ffmpeg.bin}/bin/ffmpeg" if args[0] == b"ffmpeg" else args[0]] + \2[1:]),' beetsplug/convert.py
|
||||
sed -i -e 's,\(util\.command_output(\)\([^)]\+\)),\1[b"${ffmpeg_3.bin}/bin/ffmpeg" if args[0] == b"ffmpeg" else args[0]] + \2[1:]),' beetsplug/convert.py
|
||||
'' + optionalString enableReplaygain ''
|
||||
sed -i -re '
|
||||
s!^( *cmd *= *b?['\'''"])(bs1770gain['\'''"])!\1${bs1770gain}/bin/\2!
|
||||
|
||||
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gtk-doc docbook_xsl gobject-introspection ];
|
||||
buildInputs = [ glib ];
|
||||
|
||||
mesonFlags = [ "-Dbash-completions=true" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Command-line utility and library for controlling media players that implement MPRIS";
|
||||
homepage = "https://github.com/acrisci/playerctl";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, libpng, bison, flex, ffmpeg, icu }:
|
||||
{ stdenv, fetchFromGitHub, libpng, bison, flex, ffmpeg_3, icu }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cfdg";
|
||||
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "13m8npccacmgxbs4il45zw53dskjh53ngv2nxahwqw8shjrws4mh";
|
||||
};
|
||||
|
||||
buildInputs = [ libpng bison flex ffmpeg icu ];
|
||||
buildInputs = [ libpng bison flex ffmpeg_3 icu ];
|
||||
|
||||
postPatch = ''
|
||||
sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper,
|
||||
maim, slop, ffmpeg, byzanz, libnotify, xdpyinfo }:
|
||||
maim, slop, ffmpeg_3, byzanz, libnotify, xdpyinfo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "yaxg";
|
||||
@@ -13,13 +13,13 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ maim slop ffmpeg byzanz libnotify xdpyinfo ];
|
||||
buildInputs = [ maim slop ffmpeg_3 byzanz libnotify xdpyinfo ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/
|
||||
mv yaxg $out/bin/
|
||||
chmod +x $out/bin/yaxg
|
||||
wrapProgram $out/bin/yaxg --prefix PATH : ${ stdenv.lib.makeBinPath [ maim slop ffmpeg byzanz libnotify xdpyinfo ]}
|
||||
wrapProgram $out/bin/yaxg --prefix PATH : ${ stdenv.lib.makeBinPath [ maim slop ffmpeg_3 byzanz libnotify xdpyinfo ]}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -2,23 +2,23 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "broot";
|
||||
version = "0.13.6";
|
||||
version = "0.15.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Canop";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "08d0zddqqymxj1qcp8c78r7mpii1piy6awaf135jxhzwi775sqqv";
|
||||
sha256 = "1ggzx4w69fmvaxm5gfqhh8ncr2mdx528zm6vwrrwz165lga2fvw6";
|
||||
};
|
||||
|
||||
cargoSha256 = "1cxvx51zkmhszmgwsi0aj469xz98v5nk79zvqfyma27gsnh8jczr";
|
||||
cargoSha256 = "0gcq0fww9hl3avh3qcnpnwmpwda4cymr7x3kd3frdizrs8i643mr";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/verb_store.rs --replace '"/bin/' '"${coreutils}/bin/'
|
||||
substituteInPlace src/verb/builtin.rs --replace '"/bin/' '"${coreutils}/bin/'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, slop, ffmpeg, fetchFromGitHub, makeWrapper}:
|
||||
{ stdenv, slop, ffmpeg_3, fetchFromGitHub, makeWrapper}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "capture-unstable";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
||||
|
||||
patchShebangs $out/bin/capture
|
||||
wrapProgram $out/bin/capture \
|
||||
--prefix PATH : '${stdenv.lib.makeBinPath [ slop ffmpeg ]}'
|
||||
--prefix PATH : '${stdenv.lib.makeBinPath [ slop ffmpeg_3 ]}'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, python3Packages, ffmpeg, zlib, libjpeg }:
|
||||
{ stdenv, fetchFromGitHub, python3Packages, ffmpeg_3, zlib, libjpeg }:
|
||||
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "gif-for-cli";
|
||||
@@ -12,7 +12,7 @@ python3Packages.buildPythonApplication {
|
||||
};
|
||||
|
||||
checkInputs = [ python3Packages.coverage ];
|
||||
buildInputs = [ ffmpeg zlib libjpeg ];
|
||||
buildInputs = [ ffmpeg_3 zlib libjpeg ];
|
||||
propagatedBuildInputs = with python3Packages; [ pillow requests x256 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "watchexec";
|
||||
version = "1.13.0";
|
||||
version = "1.13.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0b6ichf528v9mca67301ncm808mzbdi212j0b8zz72aw8dff6ph2";
|
||||
sha256 = "1idyr3h9dhb67xlhd5bsa7866i75w4jzjbbchq6fd9lqd488bsj7";
|
||||
};
|
||||
|
||||
cargoSha256 = "13812swawp65f4j0c0q9x5bs9s3qancw0q2awasry0pcyh7nrxrj";
|
||||
cargoSha256 = "14lkvfr1yz8g15ffc8j1vvy7q1nwqbkhz2y0fnskwqfzpd17f9gl";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rtmpdump, php, pythonPackages, ffmpeg }:
|
||||
{ stdenv, fetchFromGitHub, rtmpdump, php, pythonPackages, ffmpeg_3 }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "yle-dl";
|
||||
@@ -12,7 +12,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
lxml pyamf pycrypto requests future ffmpeg setuptools
|
||||
lxml pyamf pycrypto requests future ffmpeg_3 setuptools
|
||||
];
|
||||
pythonPath = [ rtmpdump php ];
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ffmpeg, flac, libvorbis, libogg, libid3tag, libexif, libjpeg, sqlite, gettext }:
|
||||
{ stdenv, fetchurl, ffmpeg_3, flac, libvorbis, libogg, libid3tag, libexif, libjpeg, sqlite, gettext }:
|
||||
|
||||
let version = "1.2.1"; in
|
||||
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
export makeFlags="INSTALLPREFIX=$out"
|
||||
'';
|
||||
|
||||
buildInputs = [ ffmpeg flac libvorbis libogg libid3tag libexif libjpeg sqlite gettext ];
|
||||
buildInputs = [ ffmpeg_3 flac libvorbis libogg libid3tag libexif libjpeg sqlite gettext ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/man/man{5,8}
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://central.maven.org/maven2/org/openapitools/${pname}/${version}/${jarfilename}";
|
||||
url = "mirror://maven/org/openapitools/${pname}/${version}/${jarfilename}";
|
||||
sha256 = "1pafv432ll3pp52580pbnk0gnrm6byl5fkrf1rarhxfkpkr82yif";
|
||||
};
|
||||
|
||||
|
||||
@@ -4,13 +4,13 @@ with python3Packages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "reuse";
|
||||
version = "0.7.0";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fsfe";
|
||||
repo = "reuse-tool";
|
||||
rev = "v${version}";
|
||||
sha256 = "04i8zd66cs152h28k9085nqg937wp31pz2yqywaldx1gywijyd8h";
|
||||
sha256 = "08dzvrv28ylbq1bm16lakwzyqq530fcbrl71k33zyb84mvgszy97";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -21,6 +21,7 @@ buildPythonApplication rec {
|
||||
license-expression
|
||||
requests
|
||||
setuptools
|
||||
setuptools_scm
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, makeWrapper, ffmpeg
|
||||
{ stdenv, lib, fetchFromGitHub, rustPlatform, makeWrapper, ffmpeg_3
|
||||
, pandoc, poppler_utils, ripgrep, Security, imagemagick, tesseract
|
||||
}:
|
||||
|
||||
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/rga \
|
||||
--prefix PATH ":" "${lib.makeBinPath [ ffmpeg pandoc poppler_utils ripgrep imagemagick tesseract ]}"
|
||||
--prefix PATH ":" "${lib.makeBinPath [ ffmpeg_3 pandoc poppler_utils ripgrep imagemagick tesseract ]}"
|
||||
'';
|
||||
|
||||
# Use upstream's example data to run a couple of queries to ensure the dependencies
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
, ffmpeg
|
||||
, ffmpeg_3
|
||||
, imagemagick
|
||||
, makeWrapper
|
||||
, mplayer
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
install -Dm755 gopro -t $out/bin
|
||||
wrapProgram $out/bin/gopro \
|
||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ ffmpeg imagemagick mplayer ]}"
|
||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ ffmpeg_3 imagemagick mplayer ]}"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user