Merge branch 'master' into staging
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, scons, zlib, SDL, lua5, pkgconfig}:
|
||||
{stdenv, fetchurl, scons, zlib, SDL, lua5_1, pkgconfig}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "fceux-2.2.2";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
scons zlib SDL lua5 pkgconfig
|
||||
scons zlib SDL lua5_1 pkgconfig
|
||||
];
|
||||
|
||||
phases = "unpackPhase buildPhase";
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
export CC="gcc"
|
||||
export CXX="g++"
|
||||
mkdir -p "$out" "$out/share/applications" "$out/share/pixmaps"
|
||||
scons --prefix="$out" OPENGL=false GTK=false CREATE_AVI=false LOGO=false SYSTEM_LUA=false install
|
||||
scons --prefix="$out" OPENGL=false GTK=false CREATE_AVI=false LOGO=false install
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
{stdenv, fetchurl, which, pkgconfig, SDL, gtk, mesa, SDL_ttf}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mupen64plus-1.5";
|
||||
src = fetchurl {
|
||||
url = http://mupen64plus.googlecode.com/files/Mupen64Plus-1-5-src.tar.gz;
|
||||
sha256 = "0gygfgyr2sg4yx77ijk133d1ra0v1yxi4xjxrg6kp3zdjmhdmcjq";
|
||||
};
|
||||
|
||||
buildInputs = [ which pkgconfig SDL gtk mesa SDL_ttf ];
|
||||
|
||||
preConfigure = ''
|
||||
# Some C++ incompatibility fixes
|
||||
sed -i -e 's|char \* extstr = strstr|const char * extstr = strstr|' glide64/Main.cpp
|
||||
sed -i -e 's|char \* extstr = strstr|const char * extstr = strstr|' glide64/Combine.cpp
|
||||
|
||||
# Fix some hardcoded paths
|
||||
sed -i -e "s|/usr/local|$out|g" main/main.c
|
||||
|
||||
# Remove PATH environment variable from install script
|
||||
sed -i -e "s|export PATH=|#export PATH=|" ./install.sh
|
||||
'';
|
||||
|
||||
buildPhase = "make all";
|
||||
installPhase = "PREFIX=$out make install";
|
||||
|
||||
meta = {
|
||||
description = "A Nintendo 64 Emulator";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
homepage = http://code.google.com/p/mupen64plus;
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
};
|
||||
}
|
||||
@@ -30,15 +30,15 @@ in rec {
|
||||
};
|
||||
|
||||
unstable = fetchurl rec {
|
||||
version = "1.9.2";
|
||||
version = "1.9.3";
|
||||
url = "mirror://sourceforge/wine/wine-${version}.tar.bz2";
|
||||
sha256 = "0yjf0i2yc0yj366kg6b2ci9bwz3jq5k5vl01bqw4lbpgf5m4sk9k";
|
||||
sha256 = "0389xbs943iwdgv3a6pvcy2gxrwqzf20vrsbpd2yrj1lan2m8ps7";
|
||||
inherit (stable) gecko32 gecko64 mono;
|
||||
};
|
||||
|
||||
staging = fetchFromGitHub rec {
|
||||
inherit (unstable) version;
|
||||
sha256 = "05lxhl9rv936xh8v640l36xswszwc41iwpbjq7n5cwk361mdh1lp";
|
||||
sha256 = "0r932caxlkdw36f36f8y4h2r3anpl61fmqr9payb83fj55gsiq4d";
|
||||
owner = "wine-compholio";
|
||||
repo = "wine-staging";
|
||||
rev = "v${version}";
|
||||
|
||||
24
pkgs/misc/mxt-app/default.nix
Normal file
24
pkgs/misc/mxt-app/default.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, autoconf, automake, libtool }:
|
||||
|
||||
stdenv.mkDerivation rec{
|
||||
version="1.26";
|
||||
name = "mxt-app-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "atmel-maxtouch";
|
||||
repo = "mxt-app";
|
||||
rev = "v${version}";
|
||||
sha256 = "07afdgh8pnhgh2372cf5pqy6p7l6w3ing2hwnvz6db8wxw59n48h";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake libtool ];
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Command line utility for Atmel maXTouch devices";
|
||||
homepage = http://github.com/atmel-maxtouch/mxt-app;
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.colemickens ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -1,20 +1,20 @@
|
||||
{ stdenv, fetchurl, xproto, libX11, libXext }:
|
||||
{ stdenv, fetchurl, xproto, libX11, libXext, libXrandr }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "slock-1.2";
|
||||
name = "slock-1.3";
|
||||
src = fetchurl {
|
||||
url = "http://dl.suckless.org/tools/${name}.tar.gz";
|
||||
sha256 = "1crkyr4vblhciy6vnbjwwjnlkm9yg2hzq16v6hzxm20ai67na0il";
|
||||
sha256 = "065xa9hl7zn0lv2f7yjxphqsa35rg6dn9hv10gys0sh4ljpa7d5s";
|
||||
};
|
||||
buildInputs = [ xproto libX11 libXext ];
|
||||
buildInputs = [ xproto libX11 libXext libXrandr ];
|
||||
installFlags = "DESTDIR=\${out} PREFIX=";
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://tools.suckless.org/slock;
|
||||
description = "Simple X display locker";
|
||||
longDescription = ''
|
||||
Simple X display locker. This is the simplest X screen locker.
|
||||
'';
|
||||
license = "bsd";
|
||||
maintainers = with stdenv.lib.maintainers; [ astsmtl ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ astsmtl ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Theme for GTK 3, GTK 2, Gnome-Shell, and Cinnamon";
|
||||
license = licenses.gpl3;
|
||||
maintainer = [ maintainers.rycee ];
|
||||
maintainers = [ maintainers.rycee ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,62 +1,101 @@
|
||||
{ stdenv, fetchurl, bc, dtc
|
||||
, toolsOnly ? false
|
||||
, defconfig ? "allnoconfig"
|
||||
, targetPlatforms
|
||||
, filesToInstall
|
||||
}:
|
||||
{ stdenv, fetchurl, bc, dtc }:
|
||||
|
||||
let
|
||||
platform = stdenv.platform;
|
||||
crossPlatform = stdenv.cross.platform;
|
||||
makeTarget = if toolsOnly then "tools NO_SDL=1" else "all";
|
||||
installDir = if toolsOnly then "$out/bin" else "$out";
|
||||
buildFun = kernelArch:
|
||||
''
|
||||
if test -z "$crossConfig"; then
|
||||
make ${makeTarget}
|
||||
else
|
||||
make ${makeTarget} ARCH=${kernelArch} CROSS_COMPILE=$crossConfig-
|
||||
fi
|
||||
buildUBoot = { targetPlatforms
|
||||
, filesToInstall
|
||||
, installDir ? "$out"
|
||||
, defconfig
|
||||
, extraMeta ? {}
|
||||
, ... } @ args:
|
||||
stdenv.mkDerivation (rec {
|
||||
|
||||
name = "uboot-${defconfig}-${version}";
|
||||
version = "2016.01";
|
||||
|
||||
nativeBuildInputs = [ bc dtc ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";
|
||||
sha256 = "1md5jpq5n9jh08s7sdkjrvg2q7kpzwa7yrpgl9581ncrjfx2yyg5";
|
||||
};
|
||||
|
||||
configurePhase = ''
|
||||
make ${defconfig}
|
||||
'';
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "uboot-${defconfig}-${version}";
|
||||
version = "2015.10";
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";
|
||||
sha256 = "0m8r08izci0lzzjn5c5g5manp2rc7yc5swww0lxr7bamjigqvimx";
|
||||
mkdir -p ${installDir}
|
||||
cp ${stdenv.lib.concatStringsSep " " filesToInstall} ${installDir}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = [
|
||||
"ARCH=${stdenv.cross.platform.kernelArch}"
|
||||
"CROSS_COMPILE=${stdenv.cross.config}-"
|
||||
];
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.denx.de/wiki/U-Boot/";
|
||||
description = "Boot loader for embedded systems";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.dezgeg ];
|
||||
platforms = targetPlatforms;
|
||||
} // extraMeta;
|
||||
} // args);
|
||||
|
||||
in rec {
|
||||
inherit buildUBoot;
|
||||
|
||||
ubootTools = buildUBoot rec {
|
||||
installDir = "$out/bin";
|
||||
buildFlags = "tools NO_SDL=1";
|
||||
dontStrip = false;
|
||||
targetPlatforms = stdenv.lib.platforms.linux;
|
||||
filesToInstall = ["tools/dumpimage" "tools/mkenvimage" "tools/mkimage"];
|
||||
};
|
||||
|
||||
patches = [ ./vexpress-Use-config_distro_bootcmd.patch ];
|
||||
|
||||
nativeBuildInputs = [ bc dtc ];
|
||||
|
||||
configurePhase = ''
|
||||
make ${defconfig}
|
||||
'';
|
||||
|
||||
buildPhase = assert (platform ? kernelArch);
|
||||
buildFun platform.kernelArch;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p ${installDir}
|
||||
cp ${stdenv.lib.concatStringsSep " " filesToInstall} ${installDir}
|
||||
'';
|
||||
|
||||
dontStrip = !toolsOnly;
|
||||
|
||||
crossAttrs = {
|
||||
buildPhase = assert (crossPlatform ? kernelArch);
|
||||
buildFun crossPlatform.kernelArch;
|
||||
ubootBananaPi = buildUBoot rec {
|
||||
defconfig = "Bananapi_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "http://www.denx.de/wiki/U-Boot/";
|
||||
description = "Boot loader for embedded systems";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.dezgeg ];
|
||||
platforms = targetPlatforms;
|
||||
ubootJetsonTK1 = buildUBoot rec {
|
||||
defconfig = "jetson-tk1_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
filesToInstall = ["u-boot" "u-boot.dtb" "u-boot-dtb-tegra.bin" "u-boot-nodtb-tegra.bin"];
|
||||
};
|
||||
|
||||
ubootPcduino3Nano = buildUBoot rec {
|
||||
defconfig = "Linksprite_pcDuino3_Nano_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
filesToInstall = ["u-boot-sunxi-with-spl.bin"];
|
||||
};
|
||||
|
||||
ubootRaspberryPi = buildUBoot rec {
|
||||
defconfig = "rpi_defconfig";
|
||||
targetPlatforms = ["armv6l-linux"];
|
||||
filesToInstall = ["u-boot.bin"];
|
||||
};
|
||||
|
||||
# Intended only for QEMU's vexpress-a9 emulation target!
|
||||
ubootVersatileExpressCA9 = buildUBoot rec {
|
||||
defconfig = "vexpress_ca9x4_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
filesToInstall = ["u-boot"];
|
||||
patches = [ ./vexpress-Use-config_distro_bootcmd.patch ];
|
||||
};
|
||||
|
||||
ubootWandboard = buildUBoot rec {
|
||||
defconfig = "wandboard_defconfig";
|
||||
targetPlatforms = ["armv7l-linux"];
|
||||
filesToInstall = ["u-boot.img" "SPL"];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1586,6 +1586,17 @@ rec {
|
||||
|
||||
};
|
||||
|
||||
vinegar = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vinegar-2016-01-30";
|
||||
src = fetchgit {
|
||||
url = "git://github.com/tpope/vim-vinegar";
|
||||
rev = "75fc3824bc09053f22735d6726c5cfd614c15642";
|
||||
sha256 = "19fc1487169f1d8941ffddda1ffadd842ef4a773de2d32536eae52cf494154a6";
|
||||
};
|
||||
dependencies = [];
|
||||
|
||||
};
|
||||
|
||||
vundle = buildVimPluginFrom2Nix { # created by nix#NixDerivation
|
||||
name = "vundle-2015-11-04";
|
||||
src = fetchgit {
|
||||
|
||||
@@ -122,4 +122,5 @@
|
||||
"vim-webdevicons"
|
||||
"vim2hs"
|
||||
"vimwiki"
|
||||
"vinegar"
|
||||
"vundle"
|
||||
|
||||
Reference in New Issue
Block a user