Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c1ec8ba2442c
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f06141368656
Choose a head ref
  • 15 commits
  • 14 files changed
  • 7 contributors

Commits on Dec 8, 2019

  1. mame: 0.215 -> 0.216

    gnidorah committed Dec 8, 2019
    Copy the full SHA
    09f5d77 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vbgl Vincent Laporte
    Copy the full SHA
    1e97dbb View commit details
  3. gnomeExtensions.workspace-grid: Remove

    workspace-matrix largely replaces workspace-grid [1].
    
    Also, workspace-grid.nix was accidentally dropped from
    top-level/all-packages.nix in the Gnome 3.18 -> 3.20 bump in
    5a245c2, so this file has been
    unreferenced for three years.
    
    [1] zakkak/workspace-grid#120 (comment)
    chkno committed Dec 8, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    jluttine Jaakko Luttinen
    Copy the full SHA
    492de5c View commit details

Commits on Dec 9, 2019

  1. riot-web: 1.5.5 -> 1.5.6

    pacien committed Dec 9, 2019
    Copy the full SHA
    0a05392 View commit details
  2. riot-desktop: 1.5.5 -> 1.5.6

    pacien committed Dec 9, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    vbgl Vincent Laporte
    Copy the full SHA
    f98d496 View commit details

Commits on Dec 10, 2019

  1. nixos/mame: init

    gnidorah committed Dec 10, 2019
    Copy the full SHA
    cc54e5a View commit details

Commits on Dec 12, 2019

  1. libgpod: drop pygobject2

    Multi-output as well.
    worldofpeace committed Dec 12, 2019
    Copy the full SHA
    b3fd4fc View commit details
  2. gpodder: drop ipod support

    Upstream claims it doesn't work gpodder/gpodder#706.
    worldofpeace committed Dec 12, 2019
    Copy the full SHA
    d206f31 View commit details

Commits on Dec 17, 2019

  1. strelka: fix broken build

    jbedo committed Dec 17, 2019
    Copy the full SHA
    c3f09c3 View commit details
  2. Merge pull request #75807 from jbedo/strelka

    strelka: fix broken build
    marsam authored Dec 17, 2019
    Copy the full SHA
    5e5ce79 View commit details
  3. Merge pull request #75377 from pacien/riot-v1.5.6

    riot-{web,desktop}: 1.5.5 -> 1.5.6
    worldofpeace authored Dec 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    infinisil Silvan Mosberger
    Copy the full SHA
    b343447 View commit details
  4. Merge pull request #75123 from chkno/workspace-grid-is-now-workspace-…

    …matrix
    
    Gnome extension workspace-grid is now workspace-matrix
    worldofpeace authored Dec 17, 2019
    Copy the full SHA
    77d0815 View commit details
  5. Merge pull request #75555 from worldofpeace/libgpod-python2-byehun

    libgpod: drop pygobject2
    worldofpeace authored Dec 17, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    sifmelcara Ming-Chuan
    Copy the full SHA
    6ea98c1 View commit details
  6. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    67d1525 View commit details
  7. Merge pull request #74722 from gnidorah/mame

    mame: 0.215 -> 0.216
    Lassulus authored Dec 17, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f061413 View commit details
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -443,6 +443,7 @@
./services/misc/logkeys.nix
./services/misc/leaps.nix
./services/misc/lidarr.nix
./services/misc/mame.nix
./services/misc/mathics.nix
./services/misc/matrix-synapse.nix
./services/misc/mbpfan.nix
67 changes: 67 additions & 0 deletions nixos/modules/services/misc/mame.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{ config, lib, pkgs, ... }:

with lib;

let
cfg = config.services.mame;
mame = "mame${lib.optionalString pkgs.stdenv.is64bit "64"}";
in
{
options = {
services.mame = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to setup TUN/TAP Ethernet interface for MAME emulator.
'';
};
user = mkOption {
type = types.str;
description = ''
User from which you run MAME binary.
'';
};
hostAddr = mkOption {
type = types.str;
description = ''
IP address of the host system. Usually an address of the main network
adapter or the adapter through which you get an internet connection.
'';
example = "192.168.31.156";
};
emuAddr = mkOption {
type = types.str;
description = ''
IP address of the guest system. The same you set inside guest OS under
MAME. Should be on the same subnet as <option>services.mame.hostAddr</option>.
'';
example = "192.168.31.155";
};
};
};

config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.mame ];

security.wrappers."${mame}" = {
source = "${pkgs.mame}/bin/${mame}";
capabilities = "cap_net_admin,cap_net_raw+eip";
};

systemd.services.mame = {
description = "MAME TUN/TAP Ethernet interface";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.iproute ];
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = "${pkgs.mame}/bin/taputil.sh -c ${cfg.user} ${cfg.emuAddr} ${cfg.hostAddr} -";
ExecStop = "${pkgs.mame}/bin/taputil.sh -d ${cfg.user}";
};
};
};

meta.maintainers = with lib.maintainers; [ gnidorah ];
}
4 changes: 2 additions & 2 deletions pkgs/applications/audio/gpodder/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, python3, python3Packages, intltool
, glibcLocales, gnome3, gtk3, wrapGAppsHook
, ipodSupport ? false, libgpod, gobject-introspection
, gobject-introspection
}:

python3Packages.buildPythonApplication rec {
@@ -50,7 +50,7 @@ python3Packages.buildPythonApplication rec {
podcastparser
html5lib
gtk3
] ++ stdenv.lib.optional ipodSupport libgpod;
];

makeFlags = [
"PREFIX=$(out)"
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "riot-web",
"productName": "Riot",
"main": "src/electron-main.js",
"version": "1.5.5",
"version": "1.5.6",
"description": "A feature-rich client for Matrix.org",
"author": "New Vector Ltd.",
"dependencies": {
Original file line number Diff line number Diff line change
@@ -6,12 +6,12 @@

let
executableName = "riot-desktop";
version = "1.5.5";
version = "1.5.6";
riot-web-src = fetchFromGitHub {
owner = "vector-im";
repo = "riot-web";
rev = "v${version}";
sha256 = "18xhqniwxp1sv49qcd9ah8nyy2n2yliy3wg613raxjl16qvvzxmc";
sha256 = "148rg6wc84xy53bj16v5riw78s999ridid59x6v9jas827l0bdpk";
};

in mkYarnPackage rec {
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@

stdenv.mkDerivation rec {
pname = "riot-web";
version = "1.5.5";
version = "1.5.6";

src = fetchurl {
url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
sha256 = "0isln25sl5jvvlqvh822w73a4i82x75g1ywf3p9n5m1a5sr9f537";
sha256 = "063ynbil038y201skyldj2ysr0hwgwq981w1iw104xd17x31zmn0";
};

installPhase = let
3 changes: 2 additions & 1 deletion pkgs/applications/science/biology/strelka/default.nix
Original file line number Diff line number Diff line change
@@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib python2 ];

NIX_CFLAGS_COMPILE = [ "-Wno-error=maybe-uninitialized" ];

preConfigure = ''
sed -i 's|/usr/bin/env python|${python2}/bin/python|' src/python/lib/makeRunScript.py
patchShebangs .
@@ -33,7 +35,6 @@ stdenv.mkDerivation rec {
homepage = https://github.com/Illumina/strelka;
maintainers = with maintainers; [ jbedo ];
platforms = [ "x86_64-linux" ];
broken = true;
};

}
30 changes: 0 additions & 30 deletions pkgs/desktops/gnome-3/extensions/workspace-grid.nix

This file was deleted.

34 changes: 34 additions & 0 deletions pkgs/desktops/gnome-3/extensions/workspace-matrix/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, findutils, glib }:

stdenv.mkDerivation rec {
pname = "gnome-shell-extension-workspace-matrix";
version = "3.0.0";

src = fetchFromGitHub {
owner = "mzur";
repo = "gnome-shell-wsmatrix";
rev = "v${version}";
sha256 = "1fgyzmd16kklcca7600bwg8w8pbb4klmapqsvmahlwa99vmkhfkn";
};

uuid = "wsmatrix@martin.zurowietz.de";

nativeBuildInputs = [
findutils
glib
];

buildFlags = "schemas";

installPhase = ''
mkdir -p $out/share/gnome-shell/extensions
cp -r ${uuid} $out/share/gnome-shell/extensions
'';

meta = with stdenv.lib; {
description = "Arrange workspaces in a two dimensional grid with workspace thumbnails";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ chkno ];
homepage = https://github.com/mzur/gnome-shell-wsmatrix;
};
}
4 changes: 2 additions & 2 deletions pkgs/desktops/pantheon/granite/default.nix
Original file line number Diff line number Diff line change
@@ -16,13 +16,13 @@

stdenv.mkDerivation rec {
pname = "granite";
version = "5.2.5";
version = "5.3.0";

src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
sha256 = "0z40vhcp2w8s8rnc56pzvjc4s77bln8k84rwwypivjmk3lhpw1vi";
sha256 = "1gvrk8gh959bmq8w0kaym7sx13v763lk8x5hck00msgmyrsarfwa";
};

passthru = {
14 changes: 8 additions & 6 deletions pkgs/development/libraries/libgpod/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib,
{ stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib,
libxml2, sqlite, zlib, sg3_utils, gdk-pixbuf, taglib,
libimobiledevice, python3Packages, mutagen,
libimobiledevice, mutagen,
monoSupport ? false, mono, gtk-sharp-2_0
}:

let
inherit (python3Packages) python pygobject2;
in stdenv.mkDerivation rec {

stdenv.mkDerivation rec {
name = "libgpod-0.8.3";

src = fetchurl {
url = "mirror://sourceforge/gtkpod/${name}.tar.bz2";
sha256 = "0pcmgv1ra0ymv73mlj4qxzgyir026z9jpl5s5bkg35afs1cpk2k3";
};

outputs = [ "out" "dev" ];

preConfigure = "configureFlagsArray=( --with-udev-dir=$out/lib/udev )";

configureFlags = [
@@ -23,7 +25,7 @@ in stdenv.mkDerivation rec {
dontStrip = true;

propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
gdk-pixbuf taglib libimobiledevice python pygobject2 mutagen ];
gdk-pixbuf taglib libimobiledevice mutagen ];

nativeBuildInputs = [ gettext intltool pkgconfig ]
++ (with perlPackages; [ perl XMLParser ])
39 changes: 27 additions & 12 deletions pkgs/misc/emulators/mame/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{ stdenv, mkDerivation, fetchFromGitHub, makeDesktopItem
{ stdenv, mkDerivation, fetchFromGitHub, makeDesktopItem, makeWrapper
, python, pkgconfig, SDL2, SDL2_ttf, alsaLib, which, qtbase, libXinerama }:

let
majorVersion = "0";
minorVersion = "215";
minorVersion = "216";

desktopItem = makeDesktopItem {
name = "MAME";
@@ -12,6 +12,8 @@ let
genericName = "MAME is a multi-purpose emulation framework";
categories = "System;Emulator;";
};

dest = "$out/opt/mame";
in mkDerivation {
pname = "mame";
version = "${majorVersion}.${minorVersion}";
@@ -20,30 +22,43 @@ in mkDerivation {
owner = "mamedev";
repo = "mame";
rev = "mame${majorVersion}${minorVersion}";
sha256 = "1phz846p3zzgzrbfiq2vn79iqar2dbf7iv6wfkrp32sdkkvp7l3h";
sha256 = "0dmmw08pxxznvadrc51zg27jc9fjh688355w8kxkmi7k8qa367r0";
};

hardeningDisable = [ "fortify" ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=maybe-uninitialized" ];

makeFlags = [ "TOOLS=1" ];

dontWrapQtApps = true;

buildInputs = [ SDL2 SDL2_ttf alsaLib qtbase libXinerama ];
nativeBuildInputs = [ python pkgconfig which ];
nativeBuildInputs = [ python pkgconfig which makeWrapper ];

installPhase = ''
dest=$out/opt/mame
# by default MAME assumes that paths with stock resources
# are relative and that you run MAME changing to
# install directory, so we add absolute paths here
patches = [ ./emuopts.patch ];

make -f dist.mak PTR64=${if stdenv.is64bit then "1" else "0"}
mkdir -p $dest
mv build/release/${if stdenv.is64bit then "x64" else "x32"}/Release/mame/* $dest
postPatch = ''
substituteInPlace src/emu/emuopts.cpp \
--subst-var-by mame ${dest}
'';

installPhase = ''
make -f dist.mak PTR64=${stdenv.lib.optionalString stdenv.is64bit "1"}
mkdir -p ${dest}
mv build/release/*/Release/mame/* ${dest}
mkdir -p $out/bin
find $dest -maxdepth 1 -executable -type f -exec mv -t $out/bin {} \;
find ${dest} -maxdepth 1 -executable -type f -exec mv -t $out/bin {} \;
install -Dm755 src/osd/sdl/taputil.sh $out/bin/taputil.sh
mkdir -p $out/share/man/man{1,6}
mv $dest/docs/man/*.1 $out/share/man/man1
mv $dest/docs/man/*.6 $out/share/man/man6
mv ${dest}/docs/man/*.1 $out/share/man/man1
mv ${dest}/docs/man/*.6 $out/share/man/man6
mv artwork plugins samples ${dest}
mkdir -p $out/share
ln -s ${desktopItem}/share/applications $out/share
29 changes: 29 additions & 0 deletions pkgs/misc/emulators/mame/emuopts.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp
index c42fcef848..d1bddae060 100644
--- a/src/emu/emuopts.cpp
+++ b/src/emu/emuopts.cpp
@@ -36,16 +36,16 @@ const options_entry emu_options::s_option_entries[] =
{ nullptr, nullptr, OPTION_HEADER, "CORE SEARCH PATH OPTIONS" },
{ OPTION_HOMEPATH, ".", OPTION_STRING, "path to base folder for plugin data (read/write)" },
{ OPTION_MEDIAPATH ";rp;biospath;bp", "roms", OPTION_STRING, "path to ROM sets and hard disk images" },
- { OPTION_HASHPATH ";hash_directory;hash", "hash", OPTION_STRING, "path to software definition files" },
- { OPTION_SAMPLEPATH ";sp", "samples", OPTION_STRING, "path to audio sample sets" },
- { OPTION_ARTPATH, "artwork", OPTION_STRING, "path to artwork files" },
- { OPTION_CTRLRPATH, "ctrlr", OPTION_STRING, "path to controller definitions" },
- { OPTION_INIPATH, ".;ini;ini/presets", OPTION_STRING, "path to ini files" },
- { OPTION_FONTPATH, ".", OPTION_STRING, "path to font files" },
+ { OPTION_HASHPATH ";hash_directory;hash", "hash;@mame@/hash", OPTION_STRING, "path to software definition files" },
+ { OPTION_SAMPLEPATH ";sp", "samples;@mame@/samples", OPTION_STRING, "path to audio sample sets" },
+ { OPTION_ARTPATH, "artwork;@mame@/artwork", OPTION_STRING, "path to artwork files" },
+ { OPTION_CTRLRPATH, "ctrlr;@mame@/ctrlr", OPTION_STRING, "path to controller definitions" },
+ { OPTION_INIPATH, ".;ini;ini/presets;@mame@/ini/presets", OPTION_STRING, "path to ini files" },
+ { OPTION_FONTPATH, ".;@mame@", OPTION_STRING, "path to font files" },
{ OPTION_CHEATPATH, "cheat", OPTION_STRING, "path to cheat files" },
{ OPTION_CROSSHAIRPATH, "crosshair", OPTION_STRING, "path to crosshair files" },
- { OPTION_PLUGINSPATH, "plugins", OPTION_STRING, "path to plugin files" },
- { OPTION_LANGUAGEPATH, "language", OPTION_STRING, "path to UI translation files" },
+ { OPTION_PLUGINSPATH, "plugins;@mame@/plugins", OPTION_STRING, "path to plugin files" },
+ { OPTION_LANGUAGEPATH, "language;@mame@/language", OPTION_STRING, "path to UI translation files" },
{ OPTION_SWPATH, "software", OPTION_STRING, "path to loose software" },

// output directory options
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -23390,6 +23390,7 @@ in
timepp = callPackage ../desktops/gnome-3/extensions/timepp { };
topicons-plus = callPackage ../desktops/gnome-3/extensions/topicons-plus { };
window-corner-preview = callPackage ../desktops/gnome-3/extensions/window-corner-preview { };
workspace-matrix = callPackage ../desktops/gnome-3/extensions/workspace-matrix { };

nohotcorner = throw "gnomeExtensions.nohotcorner removed since 2019-10-09: Since 3.34, it is a part of GNOME Shell configurable through GNOME Tweaks.";
mediaplayer = throw "gnomeExtensions.mediaplayer deprecated since 2019-09-23: retired upstream https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/blob/master/README.md";