Merge branch 'master' into staging

This commit is contained in:
Vladimír Čunát
2017-07-03 09:48:58 +02:00
124 changed files with 4698 additions and 3339 deletions

View File

@@ -28,6 +28,8 @@ stdenv.mkDerivation {
oldPath+="{datadir}\/ddccontrol-db"
sed "s/$oldPath/$newPath/" <configure.ac.old >configure.ac
rm configure.ac.old
sed -e "s/chmod 4711/chmod 0711/" -i src/ddcpci/Makefile*
'';
meta = with stdenv.lib; {

View File

@@ -2,7 +2,7 @@
buildGoPackage rec {
name = "fsql-${version}";
version = "0.2.1";
version = "0.3.1";
goPackagePath = "github.com/kshvmdn/fsql";
@@ -10,7 +10,7 @@ buildGoPackage rec {
owner = "kshvmdn";
repo = "fsql";
rev = "v${version}";
sha256 = "1izcfxm77hjj8z7a2nk9bbwbz4wc2yqzs2ir8v3k822m1hvgwb9a";
sha256 = "1accpxryk4744ydfrqc3la5k376ji11yr84n66dz5cx0f3n71vmz";
};
meta = with stdenv.lib; {

View File

@@ -39,6 +39,7 @@ buildGoPackage rec {
cp -r $src/man/man1 $man/share/man
mkdir -p $out/share/vim-plugins
ln -s $out/share/go/src/github.com/junegunn/fzf $out/share/vim-plugins/${name}
cp -R $src/shell $out/share/shell
'';
meta = with stdenv.lib; {

View File

@@ -0,0 +1,76 @@
{ stdenv
, fetchurl
, cmake
, libjpeg
, szip
, zlib
}:
stdenv.mkDerivation rec {
name = "hdf-${version}";
version = "4.2.12";
src = fetchurl {
url = "https://support.hdfgroup.org/ftp/HDF/releases/HDF${version}/src/hdf-${version}.tar.bz2";
sha256 = "020jh563sjyxsgml8l809d2i1d4ms9shivwj3gbm7n0ilxbll8id";
};
buildInputs = [
cmake
libjpeg
szip
zlib
];
preConfigure = "export SZIP_INSTALL=${szip}";
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DBUILD_TESTING=ON"
"-DHDF4_BUILD_TOOLS=ON"
"-DHDF4_BUILD_UTILS=ON"
"-DHDF4_BUILD_WITH_INSTALL_NAME=OFF"
"-DHDF4_ENABLE_JPEG_LIB_SUPPORT=ON"
"-DHDF4_ENABLE_NETCDF=OFF"
"-DHDF4_ENABLE_SZIP_ENCODING=ON"
"-DHDF4_ENABLE_SZIP_SUPPORT=ON"
"-DHDF4_ENABLE_Z_LIB_SUPPORT=ON"
"-DHDF4_BUILD_FORTRAN=OFF"
"-DJPEG_DIR=${libjpeg}"
];
doCheck = true;
preCheck = ''
export LD_LIBRARY_PATH=$(pwd)/bin
'' + stdenv.lib.optionalString (stdenv.isDarwin) ''
export DYLD_LIBRARY_PATH=$(pwd)/bin
'';
excludedTests = [
"MFHDF_TEST-hdftest"
"MFHDF_TEST-hdftest-shared"
"HDP-dumpsds-18"
"NC_TEST-nctest"
];
checkPhase = let excludedTestsRegex = if (excludedTests != [])
then "(" + (stdenv.lib.concatStringsSep "|" excludedTests) + ")"
else ""; in ''
runHook preCheck
ctest -E "${excludedTestsRegex}" --output-on-failure
runHook postCheck
'';
outputs = [ "bin" "dev" "out" ];
postInstall = ''
moveToOutput bin "$bin"
'';
meta = {
description = "Data model, library, and file format for storing and managing data";
homepage = https://support.hdfgroup.org/products/hdf4/;
maintainers = with stdenv.lib.maintainers; [ knedlsepp ];
platforms = stdenv.lib.platforms.unix;
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, rpmextract, ncurses, patchelf, makeWrapper, requireFile, unzip }:
{ stdenv, rpmextract, ncurses5, patchelf, makeWrapper, requireFile, unzip }:
assert stdenv.system == "x86_64-linux";
@@ -12,10 +12,10 @@ stdenv.mkDerivation rec {
sha256 = "11jzvh25mlygflazd37gi05xv67im4rgq7sbs5nwgw3gxdh4xfjj";
};
buildInputs = [rpmextract ncurses unzip makeWrapper];
buildInputs = [rpmextract ncurses5 unzip makeWrapper];
libPath =
stdenv.lib.makeLibraryPath
[ stdenv.cc.cc stdenv.cc.libc ncurses ];
[ stdenv.cc.cc stdenv.cc.libc ncurses5 ];
buildCommand = ''
mkdir -p $out/bin

View File

@@ -1,15 +1,15 @@
{ stdenv, fetchFromGitHub, makeWrapper, curl, spidermonkey }:
{ stdenv, fetchFromGitHub, makeWrapper, curl, recode, spidermonkey }:
stdenv.mkDerivation rec {
name = "plowshare4-${version}";
version = "1.1.0";
name = "plowshare-${version}";
version = "2.1.6";
src = fetchFromGitHub {
owner = "mcrapet";
repo = "plowshare";
rev = "v${version}";
sha256 = "1xxkdv4q97dfzbcdnmy5079a59fwh8myxlvdr2dlxdv70fb72sq9";
sha256 = "116291w0z1r61xm3a3zjlh85f05pk4ng9f1wbj9kv1j3xrjn4v4c";
};
buildInputs = [ makeWrapper ];
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
installPhase = ''
make PREFIX="$out" install
for fn in plow{del,down,list,up}; do
wrapProgram "$out/bin/$fn" --prefix PATH : "${stdenv.lib.makeBinPath [ curl spidermonkey ]}"
for fn in plow{del,down,list,mod,probe,up}; do
wrapProgram "$out/bin/$fn" --prefix PATH : "${stdenv.lib.makeBinPath [ curl recode spidermonkey ]}"
done
'';
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
A command-line download/upload tool for popular file sharing websites
'';
license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.aforemny ];
maintainers = with stdenv.lib.maintainers; [ aforemny jfrankenau ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "screen-${version}";
version = "4.5.1";
version = "4.6.0";
src = fetchurl {
url = "mirror://gnu/screen/${name}.tar.gz";
sha256 = "0bbv16gpxrh64sn4bvjy3qjy7jsxjlqlilyysin02fwnvla23nwp";
sha256 = "1m7yd2bs1i623kk27nfy3qa2mgjp5qjqxwj5qz21r51ycmmp0cwl";
};
configureFlags= [

View File

@@ -0,0 +1,33 @@
{ stdenv, xlibs, fetchgit, libXScrnSaver, libX11 }:
stdenv.mkDerivation {
name = "x11idle-unstable-2017-07-01";
src = fetchgit {
url = "git://orgmode.org/org-mode.git";
rev = "fbd865941f3105f689f78bf053bb3b353b9b8a23";
sha256 = "0ma3m48f4s38xln0gl1ww9i5x28ij0ipxc94kx5h2931zy7lqzvz";
};
buildInputs = [ libXScrnSaver libX11 ];
unpackPhase = ":";
installPhase = ''
mkdir -p $out/bin
gcc -lXss -lX11 $src/contrib/scripts/x11idle.c -o $out/bin/x11idle
'';
meta = with stdenv.lib; {
description = ''
Compute consecutive idle time for current X11 session with millisecond resolution
'';
longDescription = ''
Idle time passes when the user does not act, i.e. when the user doesn't move the mouse or use the keyboard.
'';
homepage = "http://orgmode.org/";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.swflint ];
};
}