Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2021-01-01 06:22:43 +00:00 committed by GitHub
commit 645e99f891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 259 additions and 84 deletions

View file

@ -3619,6 +3619,12 @@
email = "t@larkery.com";
name = "Tom Hinton";
};
hirenashah = {
email = "hiren@hiren.io";
github = "hirenashah";
githubId = 19825977;
name = "Hiren Shah";
};
hjones2199 = {
email = "hjones2199@gmail.com";
github = "hjones2199";
@ -3935,6 +3941,12 @@
githubId = 2179419;
name = "Arseniy Seroka";
};
jakeisnt = {
name = "Jacob Chvatal";
email = "jake@isnt.online";
github = "jakeisnt";
githubId = 29869612;
};
jakelogemann = {
email = "jake.logemann@gmail.com";
github = "jakelogemann";
@ -9414,6 +9426,12 @@
fingerprint = "4D23 ECDF 880D CADF 5ECA 4458 874B D6F9 16FA A742";
}];
};
vel = {
email = "llathasa@outlook.com";
github = "llathasa-veleth";
githubId = 61933599;
name = "vel";
};
velovix = {
email = "xaviosx@gmail.com";
github = "velovix";

View file

@ -14,9 +14,9 @@ let
mopidy-gmusic = callPackage ./gmusic.nix { };
mopidy-local = callPackage ./local.nix { };
mopidy-iris = callPackage ./iris.nix { };
mopidy-spotify = callPackage ./spotify.nix { };
mopidy-local = callPackage ./local.nix { };
mopidy-moped = callPackage ./moped.nix { };
@ -26,20 +26,21 @@ let
mopidy-mpris = callPackage ./mpris.nix { };
mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { };
mopidy-scrobbler = callPackage ./scrobbler.nix { };
mopidy-somafm = callPackage ./somafm.nix { };
mopidy-spotify-tunigo = callPackage ./spotify-tunigo.nix { };
mopidy-youtube = callPackage ./youtube.nix { };
mopidy-soundcloud = callPackage ./soundcloud.nix { };
mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { };
mopidy-spotify = callPackage ./spotify.nix { };
mopidy-iris = callPackage ./iris.nix { };
mopidy-spotify-tunigo = callPackage ./spotify-tunigo.nix { };
mopidy-tunein = callPackage ./tunein.nix { };
mopidy-youtube = callPackage ./youtube.nix { };
};
in self

View file

@ -0,0 +1,24 @@
{ stdenv, python3Packages, mopidy }:
python3Packages.buildPythonApplication rec {
pname = "Mopidy-Scrobbler";
version = "2.0.1";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "11vxgax4xgkggnq4fr1rh2rcvzspkkimck5p3h4phdj3qpnj0680";
};
propagatedBuildInputs = with python3Packages; [ mopidy pylast ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "mopidy_scrobbler" ];
meta = with stdenv.lib; {
homepage = "https://github.com/mopidy/mopidy-scrobbler";
description = "Mopidy extension for scrobbling played tracks to Last.fm.";
license = licenses.asl20;
maintainers = with maintainers; [ jakeisnt ];
};
}

View file

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, lv2 }:
stdenv.mkDerivation rec {
version = "v1.1.3";
pname = "plujain-ramp";
src = fetchFromGitHub {
owner = "Houston4444";
repo = "plujain-ramp";
rev = "1bc1fed211e140c7330d6035122234afe78e5257";
sha256 = "1k7qpr8c15d623c4zqxwdklp98amildh03cqsnqq5ia9ba8z3016";
};
buildInputs = [
lv2
];
installFlags = [ "INSTALL_PATH=$(out)/lib/lv2" ];
meta = with stdenv.lib; {
description = "A mono rhythmic tremolo LV2 Audio Plugin";
homepage = "https://github.com/Houston4444/plujain-ramp";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = [ maintainers.hirenashah ];
};
}

View file

@ -1,17 +1,8 @@
diff --git a/app/app.pro b/app/app.pro
index 4d47065..a39a320 100644
index 29f9d9e..15fd2ff 100644
--- a/app/app.pro
+++ b/app/app.pro
@@ -18,6 +18,8 @@
TARGET = mindforger
TEMPLATE = app
+include(../config.pri)
+
QT += widgets
mfner {
@@ -297,7 +299,7 @@ RESOURCES += \
@@ -370,7 +370,7 @@ RESOURCES += \
# See http://doc.qt.io/qt-5/qmake-advanced-usage.html
binfile.files += mindforger
@ -20,51 +11,11 @@ index 4d47065..a39a320 100644
INSTALLS += binfile
# ########################################
diff --git a/config.pri b/config.pri
new file mode 100644
index 0000000..ce05df1
--- /dev/null
+++ b/config.pri
@@ -0,0 +1,3 @@
+isEmpty(PREFIX) {
+ PREFIX = /usr
+}
diff --git a/deps/discount/discount.pro b/deps/discount/discount.pro
index a8dfe35..ec16468 100644
--- a/deps/discount/discount.pro
+++ b/deps/discount/discount.pro
@@ -5,6 +5,8 @@
# Webpage: http://www.pell.portland.or.us/~orc/Code/discount/
#
+include(../../config.pri)
+
QT -= core gui
TARGET = discount
@@ -46,7 +48,7 @@ unix:!symbian {
maemo5 {
target.path = /opt/usr/lib
} else {
- target.path = /usr/lib
+ target.path = $$PREFIX/lib
}
INSTALLS += target
}
diff --git a/mindforger.pro b/mindforger.pro
index ae627f2..0953856 100644
index bd4f21d..6bb2dbc 100644
--- a/mindforger.pro
+++ b/mindforger.pro
@@ -32,6 +32,8 @@ TEMPLATE = subdirs
SUBDIRS = deps lib app
+include(config.pri)
+
# build dependencies
lib.depends = deps
app.depends = lib
@@ -44,20 +46,20 @@ app.depends = lib
@@ -43,20 +43,20 @@ app.depends = lib
#IMPORTANT: binfile MUST be specified in app/app.pro (project next to/that builds binary)
docfiles.files += doc/*

View file

@ -1,35 +1,34 @@
{ mkDerivation, stdenv, fetchurl, qmake, qtbase, qtwebkit }:
{ mkDerivation
, cmark-gfm
, fetchurl
, qmake
, qtbase
, qtwebkit
, stdenv
, wrapGAppsHook
}:
mkDerivation rec {
pname = "mindforger";
version = "1.48.2";
version = "1.52.0";
src = fetchurl {
url = "https://github.com/dvorka/mindforger/releases/download/1.48.0/mindforger_${version}.tgz";
sha256 = "1wlrl8hpjcpnq098l3n2d1gbhbjylaj4z366zvssqvmafr72iyw4";
url = "https://github.com/dvorka/mindforger/releases/download/${version}/mindforger_${version}.tgz";
sha256 = "1pghsw8kwvjhg3jpmjs0n892h2l0pm0cs6ymi8b23fwk0kfj67rd";
};
nativeBuildInputs = [ qmake ] ;
buildInputs = [ qtbase qtwebkit ] ;
nativeBuildInputs = [ qmake wrapGAppsHook ] ;
buildInputs = [ qtbase qtwebkit cmark-gfm ] ;
doCheck = true;
enableParallelBuilding = true ;
patches = [ ./build.patch ] ;
postPatch = ''
substituteInPlace deps/discount/version.c.in --subst-var-by TABSTOP 4
substituteInPlace lib/src/install/installer.cpp --replace /usr "$out"
substituteInPlace app/resources/gnome-shell/mindforger.desktop --replace /usr "$out"
'';
preConfigure = ''
export AC_PATH="$PATH"
pushd deps/discount
./configure.sh
popd
'';
qmakeFlags = [ "-r mindforger.pro" "CONFIG+=mfnoccache" ] ;
meta = with stdenv.lib; {
@ -41,5 +40,6 @@ mkDerivation rec {
homepage = "https://www.mindforger.com";
license = licenses.gpl2Plus;
platforms = platforms.all;
maintainers = with maintainers; [ cyplo ];
};
}

View file

@ -46,7 +46,7 @@ in stdenv.mkDerivation rec {
description =
"An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices";
platforms = intersectLists platforms.x86_64 platforms.linux;
license = licenses.agpl3;
license = licenses.agpl3Only;
maintainers = with maintainers; [ contrun neonfuz];
};
}

View file

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
{ stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }:
rustPlatform.buildRustPackage rec {
pname = "gitoxide";
@ -14,14 +14,14 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "mitUyf/z7EgjKzFy8ZER8Ceoe9tk6r0ctSYdDG87rIU=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
# Needed to get openssl-sys to use pkgconfig.
OPENSSL_NO_VENDOR = 1;
meta = with lib; {
description =
"A command-line application for interacting with git repositories";
meta = with stdenv.lib; {
description = "A command-line application for interacting with git repositories";
homepage = "https://github.com/Byron/gitoxide";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = [ maintainers.syberant ];

View file

@ -258,6 +258,11 @@ let
substituteInPlace tensorflow/tools/pip_package/setup.py \
--replace "numpy >= 1.16.0, < 1.19.0" "numpy >= 1.16.0"
# glibc 2.31+ does not have sys/sysctl.h
# see https://github.com/tensorflow/tensorflow/issues/45861
substituteInPlace third_party/hwloc/BUILD.bazel\
--replace "#define HAVE_SYS_SYSCTL_H 1" "#undef HAVE_SYS_SYSCTL_H"
'';
preConfigure = let

View file

@ -0,0 +1,72 @@
{ stdenv
, rustPlatform
, fetchFromGitLab
, makeDesktopItem
, installShellFiles
, dejavu_fonts
, SDL2
, SDL2_ttf
}:
let
pname = "freenukum";
description = "Clone of the original Duke Nukum 1 Jump'n Run game";
desktopItem = makeDesktopItem {
desktopName = pname;
name = pname;
exec = pname;
icon = pname;
terminal = "false";
comment = description;
type = "Application";
categories = "Game;ArcadeGame;ActionGame";
genericName = pname;
fileValidation = false;
};
in
rustPlatform.buildRustPackage rec {
inherit pname;
version = "0.3.5";
src = fetchFromGitLab {
owner = "silwol";
repo = pname;
rev = "v${version}";
sha256 = "0yqfzh0c8fqk92q9kmidy15dc5li0ak1gbn3v7p3xw5fkrzf99gy";
};
cargoSha256 = "1mi98ccp4026gdc5x9jc6518zb7z4dplxl8vir78ivgdpifzz4pw";
nativeBuildInputs = [
installShellFiles
];
buildInputs = [
SDL2
SDL2_ttf
];
postPatch = ''
substituteInPlace src/graphics.rs \
--replace /usr $out
'';
postInstall = ''
mkdir -p $out/share/fonts/truetype/dejavu
ln -sf \
${dejavu_fonts}/share/fonts/truetype/DejaVuSans.ttf \
$out/share/fonts/truetype/dejavu/DejaVuSans.ttf
mkdir -p $out/share/doc/freenukum
install -Dm644 README.md CHANGELOG.md COPYING $out/share/doc/freenukum/
installManPage doc/freenukum.6
install -Dm644 "${desktopItem}/share/applications/"* -t $out/share/applications/
'';
meta = with stdenv.lib; {
description = "Clone of the original Duke Nukum 1 Jump'n Run game";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ _0x4A6F ];
broken = stdenv.isDarwin;
};
}

View file

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation rec {
pname = "betterdiscordctl";
version = "1.7.0";
src = fetchFromGitHub {
owner = "bb010g";
repo = "betterdiscordctl";
rev = "v${version}";
sha256 = "0qpmm5l8jhm7k0kqblc0bnr9fl4b6z8iddhjar03bb4kqgr962fa";
};
patches = [
(fetchpatch { # Required till https://github.com/bb010g/betterdiscordctl/pull/67 is merged upstream.
url = "https://github.com/bb010g/betterdiscordctl/pull/67/commits/f1c7170fc2626d9aec4d244977b5a73c401aa1d4.patch";
sha256 = "003zqd9ljb9h674sjwjvvdfs7q4cw0p1ydg3lax132vb4vz9k0zi";
})
];
preBuild = "sed -i 's/^nix=$/&yes/g;s/^DISABLE_UPGRADE=$/&yes/g' ./betterdiscordctl";
installPhase = ''
mkdir -p $out/bin
mkdir -p $out/share/doc/betterdiscordctl
install -Dm744 betterdiscordctl $out/bin/betterdiscordctl
install -Dm644 README.md $out/share/doc/betterdiscordctl/README.md
'';
meta = with stdenv.lib; {
homepage = "https://github.com/bb010g/betterdiscordctl";
description = "A utility for managing BetterDiscord on Linux";
license = licenses.mit;
maintainers = with maintainers; [ ivar bb010g ];
platforms = platforms.linux;
};
}

View file

@ -0,0 +1,29 @@
{ stdenv
, lib
, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "disfetch";
version = "1.12";
src = fetchFromGitHub {
owner = "llathasa-veleth";
repo = "disfetch";
rev = version;
sha256 = "1zm8q0fx695x28zg8ihzk3w41439v47n68cw6k551x31mls939yn";
};
dontBuild = true;
installPhase = ''
install -Dm755 -t $out/bin disfetch
'';
meta = with lib; {
description = "Yet another *nix distro fetching program, but less complex";
homepage = "https://github.com/llathasa-veleth/disfetch";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.vel ];
};
}

View file

@ -987,6 +987,8 @@ in
berglas = callPackage ../tools/admin/berglas/default.nix { };
betterdiscordctl = callPackage ../tools/misc/betterdiscordctl { };
brakeman = callPackage ../development/tools/analysis/brakeman { };
brewtarget = libsForQt514.callPackage ../applications/misc/brewtarget { } ;
@ -2014,6 +2016,8 @@ in
discocss = callPackage ../tools/misc/discocss { };
disfetch = callPackage ../tools/misc/disfetch { };
disk-filltest = callPackage ../tools/system/disk-filltest { };
diskscan = callPackage ../tools/misc/diskscan { };
@ -4088,6 +4092,8 @@ in
freedroidrpg = callPackage ../games/freedroidrpg { };
freenukum = callPackage ../games/freenukum { };
freebind = callPackage ../tools/networking/freebind { };
freeipmi = callPackage ../tools/system/freeipmi {};
@ -6685,6 +6691,8 @@ in
playbar2 = libsForQt5.callPackage ../applications/audio/playbar2 { };
plujain-ramp = callPackage ../applications/audio/plujain-ramp { };
plex = callPackage ../servers/plex { };
plexRaw = callPackage ../servers/plex/raw.nix { };
@ -21809,7 +21817,9 @@ in
gitolite = callPackage ../applications/version-management/gitolite { };
gitoxide = callPackage ../applications/version-management/gitoxide { };
gitoxide = callPackage ../applications/version-management/gitoxide {
inherit (darwin.apple_sdk.frameworks) Security;
};
inherit (gnome3) gitg;
@ -22999,6 +23009,7 @@ in
mopidy-mpd
mopidy-mpris
mopidy-musicbox-webclient
mopidy-scrobbler
mopidy-somafm
mopidy-soundcloud
mopidy-spotify