Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 645e99f8 54ab07c1

+258 -83
+18
maintainers/maintainer-list.nix
··· 3619 3619 email = "t@larkery.com"; 3620 3620 name = "Tom Hinton"; 3621 3621 }; 3622 + hirenashah = { 3623 + email = "hiren@hiren.io"; 3624 + github = "hirenashah"; 3625 + githubId = 19825977; 3626 + name = "Hiren Shah"; 3627 + }; 3622 3628 hjones2199 = { 3623 3629 email = "hjones2199@gmail.com"; 3624 3630 github = "hjones2199"; ··· 3934 3940 github = "jagajaga"; 3935 3941 githubId = 2179419; 3936 3942 name = "Arseniy Seroka"; 3943 + }; 3944 + jakeisnt = { 3945 + name = "Jacob Chvatal"; 3946 + email = "jake@isnt.online"; 3947 + github = "jakeisnt"; 3948 + githubId = 29869612; 3937 3949 }; 3938 3950 jakelogemann = { 3939 3951 email = "jake.logemann@gmail.com"; ··· 9413 9425 longkeyid = "rsa4096/0x874BD6F916FAA742"; 9414 9426 fingerprint = "4D23 ECDF 880D CADF 5ECA 4458 874B D6F9 16FA A742"; 9415 9427 }]; 9428 + }; 9429 + vel = { 9430 + email = "llathasa@outlook.com"; 9431 + github = "llathasa-veleth"; 9432 + githubId = 61933599; 9433 + name = "vel"; 9416 9434 }; 9417 9435 velovix = { 9418 9436 email = "xaviosx@gmail.com";
+8 -7
pkgs/applications/audio/mopidy/default.nix
··· 14 14 15 15 mopidy-gmusic = callPackage ./gmusic.nix { }; 16 16 17 - mopidy-local = callPackage ./local.nix { }; 17 + mopidy-iris = callPackage ./iris.nix { }; 18 18 19 - mopidy-spotify = callPackage ./spotify.nix { }; 19 + mopidy-local = callPackage ./local.nix { }; 20 20 21 21 mopidy-moped = callPackage ./moped.nix { }; 22 22 ··· 26 26 27 27 mopidy-mpris = callPackage ./mpris.nix { }; 28 28 29 - mopidy-somafm = callPackage ./somafm.nix { }; 29 + mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { }; 30 30 31 - mopidy-spotify-tunigo = callPackage ./spotify-tunigo.nix { }; 31 + mopidy-scrobbler = callPackage ./scrobbler.nix { }; 32 32 33 - mopidy-youtube = callPackage ./youtube.nix { }; 33 + mopidy-somafm = callPackage ./somafm.nix { }; 34 34 35 35 mopidy-soundcloud = callPackage ./soundcloud.nix { }; 36 36 37 - mopidy-musicbox-webclient = callPackage ./musicbox-webclient.nix { }; 37 + mopidy-spotify = callPackage ./spotify.nix { }; 38 38 39 - mopidy-iris = callPackage ./iris.nix { }; 39 + mopidy-spotify-tunigo = callPackage ./spotify-tunigo.nix { }; 40 40 41 41 mopidy-tunein = callPackage ./tunein.nix { }; 42 42 43 + mopidy-youtube = callPackage ./youtube.nix { }; 43 44 }; 44 45 45 46 in self
+24
pkgs/applications/audio/mopidy/scrobbler.nix
··· 1 + { stdenv, python3Packages, mopidy }: 2 + 3 + python3Packages.buildPythonApplication rec { 4 + pname = "Mopidy-Scrobbler"; 5 + version = "2.0.1"; 6 + 7 + src = python3Packages.fetchPypi { 8 + inherit pname version; 9 + sha256 = "11vxgax4xgkggnq4fr1rh2rcvzspkkimck5p3h4phdj3qpnj0680"; 10 + }; 11 + 12 + propagatedBuildInputs = with python3Packages; [ mopidy pylast ]; 13 + 14 + # no tests implemented 15 + doCheck = false; 16 + pythonImportsCheck = [ "mopidy_scrobbler" ]; 17 + 18 + meta = with stdenv.lib; { 19 + homepage = "https://github.com/mopidy/mopidy-scrobbler"; 20 + description = "Mopidy extension for scrobbling played tracks to Last.fm."; 21 + license = licenses.asl20; 22 + maintainers = with maintainers; [ jakeisnt ]; 23 + }; 24 + }
+27
pkgs/applications/audio/plujain-ramp/default.nix
··· 1 + { stdenv, fetchFromGitHub, lv2 }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "v1.1.3"; 5 + pname = "plujain-ramp"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "Houston4444"; 9 + repo = "plujain-ramp"; 10 + rev = "1bc1fed211e140c7330d6035122234afe78e5257"; 11 + sha256 = "1k7qpr8c15d623c4zqxwdklp98amildh03cqsnqq5ia9ba8z3016"; 12 + }; 13 + 14 + buildInputs = [ 15 + lv2 16 + ]; 17 + 18 + installFlags = [ "INSTALL_PATH=$(out)/lib/lv2" ]; 19 + 20 + meta = with stdenv.lib; { 21 + description = "A mono rhythmic tremolo LV2 Audio Plugin"; 22 + homepage = "https://github.com/Houston4444/plujain-ramp"; 23 + license = licenses.gpl2Only; 24 + platforms = platforms.linux; 25 + maintainers = [ maintainers.hirenashah ]; 26 + }; 27 + }
+4 -53
pkgs/applications/editors/mindforger/build.patch
··· 1 1 diff --git a/app/app.pro b/app/app.pro 2 - index 4d47065..a39a320 100644 2 + index 29f9d9e..15fd2ff 100644 3 3 --- a/app/app.pro 4 4 +++ b/app/app.pro 5 - @@ -18,6 +18,8 @@ 6 - TARGET = mindforger 7 - TEMPLATE = app 8 - 9 - +include(../config.pri) 10 - + 11 - QT += widgets 12 - 13 - mfner { 14 - @@ -297,7 +299,7 @@ RESOURCES += \ 5 + @@ -370,7 +370,7 @@ RESOURCES += \ 15 6 # See http://doc.qt.io/qt-5/qmake-advanced-usage.html 16 7 17 8 binfile.files += mindforger ··· 20 11 INSTALLS += binfile 21 12 22 13 # ######################################## 23 - diff --git a/config.pri b/config.pri 24 - new file mode 100644 25 - index 0000000..ce05df1 26 - --- /dev/null 27 - +++ b/config.pri 28 - @@ -0,0 +1,3 @@ 29 - +isEmpty(PREFIX) { 30 - + PREFIX = /usr 31 - +} 32 - diff --git a/deps/discount/discount.pro b/deps/discount/discount.pro 33 - index a8dfe35..ec16468 100644 34 - --- a/deps/discount/discount.pro 35 - +++ b/deps/discount/discount.pro 36 - @@ -5,6 +5,8 @@ 37 - # Webpage: http://www.pell.portland.or.us/~orc/Code/discount/ 38 - # 39 - 40 - +include(../../config.pri) 41 - + 42 - QT -= core gui 43 - 44 - TARGET = discount 45 - @@ -46,7 +48,7 @@ unix:!symbian { 46 - maemo5 { 47 - target.path = /opt/usr/lib 48 - } else { 49 - - target.path = /usr/lib 50 - + target.path = $$PREFIX/lib 51 - } 52 - INSTALLS += target 53 - } 54 14 diff --git a/mindforger.pro b/mindforger.pro 55 - index ae627f2..0953856 100644 15 + index bd4f21d..6bb2dbc 100644 56 16 --- a/mindforger.pro 57 17 +++ b/mindforger.pro 58 - @@ -32,6 +32,8 @@ TEMPLATE = subdirs 59 - 60 - SUBDIRS = deps lib app 61 - 62 - +include(config.pri) 63 - + 64 - # build dependencies 65 - lib.depends = deps 66 - app.depends = lib 67 - @@ -44,20 +46,20 @@ app.depends = lib 18 + @@ -43,20 +43,20 @@ app.depends = lib 68 19 #IMPORTANT: binfile MUST be specified in app/app.pro (project next to/that builds binary) 69 20 70 21 docfiles.files += doc/*
+16 -16
pkgs/applications/editors/mindforger/default.nix
··· 1 - { mkDerivation, stdenv, fetchurl, qmake, qtbase, qtwebkit }: 1 + { mkDerivation 2 + , cmark-gfm 3 + , fetchurl 4 + , qmake 5 + , qtbase 6 + , qtwebkit 7 + , stdenv 8 + , wrapGAppsHook 9 + }: 2 10 3 11 mkDerivation rec { 4 12 pname = "mindforger"; 5 - version = "1.48.2"; 13 + version = "1.52.0"; 6 14 7 15 src = fetchurl { 8 - url = "https://github.com/dvorka/mindforger/releases/download/1.48.0/mindforger_${version}.tgz"; 9 - sha256 = "1wlrl8hpjcpnq098l3n2d1gbhbjylaj4z366zvssqvmafr72iyw4"; 16 + url = "https://github.com/dvorka/mindforger/releases/download/${version}/mindforger_${version}.tgz"; 17 + sha256 = "1pghsw8kwvjhg3jpmjs0n892h2l0pm0cs6ymi8b23fwk0kfj67rd"; 10 18 }; 11 19 12 - nativeBuildInputs = [ qmake ] ; 13 - buildInputs = [ qtbase qtwebkit ] ; 20 + nativeBuildInputs = [ qmake wrapGAppsHook ] ; 21 + buildInputs = [ qtbase qtwebkit cmark-gfm ] ; 14 22 15 23 doCheck = true; 16 24 17 - enableParallelBuilding = true ; 18 - 19 25 patches = [ ./build.patch ] ; 20 26 21 27 postPatch = '' 22 - substituteInPlace deps/discount/version.c.in --subst-var-by TABSTOP 4 28 + substituteInPlace lib/src/install/installer.cpp --replace /usr "$out" 23 29 substituteInPlace app/resources/gnome-shell/mindforger.desktop --replace /usr "$out" 24 30 ''; 25 31 26 - preConfigure = '' 27 - export AC_PATH="$PATH" 28 - pushd deps/discount 29 - ./configure.sh 30 - popd 31 - ''; 32 - 33 32 qmakeFlags = [ "-r mindforger.pro" "CONFIG+=mfnoccache" ] ; 34 33 35 34 meta = with stdenv.lib; { ··· 41 40 homepage = "https://www.mindforger.com"; 42 41 license = licenses.gpl2Plus; 43 42 platforms = platforms.all; 43 + maintainers = with maintainers; [ cyplo ]; 44 44 }; 45 45 }
+1 -1
pkgs/applications/misc/koreader/default.nix
··· 46 46 description = 47 47 "An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices"; 48 48 platforms = intersectLists platforms.x86_64 platforms.linux; 49 - license = licenses.agpl3; 49 + license = licenses.agpl3Only; 50 50 maintainers = with maintainers; [ contrun neonfuz]; 51 51 }; 52 52 }
+5 -5
pkgs/applications/version-management/gitoxide/default.nix
··· 1 - { lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }: 1 + { stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, Security }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "gitoxide"; ··· 14 14 cargoSha256 = "mitUyf/z7EgjKzFy8ZER8Ceoe9tk6r0ctSYdDG87rIU="; 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 - buildInputs = [ openssl ]; 17 + buildInputs = [ openssl ] 18 + ++ stdenv.lib.optionals stdenv.isDarwin [ Security ]; 18 19 19 20 # Needed to get openssl-sys to use pkgconfig. 20 21 OPENSSL_NO_VENDOR = 1; 21 22 22 - meta = with lib; { 23 - description = 24 - "A command-line application for interacting with git repositories"; 23 + meta = with stdenv.lib; { 24 + description = "A command-line application for interacting with git repositories"; 25 25 homepage = "https://github.com/Byron/gitoxide"; 26 26 license = with licenses; [ mit /* or */ asl20 ]; 27 27 maintainers = [ maintainers.syberant ];
+5
pkgs/development/python-modules/tensorflow/1/default.nix
··· 258 258 259 259 substituteInPlace tensorflow/tools/pip_package/setup.py \ 260 260 --replace "numpy >= 1.16.0, < 1.19.0" "numpy >= 1.16.0" 261 + 262 + # glibc 2.31+ does not have sys/sysctl.h 263 + # see https://github.com/tensorflow/tensorflow/issues/45861 264 + substituteInPlace third_party/hwloc/BUILD.bazel\ 265 + --replace "#define HAVE_SYS_SYSCTL_H 1" "#undef HAVE_SYS_SYSCTL_H" 261 266 ''; 262 267 263 268 preConfigure = let
+72
pkgs/games/freenukum/default.nix
··· 1 + { stdenv 2 + , rustPlatform 3 + , fetchFromGitLab 4 + , makeDesktopItem 5 + , installShellFiles 6 + , dejavu_fonts 7 + , SDL2 8 + , SDL2_ttf 9 + }: 10 + let 11 + pname = "freenukum"; 12 + description = "Clone of the original Duke Nukum 1 Jump'n Run game"; 13 + 14 + desktopItem = makeDesktopItem { 15 + desktopName = pname; 16 + name = pname; 17 + exec = pname; 18 + icon = pname; 19 + terminal = "false"; 20 + comment = description; 21 + type = "Application"; 22 + categories = "Game;ArcadeGame;ActionGame"; 23 + genericName = pname; 24 + fileValidation = false; 25 + }; 26 + 27 + in 28 + rustPlatform.buildRustPackage rec { 29 + inherit pname; 30 + version = "0.3.5"; 31 + 32 + src = fetchFromGitLab { 33 + owner = "silwol"; 34 + repo = pname; 35 + rev = "v${version}"; 36 + sha256 = "0yqfzh0c8fqk92q9kmidy15dc5li0ak1gbn3v7p3xw5fkrzf99gy"; 37 + }; 38 + 39 + cargoSha256 = "1mi98ccp4026gdc5x9jc6518zb7z4dplxl8vir78ivgdpifzz4pw"; 40 + 41 + nativeBuildInputs = [ 42 + installShellFiles 43 + ]; 44 + 45 + buildInputs = [ 46 + SDL2 47 + SDL2_ttf 48 + ]; 49 + 50 + postPatch = '' 51 + substituteInPlace src/graphics.rs \ 52 + --replace /usr $out 53 + ''; 54 + 55 + postInstall = '' 56 + mkdir -p $out/share/fonts/truetype/dejavu 57 + ln -sf \ 58 + ${dejavu_fonts}/share/fonts/truetype/DejaVuSans.ttf \ 59 + $out/share/fonts/truetype/dejavu/DejaVuSans.ttf 60 + mkdir -p $out/share/doc/freenukum 61 + install -Dm644 README.md CHANGELOG.md COPYING $out/share/doc/freenukum/ 62 + installManPage doc/freenukum.6 63 + install -Dm644 "${desktopItem}/share/applications/"* -t $out/share/applications/ 64 + ''; 65 + 66 + meta = with stdenv.lib; { 67 + description = "Clone of the original Duke Nukum 1 Jump'n Run game"; 68 + license = licenses.agpl3Plus; 69 + maintainers = with maintainers; [ _0x4A6F ]; 70 + broken = stdenv.isDarwin; 71 + }; 72 + }
+37
pkgs/tools/misc/betterdiscordctl/default.nix
··· 1 + { stdenv, fetchFromGitHub, fetchpatch }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "betterdiscordctl"; 5 + version = "1.7.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "bb010g"; 9 + repo = "betterdiscordctl"; 10 + rev = "v${version}"; 11 + sha256 = "0qpmm5l8jhm7k0kqblc0bnr9fl4b6z8iddhjar03bb4kqgr962fa"; 12 + }; 13 + 14 + patches = [ 15 + (fetchpatch { # Required till https://github.com/bb010g/betterdiscordctl/pull/67 is merged upstream. 16 + url = "https://github.com/bb010g/betterdiscordctl/pull/67/commits/f1c7170fc2626d9aec4d244977b5a73c401aa1d4.patch"; 17 + sha256 = "003zqd9ljb9h674sjwjvvdfs7q4cw0p1ydg3lax132vb4vz9k0zi"; 18 + }) 19 + ]; 20 + 21 + preBuild = "sed -i 's/^nix=$/&yes/g;s/^DISABLE_UPGRADE=$/&yes/g' ./betterdiscordctl"; 22 + 23 + installPhase = '' 24 + mkdir -p $out/bin 25 + mkdir -p $out/share/doc/betterdiscordctl 26 + install -Dm744 betterdiscordctl $out/bin/betterdiscordctl 27 + install -Dm644 README.md $out/share/doc/betterdiscordctl/README.md 28 + ''; 29 + 30 + meta = with stdenv.lib; { 31 + homepage = "https://github.com/bb010g/betterdiscordctl"; 32 + description = "A utility for managing BetterDiscord on Linux"; 33 + license = licenses.mit; 34 + maintainers = with maintainers; [ ivar bb010g ]; 35 + platforms = platforms.linux; 36 + }; 37 + }
+29
pkgs/tools/misc/disfetch/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub }: 4 + 5 + stdenv.mkDerivation rec { 6 + pname = "disfetch"; 7 + version = "1.12"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "llathasa-veleth"; 11 + repo = "disfetch"; 12 + rev = version; 13 + sha256 = "1zm8q0fx695x28zg8ihzk3w41439v47n68cw6k551x31mls939yn"; 14 + }; 15 + 16 + dontBuild = true; 17 + 18 + installPhase = '' 19 + install -Dm755 -t $out/bin disfetch 20 + ''; 21 + 22 + meta = with lib; { 23 + description = "Yet another *nix distro fetching program, but less complex"; 24 + homepage = "https://github.com/llathasa-veleth/disfetch"; 25 + license = licenses.mit; 26 + platforms = platforms.all; 27 + maintainers = [ maintainers.vel ]; 28 + }; 29 + }
+12 -1
pkgs/top-level/all-packages.nix
··· 987 987 988 988 berglas = callPackage ../tools/admin/berglas/default.nix { }; 989 989 990 + betterdiscordctl = callPackage ../tools/misc/betterdiscordctl { }; 991 + 990 992 brakeman = callPackage ../development/tools/analysis/brakeman { }; 991 993 992 994 brewtarget = libsForQt514.callPackage ../applications/misc/brewtarget { } ; ··· 2013 2015 discount = callPackage ../tools/text/discount { }; 2014 2016 2015 2017 discocss = callPackage ../tools/misc/discocss { }; 2018 + 2019 + disfetch = callPackage ../tools/misc/disfetch { }; 2016 2020 2017 2021 disk-filltest = callPackage ../tools/system/disk-filltest { }; 2018 2022 ··· 4088 4092 4089 4093 freedroidrpg = callPackage ../games/freedroidrpg { }; 4090 4094 4095 + freenukum = callPackage ../games/freenukum { }; 4096 + 4091 4097 freebind = callPackage ../tools/networking/freebind { }; 4092 4098 4093 4099 freeipmi = callPackage ../tools/system/freeipmi {}; ··· 6684 6690 platinum-searcher = callPackage ../tools/text/platinum-searcher { }; 6685 6691 6686 6692 playbar2 = libsForQt5.callPackage ../applications/audio/playbar2 { }; 6693 + 6694 + plujain-ramp = callPackage ../applications/audio/plujain-ramp { }; 6687 6695 6688 6696 plex = callPackage ../servers/plex { }; 6689 6697 plexRaw = callPackage ../servers/plex/raw.nix { }; ··· 21809 21817 21810 21818 gitolite = callPackage ../applications/version-management/gitolite { }; 21811 21819 21812 - gitoxide = callPackage ../applications/version-management/gitoxide { }; 21820 + gitoxide = callPackage ../applications/version-management/gitoxide { 21821 + inherit (darwin.apple_sdk.frameworks) Security; 21822 + }; 21813 21823 21814 21824 inherit (gnome3) gitg; 21815 21825 ··· 22999 23009 mopidy-mpd 23000 23010 mopidy-mpris 23001 23011 mopidy-musicbox-webclient 23012 + mopidy-scrobbler 23002 23013 mopidy-somafm 23003 23014 mopidy-soundcloud 23004 23015 mopidy-spotify