Merge remote-tracking branch 'upstream/master' into staging

Conflicts:
	pkgs/development/tools/build-managers/conan/default.nix
This commit is contained in:
Tuomas Tynkkynen
2018-03-13 23:04:18 +02:00
288 changed files with 10208 additions and 9553 deletions
+2 -2
View File
@@ -6,11 +6,11 @@
let
nodeEnv = import ./../../development/node-packages/node-env.nix {
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
inherit (pkgs) stdenv libtool python2 utillinux runCommand writeTextFile;
inherit nodejs;
};
in
import ./node-packages-generated.nix {
inherit (pkgs) fetchurl fetchgit;
inherit nodeEnv;
}
}
+7 -6
View File
@@ -11,16 +11,16 @@
let
name = "hplip-${version}";
version = "3.17.10";
version = "3.17.11";
src = fetchurl {
url = "mirror://sourceforge/hplip/${name}.tar.gz";
sha256 = "0v27hg856b5z2rilczcbfgz8ksxn0n810g1glac3mxkj8qbl8wqg";
sha256 = "0xda7x7xxjvzn1l0adlvbwcw21crq1r3r79bkf94q3m5i6abx49g";
};
plugin = fetchurl {
url = "http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/${name}-plugin.run";
sha256 = "07am3dnl0ipgfswz5wndprryljh9rqbfhq7mm4d4yyj3bdnnzlig";
url = "https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/${name}-plugin.run";
sha256 = "0vqhwqc33vxncdhbzdchbgrcrxvkwnp7rc2hkswwn9da112s0c9w";
};
hplipState = substituteAll {
@@ -57,6 +57,7 @@ pythonPackages.buildPythonApplication {
dbus
net_snmp
openssl
zlib
];
nativeBuildInputs = [
@@ -97,7 +98,7 @@ pythonPackages.buildPythonApplication {
--with-mimedir=$out/etc/cups
--enable-policykit
--disable-qt4
${stdenv.lib.optionals withQt5 "--enable-qt5"}
${stdenv.lib.optionalString withQt5 "--enable-qt5"}
"
export makeFlags="
@@ -182,7 +183,7 @@ pythonPackages.buildPythonApplication {
meta = with stdenv.lib; {
description = "Print, scan and fax HP drivers for Linux";
homepage = http://hplipopensource.com/;
homepage = https://developers.hp.com/hp-linux-imaging-and-printing;
license = if withPlugin
then licenses.unfree
else with licenses; [ mit bsd2 gpl2Plus ];
@@ -0,0 +1,78 @@
{ stdenv, lib, writeText, fetchurl, upx, libGLU, glib, gtk2, alsaLib, libSM, libX11, gdk_pixbuf, pango, libXinerama, mpg123 }:
let
libPath = lib.makeLibraryPath [ stdenv.cc.cc libGLU glib gtk2 alsaLib libSM libX11 gdk_pixbuf pango libXinerama ];
in stdenv.mkDerivation rec {
name = "kega-fusion-${version}";
version = "3.63x";
src = fetchurl {
url = "http://www.carpeludum.com/download/Fusion363x.tar.gz";
sha256 = "14s6czy20h5khyy7q95hd7k77v17ssafv9l6lafkiysvj2nmw94g";
};
plugins = fetchurl {
url = "http://www.carpeludum.com/download/PluginsLinux.tar.gz";
sha256 = "0d623cvh6n5ijj3wb64g93mxx2xbichsn7hj7brbb0ndw5cs70qj";
};
runner = writeText "kega-fusion" ''
#!${stdenv.shell} -ex
kega_libdir="@out@/lib/kega-fusion"
kega_localdir="$HOME/.Kega Fusion"
# create local plugins directory if not present
mkdir -p "$kega_localdir/Plugins"
# create links for every included plugin
if [ $(ls -1A $kega_libdir/plugins | wc -l) -gt 0 ]; then
for i in $kega_libdir/plugins/*; do
if [ ! -e "$kega_localdir/Plugins/$(basename "$i")" ]; then
ln -sf "$i" "$kega_localdir/Plugins/"
fi
done
fi
# copy configuration file if not present
if ! [ -f "$kega_localdir/Fusion.ini" ]; then
cat > "$kega_localdir/Fusion.ini" <<EOF
ALSADeviceName=default
libmpg123path=${lib.getLib mpg123}/lib/libmpg123.so.0
EOF
else
sed -i 's,^\(libmpg123path=\).*,\1${lib.getLib mpg123}/lib/libmpg123.so.0,' "$kega_localdir/Fusion.ini"
fi
# here we go!
exec "$kega_libdir/Fusion" "$@"
'';
dontStrip = true;
dontPatchELF = true;
nativeBuildInputs = [ upx ];
installPhase = ''
upx -d Fusion
install -Dm755 Fusion "$out/lib/kega-fusion/Fusion"
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" --set-rpath "${libPath}" "$out/lib/kega-fusion/Fusion"
tar -xaf $plugins
mkdir -p "$out/lib/kega-fusion/plugins"
cp -r Plugins/*.rpi "$out/lib/kega-fusion/plugins"
mkdir -p "$out/bin"
substitute "$runner" "$out/bin/kega-fusion" --subst-var out
chmod +x "$out/bin/kega-fusion"
'';
meta = with stdenv.lib; {
description = "Sega SG1000, SC3000, SF7000, Master System, Game Gear, Genesis/Megadrive, SVP, Pico, SegaCD/MegaCD and 32X emulator";
homepage = http://www.carpeludum.com/kega-fusion/;
maintainers = with maintainers; [ abbradar ];
license = licenses.unfreeRedistributable;
platforms = [ "i686-linux" ];
};
}
+1 -1
View File
@@ -39,7 +39,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (! isNull buildScript) {
++ lib.optional vaSupport pkgs.libva-full
++ lib.optional pcapSupport pkgs.libpcap
++ lib.optional v4lSupport pkgs.libv4l
++ lib.optional saneSupport pkgs.saneBackends
++ lib.optional saneSupport pkgs.sane-backends
++ lib.optional gsmSupport pkgs.gsm
++ lib.optional gphoto2Support pkgs.libgphoto2
++ lib.optional ldapSupport pkgs.openldap
+1 -1
View File
@@ -15,7 +15,7 @@
with stdenv.lib;
let
inherit (python2Packages) python dbus-python;
shouldUsePkg = pkg: if pkg != null && stdenv.lib.any (x: x == stdenv.system) pkg.meta.platforms then pkg else null;
shouldUsePkg = pkg: if pkg != null && pkg.meta.available then pkg else null;
libOnly = prefix == "lib";
+1 -1
View File
@@ -5,7 +5,7 @@
}:
let
shouldUsePkg = pkg: if pkg != null && stdenv.lib.any (x: x == stdenv.system) pkg.meta.platforms then pkg else null;
shouldUsePkg = pkg: if pkg != null && pkg.meta.available then pkg else null;
optAlsaLib = shouldUsePkg alsaLib;
optDb = shouldUsePkg db;
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
patches = [ ./systemd.patch ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ which xfce.xfce4_dev_tools glib systemd
buildInputs = [ which xfce.xfce4-dev-tools glib systemd
libX11 libXScrnSaver libXxf86misc gtk3 dbus-glib wrapGAppsHook ];
preConfigure = ''
+1 -1
View File
@@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
description = "Shared components of Seafile: seafile-daemon, libseafile, libseafile python bindings, manuals, and icons";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.calrama ];
maintainers = [ ];
};
}
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -37,7 +37,6 @@
"github:andsild/peskcolor.vim.git"
"github:andviro/flake8-vim"
"github:ap/vim-css-color"
"github:autozimu/LanguageClient-neovim"
"github:bazelbuild/vim-bazel"
"github:bbchung/clighter8"
"github:benekastah/neomake"
@@ -169,6 +168,7 @@
"github:thinca/vim-quickrun"
"github:thinca/vim-themis"
"github:tomasr/molokai"
"github:tomlion/vim-solidity"
"github:tpope/vim-dispatch"
"github:tpope/vim-eunuch"
"github:tpope/vim-repeat"