1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2021-06-18 00:10:09 +00:00 committed by GitHub
commit 26f9b05859
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 198 additions and 176 deletions

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "go-jira";
version = "1.0.27";
version = "1.0.28";
src = fetchFromGitHub {
rev = "v${version}";
owner = "go-jira";
repo = "jira";
sha256 = "1sw56aqghfxh88mfchf0nvqld0x7w22jfwx13pd24slxv1iag1nb";
sha256 = "sha256-h/x77xGqdOxPBxdchElZU9GFgjnNo89o9gx4fYM5dME=";
};
vendorSha256 = "0d64gkkzfm6hbgqaibj26fpaqnjs50p1675ycrshdhn6blb5mbxg";
vendorSha256 = "sha256-r69aFl3GwgZ1Zr4cEy4oWlqsrjNCrqjwW9BU9+d8xDQ=";
doCheck = false;

View file

@ -12,7 +12,7 @@
with lib;
stdenv.mkDerivation rec {
version = "0.31.4";
version = "0.32.1";
pname = "notmuch";
passthru = {
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
src = fetchgit {
url = "https://git.notmuchmail.org/git/notmuch";
sha256 = "sha256-M+LEf257OcDlHOCYYxzEVQpop+i2gzO/QJPdajz/CRM=";
sha256 = "sha256:06r0hdz8mxnzag74md62a9m6c2zm0fxn45n4n1c26j5cmrys7j16";
rev = version;
};

View file

@ -0,0 +1,45 @@
{ lib, stdenv, fetchurl, autoreconfHook, docbook_xsl, ffmpeg-full, glib, gtk3
, intltool, libxslt, pkg-config, sox, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "imagination";
version = "3.6";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
sha256 = "139dgb9vfr2q7bxvjskykdz526xxwrn0bh463ir8m2p7rx5a3pw5";
};
nativeBuildInputs = [
autoreconfHook
docbook_xsl
intltool
libxslt
pkg-config
wrapGAppsHook
];
buildInputs = [ ffmpeg-full glib gtk3 sox ];
preBuild = ''
substituteInPlace src/main-window.c \
--replace 'gtk_icon_theme_load_icon(icon_theme,"image", 20, 0, NULL)' \
'gtk_icon_theme_load_icon(icon_theme,"insert-image", 20, 0, NULL)' \
--replace 'gtk_icon_theme_load_icon(icon_theme,"sound", 20, 0, NULL)' \
'gtk_icon_theme_load_icon(icon_theme,"audio-x-generic", 20, 0, NULL)'
'';
preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${lib.makeBinPath [ ffmpeg-full sox ]}"
)
'';
meta = with lib; {
description = "Lightweight and simple DVD slide show maker";
homepage = "http://imagination.sourceforge.net";
license = licenses.gpl3Only;
maintainers = with maintainers; [ austinbutler ];
platforms = platforms.linux;
};
}

View file

@ -114,13 +114,13 @@ in mkDerivation rec {
];
postInstall = ''
wrapProgram $out/bin/obs \
--prefix "LD_LIBRARY_PATH" : "${xorg.libX11.out}/lib:${libvlc}/lib"
wrapProgram $out/bin/obs \
--prefix "LD_LIBRARY_PATH" : "${xorg.libX11.out}/lib:${libvlc}/lib"
'';
postFixup = lib.optionalString stdenv.isLinux ''
addOpenGLRunpath $out/lib/lib*.so
addOpenGLRunpath $out/lib/obs-plugins/*.so
addOpenGLRunpath $out/lib/lib*.so
addOpenGLRunpath $out/lib/obs-plugins/*.so
'';
meta = with lib; {
@ -131,7 +131,7 @@ in mkDerivation rec {
video content, efficiently
'';
homepage = "https://obsproject.com";
maintainers = with maintainers; [ jb55 MP2E ];
maintainers = with maintainers; [ jb55 MP2E V ];
license = licenses.gpl2;
platforms = [ "x86_64-linux" "i686-linux" ];
};

View file

@ -0,0 +1,9 @@
{ callPackage, libsForQt5 }:
{
obs-gstreamer = callPackage ./obs-gstreamer.nix {};
obs-move-transition = callPackage ./obs-move-transition.nix {};
obs-multi-rtmp = libsForQt5.callPackage ./obs-multi-rtmp.nix {};
obs-ndi = libsForQt5.callPackage ./obs-ndi.nix {};
wlrobs = callPackage ./wlrobs.nix {};
}

View file

@ -22,18 +22,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config meson ninja ];
buildInputs = [ gst_all_1.gstreamermm obs-studio ];
# obs-studio expects the shared object to be located in bin/32bit or bin/64bit
# https://github.com/obsproject/obs-studio/blob/d60c736cb0ec0491013293c8a483d3a6573165cb/libobs/obs-nix.c#L48
postInstall = let
pluginPath = {
i686-linux = "bin/32bit";
x86_64-linux = "bin/64bit";
}.${stdenv.targetPlatform.system} or (throw "Unsupported system: ${stdenv.targetPlatform.system}");
in ''
mkdir -p $out/share/obs/obs-plugins/obs-gstreamer/${pluginPath}
ln -s $out/lib/obs-plugins/obs-gstreamer.so $out/share/obs/obs-plugins/obs-gstreamer/${pluginPath}
'';
meta = with lib; {
description = "An OBS Studio source, encoder and video filter plugin to use GStreamer elements/pipelines in OBS Studio";
homepage = "https://github.com/fswoch/obs-gstreamer";

View file

@ -39,18 +39,6 @@ stdenv.mkDerivation rec {
substituteInPlace audio-move.c --replace '<../UI/obs-frontend-api/obs-frontend-api.h>' '<obs-frontend-api.h>'
'';
# obs-studio expects the shared object to be located in bin/32bit or bin/64bit
# https://github.com/obsproject/obs-studio/blob/d60c736cb0ec0491013293c8a483d3a6573165cb/libobs/obs-nix.c#L48
postInstall = let
pluginPath = {
i686-linux = "bin/32bit";
x86_64-linux = "bin/64bit";
}.${stdenv.targetPlatform.system} or (throw "Unsupported system: ${stdenv.targetPlatform.system}");
in ''
mkdir -p $out/share/obs/obs-plugins/move-transition/${pluginPath}
ln -s $out/lib/obs-plugins/move-transition.so $out/share/obs/obs-plugins/move-transition/${pluginPath}
'';
meta = with lib; {
description = "Plugin for OBS Studio to move source to a new position during scene transition";
homepage = "https://github.com/exeldro/obs-move-transition";

View file

@ -20,18 +20,6 @@ stdenv.mkDerivation rec {
dontWrapQtApps = true;
# obs-studio expects the shared object to be located in bin/32bit or bin/64bit
# https://github.com/obsproject/obs-studio/blob/d60c736cb0ec0491013293c8a483d3a6573165cb/libobs/obs-nix.c#L48
postInstall = let
pluginPath = {
i686-linux = "bin/32bit";
x86_64-linux = "bin/64bit";
}.${stdenv.targetPlatform.system} or (throw "Unsupported system: ${stdenv.targetPlatform.system}");
in ''
mkdir -p $out/share/obs/obs-plugins/obs-multi-rtmp/${pluginPath}
ln -s $out/lib/obs-plugins/obs-multi-rtmp.so $out/share/obs/obs-plugins/obs-multi-rtmp/${pluginPath}
'';
meta = with lib; {
homepage = "https://github.com/sorayuki/obs-multi-rtmp/";
changelog = "https://github.com/sorayuki/obs-multi-rtmp/releases/tag/${version}";

View file

@ -1,10 +1,3 @@
# We don't have a wrapper which can supply obs-studio plugins so you have to
# somewhat manually install this:
# nix-env -f "<nixpkgs>" -iA obs-ndi
# mkdir -p ~/.config/obs-studio/plugins/bin
# ln -s ~/.nix-profile/lib/obs-plugins/obs-ndi.so ~/.config/obs-studio/plugins/bin/
{ lib, stdenv, fetchFromGitHub, obs-studio, cmake, qtbase, ndi }:
stdenv.mkDerivation rec {

View file

@ -0,0 +1,26 @@
{ lib, stdenv, fetchhg
, meson, pkg-config, ninja
, wayland, obs-studio, libX11
}:
stdenv.mkDerivation {
pname = "wlrobs";
version = "unstable-2021-05-13";
src = fetchhg {
url = "https://hg.sr.ht/~scoopta/wlrobs";
rev = "4184a4a8ea7dc054c993efa16007f3a75b2c6f51";
sha256 = "146xirzd3nw1sd216y406v1riky9k08b6a0j4kwxrif5zyqa3adc";
};
nativeBuildInputs = [ meson pkg-config ninja ];
buildInputs = [ wayland obs-studio libX11 ];
meta = with lib; {
description = "An obs-studio plugin that allows you to screen capture on wlroots based wayland compositors";
homepage = "https://hg.sr.ht/~scoopta/wlrobs";
maintainers = with maintainers; [ grahamc V ];
license = licenses.gpl3Plus;
platforms = [ "x86_64-linux" ];
};
}

View file

@ -1,57 +0,0 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, qtbase
, obs-studio
}:
stdenv.mkDerivation rec {
pname = "obs-v4l2sink";
version = "0.1.0-12-g1ec3c8a";
src = fetchFromGitHub {
owner = "CatxFish";
repo = "obs-v4l2sink";
rev = version;
sha256 = "03ah91cm1qz26k90mfx51l0d598i9bcmw39lkikjs1msm4c9dfxx";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase obs-studio ];
dontWrapQtApps = true;
patches = [
# Fixes the segfault when stopping the plugin
(fetchpatch {
url = "https://github.com/CatxFish/obs-v4l2sink/commit/6604f01796d1b84a95714730ea51a6b8ac0e450b.diff";
sha256 = "0crcvw02dj0aqy7hnhizjdsnhiw03zmg6cbdkasxz2mrrbyc3s88";
})
];
cmakeFlags = with lib; [
"-DLIBOBS_INCLUDE_DIR=${obs-studio.src}/libobs"
];
# obs-studio expects the shared object to be located in bin/32bit or bin/64bit
# https://github.com/obsproject/obs-studio/blob/d60c736cb0ec0491013293c8a483d3a6573165cb/libobs/obs-nix.c#L48
postInstall = let
pluginPath = {
i686-linux = "bin/32bit";
x86_64-linux = "bin/64bit";
}.${stdenv.targetPlatform.system} or (throw "Unsupported system: ${stdenv.targetPlatform.system}");
in ''
mkdir -p $out/share/obs/obs-plugins/v4l2sink/${pluginPath}
ln -s $out/lib/obs-plugins/v4l2sink.so $out/share/obs/obs-plugins/v4l2sink/${pluginPath}
'';
meta = with lib; {
description = "obs studio output plugin for Video4Linux2 device";
homepage = "https://github.com/CatxFish/obs-v4l2sink";
maintainers = with maintainers; [ colemickens peelz ];
license = licenses.gpl2;
platforms = [ "x86_64-linux" "i686-linux" ];
};
}

View file

@ -1,42 +0,0 @@
# (the following is somewhat lifted from ./linuxbrowser.nix)
# We don't have a wrapper which can supply obs-studio plugins so you have to
# somewhat manually install this:
# nix-env -f . -iA obs-wlrobs
# mkdir -p ~/.config/obs-studio/plugins/wlrobs/bin/64bit
# ln -s ~/.nix-profile/share/obs/obs-plugins/wlrobs/bin/64bit/libwlrobs.so ~/.config/obs-studio/plugins/wlrobs/bin/64bit
{ stdenv, fetchhg, wayland, obs-studio
, meson, ninja, pkg-config, libX11
, dmabufSupport ? false, libdrm ? null, libGL ? null, lib}:
assert dmabufSupport -> libdrm != null && libGL != null;
stdenv.mkDerivation {
pname = "obs-wlrobs";
version = "20200622";
src = fetchhg {
url = "https://hg.sr.ht/~scoopta/wlrobs";
rev = "1d3acaaf64049da3da9721aa8b9b47582fe0081b";
sha256 = "0qrcf8024r4ynfjw0zx8vn59ygx9q5rb196s6nyxmy3gkv2lfxlq";
};
buildInputs = [ libX11 libGL libdrm meson ninja pkg-config wayland obs-studio ];
installPhase = ''
mkdir -p $out/share/obs/obs-plugins/wlrobs/bin/64bit
cp ./libwlrobs.so $out/share/obs/obs-plugins/wlrobs/bin/64bit/
'';
mesonFlags = [
"-Duse_dmabuf=${lib.boolToString dmabufSupport}"
];
meta = with lib; {
description = "An obs-studio plugin that allows you to screen capture on wlroots based wayland compositors";
homepage = "https://hg.sr.ht/~scoopta/wlrobs";
maintainers = with maintainers; [ grahamc ];
license = licenses.gpl3;
platforms = [ "x86_64-linux" ];
};
}

View file

@ -0,0 +1,21 @@
{ obs-studio, symlinkJoin, makeWrapper }:
{ plugins ? [] }:
symlinkJoin {
name = "wrapped-${obs-studio.name}";
nativeBuildInputs = [ makeWrapper ];
paths = [ obs-studio ] ++ plugins;
postBuild = ''
wrapProgram $out/bin/obs \
--set OBS_PLUGINS_PATH "$out/lib/obs-plugins" \
--set OBS_PLUGINS_DATA_PATH "$out/share/obs/obs-plugins"
'';
inherit (obs-studio) meta;
passthru = obs-studio.passthru // {
passthru.unwrapped = obs-studio;
};
}

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, fetchpatch, pkg-config, flex, bison, libxslt, autoconf, autoreconfHook
, graphviz, glib, libiconv, libintl, libtool, expat, substituteAll
, gnome, graphviz, glib, libiconv, libintl, libtool, expat, substituteAll
}:
let
@ -88,13 +88,12 @@ let
doCheck = false; # fails, requires dbus daemon
# Wait for PR #59372
# passthru = {
# updateScript = gnome.updateScript {
# attrPath = "${pname}_${lib.versions.major version}_${lib.versions.minor version}";
# packageName = pname;
# };
# };
passthru = {
updateScript = gnome.updateScript {
attrPath = "${pname}_${lib.versions.major version}_${lib.versions.minor version}";
packageName = pname;
};
};
meta = with lib; {
description = "Compiler for GObject type system";

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "pdunehd";
version = "1.3.2";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "valentinalexeev";
repo = "pdunehd";
rev = version;
sha256 = "06p0k82nf89rsakr8d2hdb19dp1wqp9bsf54lwb0qma47iakljjh";
};
propagatedBuildInputs = [
requests
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "pdunehd" ];
meta = with lib; {
description = "Python wrapper for Dune HD media player API";
homepage = "https://github.com/valentinalexeev/pdunehd";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -194,7 +194,7 @@
"dte_energy_bridge" = ps: with ps; [ ];
"dublin_bus_transport" = ps: with ps; [ ];
"duckdns" = ps: with ps; [ ];
"dunehd" = ps: with ps; [ ]; # missing inputs: pdunehd
"dunehd" = ps: with ps; [ pdunehd ];
"dwd_weather_warnings" = ps: with ps; [ dwdwfsapi ];
"dweet" = ps: with ps; [ ]; # missing inputs: dweepy
"dynalite" = ps: with ps; [ ]; # missing inputs: dynalite_devices

View file

@ -347,6 +347,7 @@ in with py.pkgs; buildPythonApplication rec {
"dsmr"
"dte_energy_bridge"
"duckdns"
"dunehd"
"dyson"
"eafm"
"econet"

View file

@ -97,8 +97,9 @@ in stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = "NetworkManager";
attrPath = "networkmanager";
versionPolicy = "odd-unstable";
};
};

View file

@ -1018,6 +1018,38 @@ mapAliases ({
& maintenance is abandoned by upstream.
'';
# Added 2021-06-01
obs-gstreamer = throw ''
obs-gstreamer has been converted into a plugin for use with wrapOBS.
Its new location is obs-studio-plugins.obs-gstreamer.
'';
# Added 2021-06-01
obs-move-transition = throw ''
obs-move-transition has been converted into a plugin for use with wrapOBS.
Its new location is obs-studio-plugins.obs-move-transition.
'';
# Added 2021-06-01
obs-multi-rtmp = throw ''
obs-multi-rtmp has been converted into a plugin for use with wrapOBS.
Its new location is obs-studio-plugins.obs-multi-rtmp.
'';
# Added 2021-06-01
obs-ndi = throw ''
obs-ndi has been converted into a plugin for use with wrapOBS.
Its new location is obs-studio-plugins.obs-ndi.
'';
obs-v4l2sink = throw "obs-v4l2sink is integrated into upstream OBS since version 26.1"; # Added 2021-06-01
# Added 2021-06-01
obs-wlrobs = throw ''
wlrobs has been converted into a plugin for use with wrapOBS.
Its new location is obs-studio-plugins.wlrobs.
'';
/* If these are in the scope of all-packages.nix, they cause collisions
between mixed versions of qt. See:
https://github.com/NixOS/nixpkgs/pull/101369 */

View file

@ -14729,7 +14729,7 @@ in
dbus-sharp-glib-1_0 = callPackage ../development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix { };
dbus-sharp-glib-2_0 = callPackage ../development/libraries/dbus-sharp-glib { };
makeDBusConf = { suidHelper, serviceDirectories, apparmor }:
makeDBusConf = { suidHelper, serviceDirectories, apparmor ? "disabled" }:
callPackage ../development/libraries/dbus/make-dbus-conf.nix {
inherit suidHelper serviceDirectories apparmor;
};
@ -24640,6 +24640,8 @@ in
inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation;
});
imagination = callPackage ../applications/video/imagination { };
inherit (nodePackages) imapnotify;
img2pdf = with python3Packages; toPythonApplication img2pdf;
@ -25828,19 +25830,9 @@ in
oberon-risc-emu = callPackage ../misc/emulators/oberon-risc-emu { };
obs-studio = libsForQt5.callPackage ../applications/video/obs-studio { };
obs-wlrobs = callPackage ../applications/video/obs-studio/wlrobs.nix { };
obs-gstreamer = callPackage ../applications/video/obs-studio/obs-gstreamer.nix { };
obs-move-transition = callPackage ../applications/video/obs-studio/obs-move-transition.nix { };
obs-multi-rtmp = libsForQt5.callPackage ../applications/video/obs-studio/obs-multi-rtmp.nix { };
obs-v4l2sink = libsForQt5.callPackage ../applications/video/obs-studio/v4l2sink.nix { };
obs-ndi = libsForQt5.callPackage ../applications/video/obs-studio/obs-ndi.nix { };
obs-studio = libsForQt5.callPackage ../applications/video/obs-studio {};
obs-studio-plugins = callPackage ../applications/video/obs-studio/plugins {};
wrapOBS = callPackage ../applications/video/obs-studio/wrapper.nix {};
obsidian = callPackage ../applications/misc/obsidian { };

View file

@ -5162,6 +5162,8 @@ in {
phonenumbers = callPackage ../development/python-modules/phonenumbers { };
pdunehd = callPackage ../development/python-modules/pdunehd { };
phonopy = callPackage ../development/python-modules/phonopy { };
phpserialize = callPackage ../development/python-modules/phpserialize { };