Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 234ea27d52e1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6c7029e7ce4e
Choose a head ref
  • 5 commits
  • 10 files changed
  • 2 contributors

Commits on Oct 12, 2019

  1. wine: unstable 4.16 -> 4.17

    also mono 4.9.2 -> 4.9.3
    bendlas committed Oct 12, 2019
    Copy the full SHA
    39b7c7e View commit details
  2. Copy the full SHA
    2718c41 View commit details
  3. sauerbraten: 5000 -> 5492

    fixes #45088
    cc @raskin
    bendlas committed Oct 12, 2019
    Copy the full SHA
    f3366d2 View commit details
  4. atinout: init 0.9.2-alpha

    bendlas committed Oct 12, 2019
    Copy the full SHA
    2c410e2 View commit details
  5. libui: 3.1a -> 4.1a

    bendlas committed Oct 12, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6c7029e View commit details
27 changes: 27 additions & 0 deletions pkgs/development/libraries/faudio/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, cmake, SDL2}:

#TODO: tests

stdenv.mkDerivation rec {
pname = "faudio";
version = "19.10";

src = fetchFromGitHub {
owner = "FNA-XNA";
repo = "FAudio";
rev = version;
sha256 = "1z7j803nxhgvjwpxr1m5d490yji727v7pn0ghhipbrfxlwzkw1sz";
};

nativeBuildInputs = [cmake];

buildInputs = [ SDL2 ];

meta = with stdenv.lib; {
description = "XAudio reimplementation focusing to develop a fully accurate DirectX audio library";
homepage = "https://github.com/FNA-XNA/FAudio";
license = licenses.zlib;
platforms = platforms.linux;
maintainers = [ maintainers.marius851000 ];
};
}
15 changes: 8 additions & 7 deletions pkgs/development/libraries/libui/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{ stdenv, fetchgit, cmake, pkgconfig, gtk3, Cocoa }:
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gtk3, Cocoa }:

let
shortName = "libui";
version = "3.1a";
version = "4.1a";
backend = if stdenv.isDarwin then "darwin" else "unix";
in

stdenv.mkDerivation {
name = "${shortName}-${version}";
src = fetchgit {
url = "https://github.com/andlabs/libui.git";
rev = "6ebdc96b93273c3cedf81159e7843025caa83058";
sha256 = "1lpbfa298c61aarlzgp7vghrmxg1274pzxh1j9isv8x758gk6mfn";
src = fetchFromGitHub {
owner = "andlabs";
repo = "libui";
rev = "alpha4.1";
sha256 = "0bm6xvqk4drg2kw6d304x6mlfal7gh8mbl5a9f0509smmdzgdkwm";
};

nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = stdenv.lib.optional stdenv.isLinux gtk3
propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux gtk3
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];

preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
12 changes: 6 additions & 6 deletions pkgs/games/sauerbraten/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{ stdenv, fetchsvn, libGLU_combined, SDL, SDL_image, SDL_mixer
, libpng, zlib, libjpeg, imagemagick, libX11, runtimeShell
{ stdenv, fetchsvn, SDL2, SDL2_image, SDL2_mixer
, zlib, runtimeShell
}:

stdenv.mkDerivation rec {
name = "sauerbraten-r${version}";
version = "5000";
version = "5492";

src = fetchsvn {
url = "https://svn.code.sf.net/p/sauerbraten/code";
sha256 = "17libj7dslprlwppdk3vyxdcigbsa4czln8gdyz9j264m11z1cbh";
sha256 = "0pin7ggy84fadjvran18db5v0l81qfv42faknpfaxx47xqz00l5s";
rev = version;
};

buildInputs = [
libGLU_combined SDL SDL_image SDL_mixer libpng zlib libjpeg imagemagick
libX11
SDL2 SDL2_mixer SDL2_image
zlib
];

preBuild = ''
9 changes: 7 additions & 2 deletions pkgs/misc/emulators/wine/base.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, pkgArches,
{ stdenv, lib, pkgArches, callPackage,
name, version, src, monos, geckos, platforms,
pkgconfig, fontforge, makeWrapper, flex, bison,
supportFlags,
@@ -7,6 +7,9 @@

with import ./util.nix { inherit lib; };

let
vkd3d = callPackage ./vkd3d.nix {};
in
stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
builder = buildScript;
}) // rec {
@@ -46,8 +49,10 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
++ lib.optional udevSupport pkgs.udev
++ lib.optional vulkanSupport pkgs.vulkan-loader
++ lib.optional sdlSupport pkgs.SDL2
++ lib.optional faudioSupport pkgs.faudio
++ lib.optional vkd3dSupport vkd3d
++ lib.optionals gstreamerSupport (with pkgs.gst_all_1;
[ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-libav
[ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-libav
(gst-plugins-bad.override { enableZbar = false; }) ])
++ lib.optionals gtkSupport [ pkgs.gtk3 pkgs.glib ]
++ lib.optionals openclSupport [ pkgs.opencl-headers pkgs.ocl-icd ]
5 changes: 4 additions & 1 deletion pkgs/misc/emulators/wine/default.nix
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@
xmlSupport ? false,
vulkanSupport ? false,
sdlSupport ? false,
faudioSupport ? false,
vkd3dSupport ? false,
}:

let wine-build = build: release:
@@ -54,7 +56,8 @@ let wine-build = build: release:
netapiSupport cursesSupport vaSupport pcapSupport v4lSupport saneSupport
gsmSupport gphoto2Support ldapSupport fontconfigSupport alsaSupport
pulseaudioSupport xineramaSupport gtkSupport openclSupport xmlSupport tlsSupport
openglSupport gstreamerSupport udevSupport vulkanSupport sdlSupport;
openglSupport gstreamerSupport udevSupport vulkanSupport sdlSupport faudioSupport
vkd3dSupport;
};
});

10 changes: 5 additions & 5 deletions pkgs/misc/emulators/wine/sources.nix
Original file line number Diff line number Diff line change
@@ -31,24 +31,24 @@ in rec {

## see http://wiki.winehq.org/Mono
mono = fetchurl rec {
version = "4.9.2";
version = "4.9.3";
url = "http://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}.msi";
sha256 = "0x7z0216j21bzc9v1q283qlsvbfzn92yiaf26ilh6bd7zib4c7xr";
sha256 = "0va7nbhvfb52g78s9k3zc6xxwsn5whfyn333s6fdxycp8rkvgxkw";
};
};

unstable = fetchurl rec {
# NOTE: Don't forget to change the SHA256 for staging as well.
version = "4.16";
version = "4.17";
url = "https://dl.winehq.org/wine/source/4.x/wine-${version}.tar.xz";
sha256 = "17qxbddv23ibbayw1ai984m0dlq63cgplms2jhsc09incjhafywd";
sha256 = "1bmj4l84q29h4km5ab5zzypns3mpf7pizybcpab6jj47cr1s303l";
inherit (stable) mono gecko32 gecko64;
};

staging = fetchFromGitHub rec {
# https://github.com/wine-staging/wine-staging/releases
inherit (unstable) version;
sha256 = "0zkvwl6rxr6xcqk4a3h43cak67w6bcyqqnajz6azif07ir3z1c61";
sha256 = "0cb0w6jwqs70854g1ixfj8r53raln0spyy1l96qv72ymbhzc353h";
owner = "wine-staging";
repo = "wine-staging";
rev = "v${version}";
26 changes: 26 additions & 0 deletions pkgs/misc/emulators/wine/vkd3d.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ stdenv, fetchurl, vulkan-headers, spirv-headers, vulkan-loader }:

#TODO: MoltenVK
#TODO: unstable

stdenv.mkDerivation rec {
pname = "vkd3d";
version = "1.1";

src = fetchurl {
url = "https://dl.winehq.org/vkd3d/source/vkd3d-${version}.tar.xz";
sha256 = "1dkayp95g1691w7n2yn1q9y7klq5xa921dgmn9a5vil0rihxqnj9";
};

buildInputs = [ vulkan-headers spirv-headers vulkan-loader ];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "A 3d library build on top on Vulkan with a similar api to DirectX 12";
homepage = "https://source.winehq.org/git/vkd3d.git";
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = [ maintainers.marius851000 ];
};
}
28 changes: 28 additions & 0 deletions pkgs/tools/networking/atinout/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, fetchgit, ronn, mount }:

stdenv.mkDerivation rec {
name = "atinout-${version}";
version = "0.9.2-alpha";

NIX_CFLAGS_COMPILE = [ "-Werror=implicit-fallthrough=0" ];
LANG = "C.UTF-8";
nativeBuildInputs = [ ronn mount ];

src = fetchgit {
url = "git://git.code.sf.net/p/atinout/code";
rev = "4976a6cb5237373b7e23cd02d7cd5517f306e3f6";
sha256 = "0bninv2bklz7ly140cxx8iyaqjlq809jjx6xqpimn34ghwsaxbpv";
};

installPhase = ''
make PREFIX=$out install
'';

meta = with stdenv.lib; {
homepage = http://atinout.sourceforge.net;
description = "Tool for talking to modems";
platforms = platforms.unix;
license = licenses.gpl3;
maintainers = with maintainers; [ bendlas ];
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -660,6 +660,8 @@ in
gsl = gsl_1;
};

atinout = callPackage ../tools/networking/atinout { };

atomicparsley = callPackage ../tools/video/atomicparsley {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
@@ -1629,6 +1631,8 @@ in

fast-cli = nodePackages.fast-cli;

faudio = callPackage ../development/libraries/faudio { };

fd = callPackage ../tools/misc/fd { };

fdroidserver = python3Packages.callPackage ../development/tools/fdroidserver { };
2 changes: 2 additions & 0 deletions pkgs/top-level/wine-packages.nix
Original file line number Diff line number Diff line change
@@ -44,6 +44,8 @@ rec {
gsmSupport = true;
gphoto2Support = true;
ldapSupport = true;
faudioSupport = true;
vkd3dSupport = true;
};

stable = base.override { wineRelease = "stable"; };