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: 017c7a4940a3
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: 7d557a5d1b3b
Choose a head ref

Commits on Jul 18, 2020

  1. Copy the full SHA
    3f9b85e View commit details
  2. Copy the full SHA
    d6863de View commit details
  3. cataclysm-dda{,-git}: apply locale patch dynamically

    Each time src/translations.cpp is modified, we have to update the locale
    patch. Using sed to patch dynamically should be handy.
    mnacamura committed Jul 18, 2020
    Copy the full SHA
    bf71f12 View commit details
  4. cataclysmDDA: add very basic framework for packaging mods

    Add new namespace 'cataclysmDDA', in which package builders, games, and
    mods are listed.
    mnacamura committed Jul 18, 2020
    Copy the full SHA
    ac85554 View commit details
  5. Copy the full SHA
    bc88844 View commit details
  6. cataclysmDDA: make pkgs extensible

    Example:
    
    let
      customMods = self: super: lib.recursiveUpdate super {
        soundpack.AwesomeSounds = cataclysmDDA.buildSoundPack { ... };
      };
    in
    cataclysm-dda.withMods (mods: with mods.extend customMods; [
      tileset.UndeadPeople
      soundpack.AwesomeSounds
    ])
    mnacamura committed Jul 18, 2020
    Copy the full SHA
    90c2652 View commit details
  7. Copy the full SHA
    de56294 View commit details
  8. Copy the full SHA
    ecf7b57 View commit details
  9. cataclysm-dda-git: make it overridable with git revision

    'cataclysm-dda-git.overrideAttrs (_: { version = ...; src = fetchFromGitHub { ... }; })'
    did not update VERSION make flag correctly.
    
    With this change, one can override 'cataclysm-dda-git' correctly and
    more easily:
    
    cataclysm-dda-git.override { version = ...; rev = ...; sha256 = ...; }
    mnacamura committed Jul 18, 2020
    Copy the full SHA
    633f211 View commit details
  10. cataclysmDDA: add README

    mnacamura committed Jul 18, 2020
    Copy the full SHA
    d472eed View commit details
  11. Copy the full SHA
    bbe7b86 View commit details
  12. cataclysmDDA: update README

    Add description about `useXdgDir` flag
    mnacamura committed Jul 18, 2020
    Copy the full SHA
    fbf4b4f View commit details
  13. cataclysmDDA: update mods

    mnacamura committed Jul 18, 2020
    Copy the full SHA
    cf0e2d5 View commit details
  14. doc: fix MD_TARGETS

    globstar (**) does not work in Makefile
    mnacamura committed Jul 18, 2020
    Copy the full SHA
    c9c6f5f View commit details
  15. Copy the full SHA
    f2b2347 View commit details

Commits on Jul 20, 2020

  1. oneDNN: enable on darwin

    marsam committed Jul 20, 2020
    Copy the full SHA
    8f1c949 View commit details
  2. oneDNN: update homepage

    marsam committed Jul 20, 2020
    Copy the full SHA
    f02babb View commit details

Commits on Jul 21, 2020

  1. oneDNN: 1.5 -> 1.5.1

    marsam committed Jul 21, 2020
    Copy the full SHA
    a19f443 View commit details

Commits on Jul 22, 2020

  1. Copy the full SHA
    d2c8395 View commit details
  2. Copy the full SHA
    1c36177 View commit details
  3. Copy the full SHA
    6a39b90 View commit details
  4. syncthing: 1.7.0 -> 1.7.1

    kraem committed Jul 22, 2020
    Copy the full SHA
    c5f730e View commit details
  5. Copy the full SHA
    cf46edf View commit details
  6. Merge pull request #93643 from kraem/kraem/pkgs/syncthing-ver-bump

    syncthing: 1.7.0 -> 1.7.1
    jokogr authored Jul 22, 2020
    Copy the full SHA
    afff9f5 View commit details
  7. pantheon.appcenter: fix build

    I believe I misunderstood some things greatly 😅️
    worldofpeace committed Jul 22, 2020
    Copy the full SHA
    d74da4f View commit details
  8. Merge pull request #84873 from mnacamura/cdda-mods

    cataclysmDDA: add modding interface
    worldofpeace authored Jul 22, 2020
    Copy the full SHA
    8b6e981 View commit details
  9. pipewire: 0.3.6 -> 0.3.7

    zimbatm committed Jul 22, 2020
    Copy the full SHA
    4cb0342 View commit details
  10. Merge pull request #93385 from kini/perlPackages.FilePid/missing-pidf…

    …ile-patch
    
    perlPackages.FilePid: import Debian patch
    aanderse authored Jul 22, 2020
    Copy the full SHA
    9b6a00b View commit details
  11. Copy the full SHA
    667b4b4 View commit details

Commits on Jul 23, 2020

  1. Copy the full SHA
    e5e0645 View commit details
  2. Copy the full SHA
    87479d7 View commit details
  3. Merge pull request #93672 from zimbatm/pipewire-0.3.7

    pipewire: 0.3.6 -> 0.3.7
    worldofpeace authored Jul 23, 2020
    Copy the full SHA
    e66b7f6 View commit details
  4. Merge pull request #93684 from bcdarwin/unbreak-nibabel-reverse-deps

    python3Packages.nibabel: unbreak reverse deps
    worldofpeace authored Jul 23, 2020
    Copy the full SHA
    6ca121a View commit details
  5. Copy the full SHA
    14feaae View commit details
  6. Copy the full SHA
    323ba8a View commit details
  7. nixos/xpadneo: init at 0.8.1

    I just got an Xbox One controller and I wasn't satisfied with the xpad
    driver that ships with the Linux kernel
    
    xpadneo supports more features and fixes problems with
    incorrect button mappings
    
    https://atar-axis.github.io/xpadneo
    kira-bruneau committed Jul 23, 2020
    Copy the full SHA
    db96d88 View commit details
  8. Merge pull request #93623 from marsam/enable-oneDNN-darwin

    oneDNN: 1.5 -> 1.5.1
    marsam authored Jul 23, 2020
    Copy the full SHA
    bd0eb11 View commit details
  9. Merge pull request #92622 from MetaDark/xpadneo

    nixos/xpadneo: init at 0.8.1
    worldofpeace authored Jul 23, 2020
    Copy the full SHA
    78d9dad View commit details
  10. Merge pull request #93685 from bcdarwin/unbreak-etelemetry

    python3Packages.etelemetry: unbreak
    worldofpeace authored Jul 23, 2020
    Copy the full SHA
    7d557a5 View commit details
Showing with 623 additions and 208 deletions.
  1. +1 −1 doc/Makefile
  2. +94 −0 doc/builders/packages/cataclysm-dda.section.md
  3. +1 −0 doc/builders/packages/index.xml
  4. +29 −0 nixos/modules/hardware/xpadneo.nix
  5. +1 −0 nixos/modules/module-list.nix
  6. +3 −3 pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix
  7. +2 −2 pkgs/applications/networking/syncthing/default.nix
  8. +9 −3 pkgs/applications/video/jellyfin-mpv-shim/default.nix
  9. +5 −1 pkgs/desktops/pantheon/apps/appcenter/default.nix
  10. +6 −5 pkgs/development/libraries/oneDNN/default.nix
  11. +2 −9 pkgs/development/libraries/pipewire/default.nix
  12. +26 −0 pkgs/development/python-modules/ci-info/default.nix
  13. +26 −0 pkgs/development/python-modules/ci-py/default.nix
  14. +3 −3 pkgs/development/python-modules/etelemetry/default.nix
  15. +2 −2 pkgs/development/python-modules/jellyfin-apiclient-python/default.nix
  16. +2 −1 pkgs/development/python-modules/nibabel/default.nix
  17. +2 −2 pkgs/development/python-modules/python-mpv-jsonipc/default.nix
  18. +49 −0 pkgs/games/cataclysm-dda/builder.nix
  19. +95 −92 pkgs/games/cataclysm-dda/common.nix
  20. +34 −17 pkgs/games/cataclysm-dda/default.nix
  21. +31 −23 pkgs/games/cataclysm-dda/git.nix
  22. +17 −0 pkgs/games/cataclysm-dda/lib.nix
  23. +0 −18 pkgs/games/cataclysm-dda/patches/fix_locale_dir.patch
  24. +0 −20 pkgs/games/cataclysm-dda/patches/fix_locale_dir_git.patch
  25. +27 −0 pkgs/games/cataclysm-dda/pkgs/default.nix
  26. +23 −0 pkgs/games/cataclysm-dda/pkgs/tilesets/UndeadPeople/default.nix
  27. +34 −0 pkgs/games/cataclysm-dda/stable.nix
  28. +47 −0 pkgs/games/cataclysm-dda/wrapper.nix
  29. +37 −0 pkgs/os-specific/linux/xpadneo/default.nix
  30. +6 −6 pkgs/top-level/all-packages.nix
  31. +5 −0 pkgs/top-level/perl-packages.nix
  32. +4 −0 pkgs/top-level/python-packages.nix
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MD_TARGETS=$(addsuffix .xml, $(basename $(wildcard ./*.md ./**/*.md)))
MD_TARGETS=$(addsuffix .xml, $(basename $(shell find . -type f -regex '.*\.md$$')))

.PHONY: all
all: validate format out/html/index.html out/epub/manual.epub
94 changes: 94 additions & 0 deletions doc/builders/packages/cataclysm-dda.section.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Cataclysm: Dark Days Ahead

## How to install Cataclysm DDA

To install the latest stable release of Cataclysm DDA to your profile, execute
`nix-env -f "<nixpkgs>" -iA cataclysm-dda`. For the curses build (build
without tiles), install `cataclysmDDA.stable.curses`. Note: `cataclysm-dda` is
an alias to `cataclysmDDA.stable.tiles`.

If you like access to a development build of your favorite git revision,
override `cataclysm-dda-git` (or `cataclysmDDA.git.curses` if you like curses
build):

```nix
cataclysm-dda-git.override {
version = "YYYY-MM-DD";
rev = "YOUR_FAVORITE_REVISION";
sha256 = "CHECKSUM_OF_THE_REVISION";
}
```

The sha256 checksum can be obtained by

```sh
nix-prefetch-url --unpack "https://github.com/CleverRaven/Cataclysm-DDA/archive/${YOUR_FAVORITE_REVISION}.tar.gz"
```

The default configuration directory is `~/.cataclysm-dda`. If you prefer
`$XDG_CONFIG_HOME/cataclysm-dda`, override the derivation:

```nix
cataclysm-dda.override {
useXdgDir = true;
}
```

## Customizing with mods

To install Cataclysm DDA with mods of your choice, you can use `withMods`
attribute:

```nix
cataclysm-dda.withMods (mods: with mods; [
tileset.UndeadPeople
])
```

All mods, soundpacks, and tilesets available in nixpkgs are found in
`cataclysmDDA.pkgs`.

Here is an example to modify existing mods and/or add more mods not available
in nixpkgs:

```nix
let
customMods = self: super: lib.recursiveUpdate super {
# Modify existing mod
tileset.UndeadPeople = super.tileset.UndeadPeople.overrideAttrs (old: {
# If you like to apply a patch to the tileset for example
patches = [ ./path/to/your.patch ];
});
# Add another mod
mod.Awesome = cataclysmDDA.buildMod {
modName = "Awesome";
version = "0.x";
src = fetchFromGitHub {
owner = "Someone";
repo = "AwesomeMod";
rev = "...";
sha256 = "...";
};
# Path to be installed in the unpacked source (default: ".")
modRoot = "contents/under/this/path/will/be/installed";
};
# Add another soundpack
soundpack.Fantastic = cataclysmDDA.buildSoundPack {
# ditto
};
# Add another tileset
tileset.SuperDuper = cataclysmDDA.buildTileSet {
# ditto
};
};
in
cataclysm-dda.withMods (mods: with mods.extend customMods; [
tileset.UndeadPeople
mod.Awesome
soundpack.Fantastic
tileset.SuperDuper
])
```
1 change: 1 addition & 0 deletions doc/builders/packages/index.xml
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@
<xi:include href="opengl.xml" />
<xi:include href="shell-helpers.xml" />
<xi:include href="steam.xml" />
<xi:include href="cataclysm-dda.section.xml" />
<xi:include href="urxvt.xml" />
<xi:include href="weechat.xml" />
<xi:include href="xorg.xml" />
29 changes: 29 additions & 0 deletions nixos/modules/hardware/xpadneo.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ config, lib, ... }:

with lib;
let
cfg = config.hardware.xpadneo;
in
{
options.hardware.xpadneo = {
enable = mkEnableOption "the xpadneo driver for Xbox One wireless controllers";
};

config = mkIf cfg.enable {
boot = {
# Must disable Enhanced Retransmission Mode to support bluetooth pairing
# https://wiki.archlinux.org/index.php/Gamepad#Connect_Xbox_Wireless_Controller_with_Bluetooth
extraModprobeConfig =
mkIf
config.hardware.bluetooth.enable
"options bluetooth disable_ertm=1";

extraModulePackages = with config.boot.kernelPackages; [ xpadneo ];
kernelModules = [ "hid_xpadneo" ];
};
};

meta = {
maintainers = with maintainers; [ metadark ];
};
}
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -76,6 +76,7 @@
./hardware/video/nvidia.nix
./hardware/video/uvcvideo/default.nix
./hardware/video/webcam/facetimehd.nix
./hardware/xpadneo.nix
./i18n/input-method/default.nix
./i18n/input-method/fcitx.nix
./i18n/input-method/ibus.nix
Original file line number Diff line number Diff line change
@@ -43,18 +43,18 @@ let
in
stdenv.mkDerivation rec {
pname = "mattermost-desktop";
version = "4.5.0";
version = "4.5.2";

src =
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-x64.tar.gz";
sha256 = "1p44vxs7i9f15h4xjyr99g8x73qygv909a32lfkqip1fh8lk7sf4";
sha256 = "0r9xmhzif1ia1m53yr59q6p3niyq3jv3vgv4703x68jmd46f91n6";
}
else if stdenv.hostPlatform.system == "i686-linux" then
fetchurl {
url = "https://releases.mattermost.com/desktop/${version}/${pname}-${version}-linux-ia32.tar.gz";
sha256 = "03pn853z2famqxcsrwayqb94pzghlpfb0qs2nfi8mc5zzsgcic7z";
sha256 = "1h8lw06p3cqz9dkgbhfmzcrzjsir5cfhx28xm4zrmvkj4yfzbcnv";
}
else
throw "Mattermost-Desktop is not currently supported on ${stdenv.hostPlatform.system}";
4 changes: 2 additions & 2 deletions pkgs/applications/networking/syncthing/default.nix
Original file line number Diff line number Diff line change
@@ -3,14 +3,14 @@
let
common = { stname, target, postInstall ? "" }:
buildGoModule rec {
version = "1.7.0";
version = "1.7.1";
name = "${stname}-${version}";

src = fetchFromGitHub {
owner = "syncthing";
repo = "syncthing";
rev = "v${version}";
sha256 = "0jz1xfbs5ql9z7zdldyxc6wr0y5b0pf3vg8vzva5ml9aiqjcs9fg";
sha256 = "1kb324diaq48z1vf36zlcsy9zckr0c3mrd3bmcdn28z2ivqnsc4a";
};

vendorSha256 = "1gmdv0g0gymq6khrwvplw6yfp146kg5ar8vqdp5dlp0myxfzi22b";
12 changes: 9 additions & 3 deletions pkgs/applications/video/jellyfin-mpv-shim/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

buildPythonApplication rec {
pname = "jellyfin-mpv-shim";
version = "1.4.2";
version = "1.5.11";

src = fetchFromGitHub {
owner = "iwalton3";
repo = pname;
rev = "v${version}";
sha256 = "1cnii5wj0pgqg3dqk5cm6slpbs3730x8ippps4cjbsxcsrmqjpx6";
sha256 = "14hm8yccdp7w1vdnvdzafk1byhaq1qsr33i4962s1nvm9lafxkr7";
fetchSubmodules = true; # needed for display_mirror css file
};

@@ -25,6 +25,12 @@ buildPythonApplication rec {
rm jellyfin_mpv_shim/win_utils.py
'';

# disable the desktop client for now
postPatch = ''
substituteInPlace setup.py \
--replace "'jellyfin-mpv-desktop=jellyfin_mpv_shim.mpv_shim:main_desktop'," ""
'';

propagatedBuildInputs = [
jellyfin-apiclient-python
mpv
@@ -42,7 +48,7 @@ buildPythonApplication rec {

meta = with stdenv.lib; {
homepage = "https://github.com/iwalton3/jellyfin-mpv-shim";
description = "Allows casting of videos to MPV via the jellyfin mobile and web app.";
description = "Allows casting of videos to MPV via the jellyfin mobile and web app";
license = licenses.gpl3;
maintainers = with maintainers; [ jojosch ];
};
6 changes: 5 additions & 1 deletion pkgs/desktops/pantheon/apps/appcenter/default.nix
Original file line number Diff line number Diff line change
@@ -23,6 +23,8 @@
, pkgconfig
, python3
, vala
, polkit
, libhandy
, wrapGAppsHook
}:

@@ -58,17 +60,19 @@ stdenv.mkDerivation rec {

buildInputs = [
appstream
elementary-icon-theme
elementary-gtk-theme
elementary-icon-theme
flatpak
glib
granite
gtk3
json-glib
libgee
libhandy
libsoup
libxml2
packagekit
polkit
];

mesonFlags = [
11 changes: 6 additions & 5 deletions pkgs/development/libraries/oneDNN/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@
# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn
stdenv.mkDerivation rec {
pname = "oneDNN";
version = "1.5";
version = "1.5.1";

src = fetchFromGitHub {
owner = "oneapi-src";
repo = "oneDNN";
rev = "v${version}";
sha256 = "0diiy3g4wz5lnz5mdvka5p2nwmrpfldsz83sssr5yiir29m4lqap";
sha256 = "1l66gkidldjpznp8pb01wdgrmm0rmrbndv8lzidz8fp9hf473zgl";
};

outputs = [ "out" "dev" "doc" ];
@@ -22,7 +22,8 @@ stdenv.mkDerivation rec {

# The test driver doesn't add an RPath to the build libdir
preCheck = ''
export LD_LIBRARY_PATH=$PWD/src
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$PWD/src
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD/src
'';

# The cmake install gets tripped up and installs a nix tree into $out, in
@@ -33,10 +34,10 @@ stdenv.mkDerivation rec {

meta = with lib; {
description = "oneAPI Deep Neural Network Library (oneDNN)";
homepage = "https://01.org/dnnl";
homepage = "https://01.org/oneDNN";
changelog = "https://github.com/oneapi-src/oneDNN/releases/tag/v${version}";
license = licenses.asl20;
platforms = [ "aarch64-linux" "x86_64-linux" ];
platforms = platforms.all;
maintainers = with maintainers; [ alexarice bhipple ];
};
}
11 changes: 2 additions & 9 deletions pkgs/development/libraries/pipewire/default.nix
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ let
in
stdenv.mkDerivation rec {
pname = "pipewire";
version = "0.3.6";
version = "0.3.7";

outputs = [ "out" "lib" "dev" "doc" ];

@@ -42,16 +42,9 @@ stdenv.mkDerivation rec {
owner = "pipewire";
repo = "pipewire";
rev = version;
sha256 = "0g149vyaigf4gzm764fcgxxci9niw19z0af9afs4diwq5xzr1qd3";
sha256 = "04l66p0wj553gp2zf3vwwh6jbr1vkf6wrq4za9zlm9dn144am4j2";
};

patches = [ (fetchpatch {
# Brought by https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/263,
# should be part of > 0.3.6
url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/d1162f28efd502fcb973e172867970f5cc8d7a6b.patch";
sha256 = "0ng34yin5726cvv0nll1b2xigyq6mj6j516l3xi0ys1i2g2fyby9";
})];

nativeBuildInputs = [
doxygen
graphviz
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/ci-info/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ lib, buildPythonPackage, isPy27, fetchPypi, pytest, pytestCheckHook }:

buildPythonPackage rec {
version = "0.2.0";
pname = "ci-info";

disabled = isPy27;

src = fetchPypi {
inherit pname version;
sha256 = "05j6pamk8sd51qmvpkl3f7sxajmncrqm0cz6n6bqgsvzjwn66w6x";
};

checkInputs = [ pytest pytestCheckHook ];

doCheck = false; # both tests access network

pythonImportsCheck = [ "ci_info" ];

meta = with lib; {
description = "Gather continuous integration information on the fly";
homepage = "https://github.com/mgxd/ci-info";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};
}
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/ci-py/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
, pytest, pytestrunner, pytestCheckHook }:

buildPythonPackage rec {
version = "1.0.0";
pname = "ci-py";

disabled = isPy27;

src = fetchPypi {
inherit pname version;
sha256 = "12ax07n81vxbyayhwzi1q6x7gfmwmvrvwm1n4ii6qa6fqlp9pzj7";
};

nativeBuildInputs = [ pytestrunner ]; # pytest-runner included in setup-requires
checkInputs = [ pytest pytestCheckHook ];

pythonImportsCheck = [ "ci" ];

meta = with lib; {
description = "Library for working with Continuous Integration services";
homepage = "https://github.com/grantmcconnaughey/ci.py";
license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ];
};
}
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/etelemetry/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, requests, pytest }:
{ lib, buildPythonPackage, fetchPypi, isPy27, ci-info, ci-py, requests, pytest }:

buildPythonPackage rec {
version = "0.2.1";
@@ -7,10 +7,10 @@ buildPythonPackage rec {

src = fetchPypi {
inherit pname version;
sha256 = "bfb58f58e98f63eae20caffb8514fb68c572332aa6e773cf3fcbde9b408d88e7";
sha256 = "1rw8im09ppnb7z7p7rx658rp5ib8zca8byxg1kiflqwgx5c8zddz";
};

propagatedBuildInputs = [ requests ];
propagatedBuildInputs = [ ci-info ci-py requests ];

# all 2 of the tests both try to pull down from a url
doCheck = false;
Loading