Merge branch 'master' into lprndn_Nixpkgs

This commit is contained in:
lprndn
2017-04-03 21:37:11 +02:00
committed by GitHub
3611 changed files with 106147 additions and 65003 deletions

View File

@@ -19,12 +19,13 @@
{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, help2man, makeWrapper
, glib, libbsd
, libX11, libXext, xorgserver, xkbcomp, kmod, xf86videonouveau
, nvidia_x11, virtualgl, primusLib
, nvidia_x11, virtualgl, libglvnd, primusLib
, automake111x, autoconf
# The below should only be non-null in a x86_64 system. On a i686
# system the above nvidia_x11 and virtualgl will be the i686 packages.
# TODO: Confusing. Perhaps use "SubArch" instead of i686?
, nvidia_x11_i686 ? null
, libglvnd_i686 ? null
, primusLib_i686 ? null
, useDisplayDevice ? false
, extraNvidiaDeviceOptions ? ""
@@ -40,7 +41,10 @@ let
primusLibs = lib.makeLibraryPath ([primus] ++ lib.optional (primusLib_i686 != null) primus_i686);
nvidia_x11s = [nvidia_x11] ++ lib.optional (nvidia_x11_i686 != null) nvidia_x11_i686;
nvidia_x11s = [ nvidia_x11 ]
++ lib.optional nvidia_x11.useGLVND libglvnd
++ lib.optionals (nvidia_x11_i686 != null)
([ nvidia_x11_i686 ] ++ lib.optional nvidia_x11_i686.useGLVND libglvnd_i686);
nvidiaLibs = lib.makeLibraryPath nvidia_x11s;
@@ -120,7 +124,7 @@ in stdenv.mkDerivation rec {
#"CONF_PRIMUS_LD_PATH=${primusLibs}"
] ++ lib.optionals useNvidia [
"CONF_LDPATH_NVIDIA=${nvidiaLibs}"
"CONF_MODPATH_NVIDIA=${nvidia_x11}/lib/xorg/modules"
"CONF_MODPATH_NVIDIA=${nvidia_x11.bin}/lib/xorg/modules"
];
CFLAGS = [

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-xrectsel" ];
postBuild = ''
make DESTDIR="$out" install
make install
'';
meta = with stdenv.lib; {

View File

@@ -1,23 +1,20 @@
{ stdenv, fetchurl, pkgconfig, glib, gtkmm2 }:
let version = "1.6.0";
let version = "1.6.1";
in
stdenv.mkDerivation rec {
name = "nitrogen-${version}";
src = fetchurl {
url = "http://projects.l3ib.org/nitrogen/files/${name}.tar.gz";
sha256 = "1pil2qa3v7x56zh9xvba8v96abnf9qgglbsdlrlv0kfjlhzl4jhr";
sha256 = "0zc3fl1mbhq0iyndy4ysmy8vv5c7xwf54rbgamzfhfvsgdq160pl";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib gtkmm2 ];
NIX_CXXFLAGS_COMPILE = "-std=c++11";
patchPhase = ''
substituteInPlace data/Makefile.in --replace /usr/share $out/share
patchShebangs data/icon-theme-installer
'';

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gtk2, libglade, openbox,
imlib2, libstartup_notification, makeWrapper }:
imlib2, libstartup_notification, makeWrapper, libSM }:
stdenv.mkDerivation rec {
name = "obconf-${version}";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [
pkgconfig gtk2 libglade openbox imlib2 libstartup_notification makeWrapper
pkgconfig gtk2 libglade libSM openbox imlib2 libstartup_notification
makeWrapper
];
postInstall = ''

View File

@@ -5,6 +5,8 @@
# Other distributions do the same.
{ stdenv
, stdenv_i686
, lib
, bumblebee
, primusLib
, writeScriptBin
, primusLib_i686 ? null
@@ -18,7 +20,10 @@ let
primus = if useNvidia then primusLib_ else primusLib_.override { nvidia_x11 = null; };
primus_i686 = if useNvidia then primusLib_i686_ else primusLib_i686_.override { nvidia_x11 = null; };
ldPath = stdenv.lib.makeLibraryPath ([primus] ++ stdenv.lib.optional (primusLib_i686 != null) primus_i686);
ldPath = lib.makeLibraryPath (lib.filter (x: x != null) (
[ primus primus.glvnd ]
++ lib.optionals (primusLib_i686 != null) [ primus_i686 primus_i686.glvnd ]
));
in writeScriptBin "primusrun" ''
#!${stdenv.shell}

View File

@@ -1,10 +1,16 @@
{ stdenv, fetchFromGitHub
, xlibsWrapper, mesa
{ stdenv, fetchFromGitHub, fetchpatch
, libX11, mesa_noglu
, nvidia_x11 ? null
, libX11
, libglvnd
}:
stdenv.mkDerivation {
let
aPackage =
if nvidia_x11 == null then mesa_noglu
else if nvidia_x11.useGLVND then libglvnd
else nvidia_x11;
in stdenv.mkDerivation {
name = "primus-lib-2015-04-28";
src = fetchFromGitHub {
@@ -14,18 +20,28 @@ stdenv.mkDerivation {
sha256 = "118jm57ccawskb8vjq3a9dpa2gh72nxzvx2zk7zknpy0arrdznj1";
};
buildInputs = [ libX11 mesa ];
patches = [
# Bump buffer size for long library paths.
(fetchpatch {
url = "https://github.com/abbradar/primus/commit/2f429e232581c556df4f4bf210aee8a0c99c60b7.patch";
sha256 = "1da6ynz7r7x98495i329sf821308j1rpy8prcdraqahz7p4c89nc";
})
];
buildInputs = [ libX11 mesa_noglu ];
makeFlags = [ "LIBDIR=$(out)/lib"
"PRIMUS_libGLa=${if nvidia_x11 == null then mesa else nvidia_x11}/lib/libGL.so"
"PRIMUS_libGLd=${mesa}/lib/libGL.so"
"PRIMUS_LOAD_GLOBAL=${mesa}/lib/libglapi.so"
"PRIMUS_libGLa=${aPackage}/lib/libGL.so"
"PRIMUS_libGLd=${mesa_noglu}/lib/libGL.so"
"PRIMUS_LOAD_GLOBAL=${mesa_noglu}/lib/libglapi.so"
];
installPhase = ''
ln -s $out/lib/libGL.so.1 $out/lib/libGL.so
'';
passthru.glvnd = if nvidia_x11 != null && nvidia_x11.useGLVND then nvidia_x11 else null;
meta = with stdenv.lib; {
description = "Low-overhead client-side GPU offloading";
homepage = "https://github.com/amonakov/primus";

View File

@@ -0,0 +1,33 @@
{stdenv, fetchFromGitHub, libX11}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "wayv";
version = "0.3";
src = fetchFromGitHub {
owner = "mikemb";
repo = pname;
rev = "b716877603250f690f08b593bf30fd5e8a93a872";
sha256 = "046dvaq6na1fyxz5nrjg13aaz6ific9wbygck0dknqqfmmjrsv3b";
};
buildInputs = [ libX11 ];
postInstall = ''
make -C doc install
mkdir -p "$out"/share/doc/wayv
cp [A-Z][A-Z]* "$out"/share/doc/wayv
cp doc/[A-Z][A-Z]* "$out"/share/doc/wayv
cp doc/*.txt "$out"/share/doc/wayv
cp doc/*.jpg "$out"/share/doc/wayv
'';
meta = {
inherit version;
description = "A gesture control for X11";
license = stdenv.lib.licenses.gpl2Plus ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = "https://github.com/mikemb/wayV";
};
}

View File

@@ -20,10 +20,10 @@ stdenv.mkDerivation rec {
configureFlags="--mandir=$out/share/man"
substituteInPlace x11vnc/unixpw.c \
--replace '"/bin/su"' '"/var/setuid-wrappers/su"' \
--replace '"/bin/su"' '"/run/wrappers/bin/su"' \
--replace '"/bin/true"' '"${coreutils}/bin/true"'
sed -i -e '/#!\/bin\/sh/a"PATH=${xorg.xdpyinfo}\/bin:${xorg.xauth}\/bin:$PATH\\n"' -e 's|/bin/su|/var/setuid-wrappers/su|g' x11vnc/ssltools.h
sed -i -e '/#!\/bin\/sh/a"PATH=${xorg.xdpyinfo}\/bin:${xorg.xauth}\/bin:$PATH\\n"' -e 's|/bin/su|/run/wrappers/bin/su|g' x11vnc/ssltools.h
'';
meta = {

View File

@@ -0,0 +1,24 @@
{stdenv, fetchFromBitbucket, libX11}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "xannotate";
version = "20150301";
src = fetchFromBitbucket {
owner = "blais";
repo = pname;
rev = "e5591c2ec67ca39988f1fb2966e94f0f623f9aa7";
sha256 = "02jy19if0rnbxvs6b0l5mi9ifvdj2qmv0pv278v9kfs0kvir68ik";
};
buildInputs = [ libX11 ];
meta = {
inherit version;
description = "A tool to scribble over X windows";
license = stdenv.lib.licenses.gpl2Plus ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = "https://bitbucket.org/blais/xannotate";
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libX11, guile }:
{ stdenv, fetchurl, pkgconfig, libX11, guile }:
let version = "1.8.6"; in
stdenv.mkDerivation {
@@ -8,6 +8,7 @@ stdenv.mkDerivation {
sha256 = "060df6d8y727jp1inp7blp44cs8a7jig7vcm8ndsn6gw36z1h3bc";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libX11 guile ];
meta = {

View File

@@ -0,0 +1,33 @@
{ stdenv, fetchurl, perl, libX11 }:
stdenv.mkDerivation rec {
name = "xkbset-0.5";
src = fetchurl {
url = "http://faculty.missouri.edu/~stephen/software/xkbset/${name}.tar.gz";
sha256 = "01c2579495b39e00d870f50225c441888dc88021e9ee3b693a842dd72554d172";
};
buildInputs = [ perl libX11 ];
postPatch = ''
sed "s:^X11PREFIX=.*:X11PREFIX=$out:" -i Makefile
'';
preInstall = ''
mkdir -p $out/bin
mkdir -p $out/man/man1
'';
postInstall = ''
rm -f $out/bin/xkbset-gui
'';
meta = with stdenv.lib; {
homepage = "http://faculty.missouri.edu/~stephen/software/#xkbset";
description = "Program to help manage many of XKB features of X window";
maintainers = with maintainers; [ drets ];
platforms = platforms.linux;
license = licenses.bsd3;
};
}

View File

@@ -3,7 +3,8 @@
, makeWrapper, xkbcomp, xorgserver, getopt, xauth, utillinux, which, fontsConf
, ffmpeg, x264, libvpx, libwebp
, libfakeXinerama
, gst_all_1, pulseaudioLight, gobjectIntrospection }:
, gst_all_1, pulseaudioLight, gobjectIntrospection
, pam }:
with lib;
@@ -36,34 +37,29 @@ in buildPythonApplication rec {
gst_all_1.gst-plugins-bad
gst_all_1.gst-libav
pam
makeWrapper
];
propagatedBuildInputs = with python2Packages; [
pillow pygtk pygobject2 rencode pycrypto cryptography pycups lz4 dbus-python
netifaces numpy websockify pygobject3 gst-python
netifaces numpy websockify pygobject3 gst-python pam
];
preBuild = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags gtk+-2.0) $(pkg-config --cflags pygtk-2.0) $(pkg-config --cflags xtst)"
substituteInPlace xpra/server/auth/pam.py --replace "/lib/libpam.so.1" "${pam}/lib/libpam.so"
'';
setupPyBuildFlags = ["--with-Xdummy" "--without-strict"];
preInstall = ''
# see https://bitbucket.org/pypa/setuptools/issue/130/install_data-doesnt-respect-prefix
${python}/bin/${python.executable} setup.py install_data --install-dir=$out --root=$out
sed -i '/ = data_files/d' setup.py
'';
postInstall = ''
wrapProgram $out/bin/xpra \
--set FONTCONFIG_FILE "${fontsConf}" \
--set XPRA_LOG_DIR "\$HOME/.xpra" \
--set XPRA_INSTALL_PREFIX "$out" \
--set GI_TYPELIB_PATH "$GI_TYPELIB_PATH" \
--set GST_PLUGIN_SYSTEM_PATH_1_0 "$GST_PLUGIN_SYSTEM_PATH_1_0" \
--prefix LD_LIBRARY_PATH : ${libfakeXinerama}/lib \
--prefix PATH : ${stdenv.lib.makeBinPath [ getopt xorgserver xauth which utillinux pulseaudioLight ]} \
--prefix LD_LIBRARY_PATH : ${libfakeXinerama}/lib \
--prefix PATH : ${stdenv.lib.makeBinPath [ getopt xorgserver xauth which utillinux pulseaudioLight ]}
'';
preCheck = "exit 0";

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libX11 ];
postBuild = ''
make DESTDIR="$out" install
make install
'';
meta = with stdenv.lib; {

View File

@@ -4,13 +4,13 @@
python2Packages.buildPythonApplication rec {
name = "certbot-${version}";
version = "0.9.3";
version = "0.11.1";
src = fetchFromGitHub {
owner = "certbot";
repo = "certbot";
rev = "v${version}";
sha256 = "03yfr8vlq62l0h14qk03flrkbvbv9mc5cf6rmh37naj8jwpl8cic";
sha256 = "0f8s6wzj69gnqld6iaskmmwyg5zy5v3zwhp1n1izxixm0vhkzgrq";
};
propagatedBuildInputs = with python2Packages; [
@@ -31,7 +31,7 @@ python2Packages.buildPythonApplication rec {
buildInputs = [ dialog ] ++ (with python2Packages; [ nose mock gnureadline ]);
patchPhase = ''
substituteInPlace certbot/notify.py --replace "/usr/sbin/sendmail" "/var/setuid-wrappers/sendmail"
substituteInPlace certbot/notify.py --replace "/usr/sbin/sendmail" "/run/wrappers/bin/sendmail"
substituteInPlace certbot/util.py --replace "sw_vers" "/usr/bin/sw_vers"
'';

View File

@@ -1,7 +1,7 @@
{ stdenv, bash, coreutils, curl, diffutils, gawk, gnugrep, gnused, openssl, makeWrapper, fetchFromGitHub }:
let
pkgName = "dehydrated";
version = "0.3.1";
version = "0.4.0";
in
stdenv.mkDerivation rec {
name = pkgName + "-" + version;
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
owner = "lukas2511";
repo = "dehydrated";
rev = "v${version}";
sha256 = "0prg940ykbsfb4w48bc03j5abycg8v7f9rg9x3kcva37y8ml0jsp";
sha256 = "0nxs6l5i6409dzgiyjn8cnzjcblwj4rqcpxxb766vcvb8d4kqwby";
};
buildInputs = [ makeWrapper ];

View File

@@ -3,22 +3,27 @@
with python27Packages;
# other systems not supported yet
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux" || stdenv.system == "x86_64-darwin";
stdenv.mkDerivation rec {
name = "google-cloud-sdk-${version}";
version = "138.0.0";
version = "148.0.1";
src =
if stdenv.system == "i686-linux" then
fetchurl {
url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${name}-linux-x86.tar.gz";
sha256 = "1z2v4bg743qkdlmyyy0z2j5s0g10vbc1643gxrhyz491sk6sp616";
sha256 = "17az8nah6s33c790kkqcpmcsc8cydhndmq7dblpwgizd86hg245g";
}
else if stdenv.system == "x86_64-darwin" then
fetchurl {
url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${name}-darwin-x86_64.tar.gz";
sha256 = "1p5076cqk02y8zc3pkdlmrgh3mx2w1pddb2r5c9h3krfcaim2yj8";
}
else
fetchurl {
url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${name}-linux-x86_64.tar.gz";
sha256 = "1y64bx9vj6rrapffr7zwxbxxbqlddx91n82kr99mwv19n11hydyw";
sha256 = "0fr07vcksy0vrg7inmyddz9jlbqx0yg933s45zzkpp3a0m5hz6ll";
};
buildInputs = [python27 makeWrapper];
@@ -58,6 +63,6 @@ stdenv.mkDerivation rec {
license = licenses.free;
homepage = "https://cloud.google.com/sdk/";
maintainers = with maintainers; [stephenmw zimbatm];
platforms = platforms.linux;
platforms = with platforms; linux ++ darwin;
};
}

View File

@@ -8,11 +8,11 @@ let
inherit (pythonPackages) pygobject3 python;
in stdenv.mkDerivation rec {
name = "gtk-vnc-${version}";
version = "0.6.0";
version = "0.7.0";
src = fetchurl {
url = "mirror://gnome/sources/gtk-vnc/0.6/${name}.tar.xz";
sha256 = "9559348805e64d130dae569fee466930175dbe150d2649bb868b5c095f130433";
url = "mirror://gnome/sources/gtk-vnc/${stdenv.lib.strings.substring 0 3 version}/${name}.tar.xz";
sha256 = "0gj8dpy3sj4dp810gy67spzh5f0jd8aqg69clcwqjcskj1yawbiw";
};
buildInputs = [

View File

@@ -0,0 +1,29 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
with rustPlatform;
buildRustPackage rec {
name = "intecture-agent-${version}";
version = "0.3.0";
src = fetchFromGitHub {
owner = "intecture";
repo = "agent";
rev = version;
sha256 = "0b59ij9c7hv2p4jx96f3acbygw27wiv8cfzzg6sg73l6k244k6l6";
};
depsSha256 = "1f94j54pg94f2x2lmmyj8dlki8plq6vnppmf3hzk3kd0rp7fzban";
buildInputs = [ openssl zeromq czmq zlib ];
nativeBuildInputs = [ pkgconfig cmake ];
meta = with lib; {
description = "Authentication client/server for Intecture components";
homepage = https://intecture.io;
license = licenses.mpl20;
maintainers = [ maintainers.rushmorem ];
};
}

View File

@@ -0,0 +1,29 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
with rustPlatform;
buildRustPackage rec {
name = "intecture-auth-${version}";
version = "0.1.0";
src = fetchFromGitHub {
owner = "intecture";
repo = "auth";
rev = version;
sha256 = "1p3jahha8k139f22ijg050cl8akfzxda4gzvijpqv869hmhc70py";
};
depsSha256 = "0mki57yzb29y9fhh16xvpi5gfp6c14r5q3f45f3v8sdj95rjahz1";
buildInputs = [ openssl zeromq czmq zlib ];
nativeBuildInputs = [ pkgconfig cmake ];
meta = with lib; {
description = "Authentication client/server for Intecture components";
homepage = https://intecture.io;
license = licenses.mpl20;
maintainers = [ maintainers.rushmorem ];
};
}

View File

@@ -0,0 +1,32 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
with rustPlatform;
buildRustPackage rec {
name = "intecture-cli-${version}";
version = "0.3.2";
src = fetchFromGitHub {
owner = "intecture";
repo = "cli";
rev = version;
sha256 = "0f5pyrlkxzz4kdfzwambxzqr48g3n06f1pv163h06ggssqa51wbc";
};
depsSha256 = "0f3rhjs5addppva4cjx3ngpa5gz2i2n46hyc3zd4l7lhh8gaggix";
buildInputs = [ openssl zeromq czmq zlib ];
nativeBuildInputs = [ pkgconfig cmake ];
# Needed for tests
USER = "$(whoami)";
meta = with lib; {
description = "A developer friendly, language agnostic configuration management tool for server systems";
homepage = https://intecture.io;
license = licenses.mpl20;
maintainers = [ maintainers.rushmorem ];
};
}

View File

@@ -8,11 +8,11 @@
python2Packages.buildPythonApplication rec {
name = "salt-${version}";
version = "2016.3.3";
version = "2016.11.2";
src = fetchurl {
url = "mirror://pypi/s/salt/${name}.tar.gz";
sha256 = "1djjglnh6203y8dirziz5w6zh2lgszxp8ivi86nb7fgijj2h61jr";
sha256 = "0hrss5x47cr7ffyjl8jlkhf9j88lqvg7c33rjc5bimck8b7x7hzm";
};
propagatedBuildInputs = with python2Packages; [

View File

@@ -0,0 +1,22 @@
{ lib
, fetchurl
, python2Packages
}:
python2Packages.buildPythonApplication rec {
name = "salt-pepper-${version}";
version = "0.5.0";
src = fetchurl {
url = "https://github.com/saltstack/pepper/releases/download/${version}/${name}.tar.gz";
sha256 = "0gf4v5y1kp16i1na4c9qw7cgrpsh21p8ldv9r6b8gdwcxzadxbck";
};
doCheck = false; # no tests available
meta = with lib; {
description = "A CLI front-end to a running salt-api system";
homepage = https://github.com/saltstack/pepper;
maintainers = [ maintainers.pierrer ];
license = licenses.asl20;
};
}

View File

@@ -1,20 +1,28 @@
{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "simp_le-2016-12-16";
pname = "simp_le-client";
version = "0.1.1";
name = "${pname}-${version}";
# kuba/simp_le seems unmaintained
src = fetchFromGitHub {
owner = "zenhack";
repo = "simp_le";
rev = "63a43b8547cd9fbc87db6bcd9497c6e37f73abef";
sha256 = "04dr8lvcpi797722lsy06nxhlihrxdqgdy187pg3hl1ki2iq3ixx";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "18y8mg0s0i2bs57pi6mbkwgjlr5mmivchiyvrpcbdmkg9qlbfwaa";
};
propagatedBuildInputs = with pythonPackages; [ acme ];
prePatch = ''
substituteInPlace setup.py \
--replace 'acme>=0.9,<0.10' acme
'';
checkPhase = ''
$out/bin/simp_le --test
'';
propagatedBuildInputs = with pythonPackages; [ acme setuptools_scm ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;
homepage = "https://github.com/zenhack/simp_le";
description = "Simple Let's Encrypt client";
license = licenses.gpl3;
maintainers = with maintainers; [ gebner nckx ];

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchgit, xorg
{ stdenv, fetchFromGitHub, xorg
, autoconf, automake, cvs, libtool, nasm, pixman, xkeyboard_config
, fontDirectories, libgcrypt, gnutls, pam, flex, bison, gettext
, cmake, libjpeg_turbo, fltk, nettle, libiconv, libtasn1
@@ -7,13 +7,14 @@
with stdenv.lib;
stdenv.mkDerivation rec {
version = "1.7.0";
version = "1.8.0pre20170211";
name = "tigervnc-${version}";
src = fetchgit {
url = "https://github.com/TigerVNC/tigervnc/";
sha256 = "1b6n2gq6078x8dwz471a68jrkgpcxmbiivmlsakr42vrndm7niz3";
rev = "e25272fc74ef09987ccaa33b9bf1736397c76fdf";
src = fetchFromGitHub {
owner = "TigerVNC";
repo = "tigervnc";
sha256 = "10bs6394ya953gmak8g2d3n133vyfrryq9zq6dc27g8s6lw0mrbh";
rev = "b6c46a1a99a402d5d17b1afafc4784ce0958d6ec";
};
inherit fontDirectories;
@@ -33,7 +34,7 @@ stdenv.mkDerivation rec {
dontUseCmakeBuildDir = true;
postBuild = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-error=int-to-pointer-cast"
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-error=int-to-pointer-cast -Wno-error=pointer-to-int-cast"
export CXXFLAGS="$CXXFLAGS -fpermissive"
# Build Xvnc
tar xf ${xorg.xorgserver.src}

View File

@@ -0,0 +1,48 @@
--- p1/Makefile.orig 2017-02-14 21:40:20.404249126 +0100
+++ p1/Makefile 2017-02-19 23:38:43.880414077 +0100
@@ -66,37 +66,42 @@
# systems the large file compile environment itself might be buggy or beta.
#LARGEFILEFLAGS=
LARGEFILEFLAGS=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
# even more warnings flags..
MW=
#MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
-CC=gcc
+#CC=gcc
CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e ${e2} $f $g $I
LDFLAGS =
afio : afio.o compfile.o exten.o match.o $M
${CC} ${LDFLAGS} afio.o compfile.o exten.o match.o $M -o afio
clean:
rm -f *.o afio
rm -f regtest/cmpstat regtest/makesparse
rm -f regtest/statsize regtest/statsize64
cd regtest; /bin/sh regtest.clean
+ifndef DESTDIR
+install:
+ $(error Please specify install prefix as $$DESTDIR)
+else
install: afio
- cp afio /usr/local/bin
- cp afio.1 /usr/share/man/man1
+ install -Dm755 afio $(DESTDIR)/bin/afio
+ install -Dm644 afio.1 $(DESTDIR)/share/man/man1/afio.1
+endif
# generate default list of -E extensions from manpage
# note: on sun, I had to change awk command below to nawk or gawk
# to get it to work.
exten_default.h : afio.1
awk -f exten_make.awk afio.1 >exten_default.h
afio.o : afio.h patchlevel.h
compfile.o : afio.h

View File

@@ -0,0 +1,31 @@
{ stdenv, fetchurl } :
stdenv.mkDerivation rec {
version = "2.5.1";
name = "afio-${version}";
src = fetchurl {
url = "http://members.chello.nl/~k.holtman/${name}.tgz";
sha256 = "363457a5d6ee422d9b704ef56d26369ca5ee671d7209cfe799cab6e30bf2b99a";
};
/*
* A patch to simplify the installation and for removing the
* hard coded dependency on GCC.
*/
patches = [ ./afio-2.5.1-install.patch ];
installFlags = "DESTDIR=$(out)";
meta = {
homepage = http://members.chello.nl/~k.holtman/afio.html;
description = "Fault tolerant cpio archiver targeting backups";
platforms = stdenv.lib.platforms.all;
/*
* Licensing is complicated due to the age of the code base, but
* generally free. See the file ``afio_license_issues_v5.txt`` for
* a comprehensive discussion.
*/
license = stdenv.lib.licenses.free;
};
}

View File

@@ -1,15 +1,17 @@
{ stdenv, fetchurl, zlib, bzip2, openssl, attr, lzo, libgcrypt, e2fsprogs, gpgme, xz }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dar-2.5.3";
name = "dar-2.5.9";
src = fetchurl {
url = "mirror://sourceforge/dar/${name}.tar.gz";
sha256 = "0myakyfgv2mhazwvbbwwncn9j7c9b4g3szs0aqlclmp01naaqmj5";
sha256 = "0bm91d82amh5h2sla2ngbpxd0l64alcdjhxz35bhj3cpz9562wv9";
};
buildInputs = [ zlib bzip2 openssl lzo libgcrypt gpgme xz ]
++ stdenv.lib.optionals stdenv.isLinux [ attr e2fsprogs ];
++ optionals stdenv.isLinux [ attr e2fsprogs ];
configureFlags = [ "--disable-dar-static" ];
@@ -20,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = http://dar.linux.free.fr/;
description = "Disk ARchiver, allows backing up files into indexed archives";
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.unix;
maintainers = [ maintainers.viric ];
platforms = platforms.unix;
};
}

View File

@@ -1,27 +1,28 @@
{ stdenv, fetchFromGitHub, zlib, bzip2 }:
stdenv.mkDerivation rec {
version = "1.0.2";
version = "1.0.3";
name = "undmg-${version}";
src = fetchFromGitHub {
owner = "matthewbauer";
repo = "undmg";
rev = "refs/tags/v${version}";
sha256 = "0w9vwvj9zbpsjkg251bwv9y10wjyjmh54q2piklz74w64rlbqblr";
name = "undmg-${version}";
rev = "v${version}";
sha256 = "1pxqw92h2w75d4jwiihwnkhnsfk09cddh3flgrqwh9r3ry14fgbb";
};
buildInputs = [ zlib bzip2 ];
setupHook = ./setup-hook.sh;
installFlags = "PREFIX=\${out}";
makeFlags = "PREFIX=$(out)";
meta = {
meta = with stdenv.lib; {
homepage = https://github.com/matthewbauer/undmg;
description = "Extract a DMG file";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.all;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ matthewbauer lnl7 ];
};
}

View File

@@ -1,30 +1,23 @@
{ stdenv, fetchFromGitHub, fetchpatch, cmake, zlib, openssl }:
{ stdenv, fetchFromGitHub, cmake, zlib, openssl }:
stdenv.mkDerivation rec {
name = "unshield-${version}";
version = "1.3";
version = "1.4.2";
src = fetchFromGitHub {
owner = "twogood";
repo = "unshield";
rev = version;
sha256 = "0cg84jr0ymvi8bmm3lx5hshhgm33vnr1rma1mfyqkc065c7gi9ja";
sha256 = "07lmh8vmrbqy4kd6zl5yc1ar3bg33w5cymlzwfijy6arg77hjgq9";
};
patches = [
# Fix build in separate directory
(fetchpatch {
url = "https://github.com/twogood/unshield/commit/07ce8d82f0f60b9048265410fa8063298ab520c4.patch";
sha256 = "160pbk2r98lv3vd0qxsxm6647qn5mddj37jzfmccdja4dpxhxz2z";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib openssl ];
meta = with stdenv.lib; {
description = "Tool and library to extract CAB files from InstallShield installers";
homepage = https://github.com/twogood/unshield;
homepage = "https://github.com/twogood/unshield";
license = licenses.mit;
platforms = platforms.linux;
};

View File

@@ -28,6 +28,6 @@ stdenv.mkDerivation {
description = "Compressor/archiver for creating and modifying zipfiles";
homepage = http://www.info-zip.org;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ];
maintainers = [ ];
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pkgconfig, qt4, taglib, chromaprint, ffmpeg }:
{ stdenv, fetchurl, fetchpatch, cmake, pkgconfig, qt4, taglib, chromaprint, ffmpeg }:
stdenv.mkDerivation rec {
name = "acoustid-fingerprinter-${version}";
@@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DTAGLIB_MIN_VERSION=${(builtins.parseDrvName taglib.name).version}" ];
patches = [ (fetchpatch {
url = "https://bitbucket.org/acoustid/acoustid-fingerprinter/commits/632e87969c3a5562a5d4842b03613267ba6236b2/raw";
sha256 = "15hm9knrpqn3yqrwyjz4zh2aypwbcycd0c5svrsy1fb2h2rh05jk";
}) ];
meta = with stdenv.lib; {
homepage = "http://acoustid.org/fingerprinter";
description = "Audio fingerprinting tool using chromaprint";

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, writeScript, glibcLocales
, pythonPackages, imagemagick
, pythonPackages, imagemagick, gobjectIntrospection, gst_all_1
, enableAcousticbrainz ? true
, enableAcoustid ? true
@@ -93,6 +93,9 @@ in pythonPackages.buildPythonApplication rec {
pythonPackages.pathlib
pythonPackages.pyyaml
pythonPackages.unidecode
pythonPackages.gst-python
pythonPackages.pygobject3
gobjectIntrospection
] ++ optional enableAcoustid pythonPackages.pyacoustid
++ optional (enableFetchart
|| enableEmbyupdate
@@ -119,7 +122,11 @@ in pythonPackages.buildPythonApplication rec {
nose
rarfile
responses
];
] ++ (with gst_all_1; [
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
]);
patches = [
./replaygain-default-bs1770gain.patch
@@ -198,6 +205,8 @@ in pythonPackages.buildPythonApplication rec {
runHook postInstallCheck
'';
makeWrapperArgs = [ "--set GI_TYPELIB_PATH \"$GI_TYPELIB_PATH\"" "--set GST_PLUGIN_SYSTEM_PATH_1_0 \"$GST_PLUGIN_SYSTEM_PATH_1_0\"" ];
meta = {
description = "Music tagger and library organizer";
homepage = http://beets.radbox.org;

View File

@@ -13,7 +13,9 @@ stdenv.mkDerivation {
librsvg wrapGAppsHook
];
makeFlags="PREFIX=$(out)";
makeFlags = [ "PREFIX=$(out)" ];
NIX_CFLAGS_COMPILE = [ "-D_POSIX_C_SOURCE" ];
meta = {
description = "A simple and lightweight volume icon that sits in your system tray";

View File

@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "0zdmamj2ldhr6y3s464w8y2x3yizda784jnlrg3j3myfabssisvz";
};
preConfigure = ''
intltoolize -f
'';
buildInputs = [ intltool autoreconfHook pythonPackages.wrapPython ];
propagatedBuildInputs = with pythonPackages; [ python pygtk dbus-python ];
pythonPath = with pythonPackages; [ mpd pygtk dbus-python notify ];

View File

@@ -1,23 +1,19 @@
{ stdenv, fetchFromGitHub, pkgconfig, intltool, autoconf, automake, alsaLib, gtk3, glibc, libnotify, libX11 }:
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, alsaLib, gtk3, glib, libnotify, libX11 }:
stdenv.mkDerivation rec {
name = "pnmixer-${version}";
version = "0.7";
version = "0.7.1-rc1";
src = fetchFromGitHub {
owner = "nicklan";
repo = "pnmixer";
rev = "v${version}";
sha256 = "077l28qhr82ifqfwc2nqi5q1hmi6dyqqbhmjcsn27p4y433f3rpb";
sha256 = "0ns7s1jsc7fc3fvs9m3xwbv1fk1410cqc5w1cmia1mlzy94r3r6p";
};
nativeBuildInputs = [ pkgconfig autoconf automake intltool ];
nativeBuildInputs = [ cmake pkgconfig gettext ];
buildInputs = [ alsaLib gtk3 glibc libnotify libX11 ];
preConfigure = ''
./autogen.sh
'';
buildInputs = [ alsaLib gtk3 glib libnotify libX11 ];
meta = with stdenv.lib; {
homepage = https://github.com/nicklan/pnmixer;

View File

@@ -2,13 +2,13 @@
python3Packages.buildPythonApplication rec {
name = "borgbackup-${version}";
version = "1.0.9";
version = "1.0.10";
namePrefix = "";
src = fetchurl {
url = "https://github.com/borgbackup/borg/releases/download/"
+ "${version}/${name}.tar.gz";
sha256 = "1ciwp9yilcibk0x82y5nn8ps95jrm8rxvff8mjrlp7a2w100i1im";
sha256 = "1sarmpzwr8dhbg0hsvaclcsjfax36ssb32d9klhhah4j8kqji3wp";
};
nativeBuildInputs = with python3Packages; [

View File

@@ -5,7 +5,7 @@
assert par2Support -> par2cmdline != null;
let version = "0.28.1"; in
let version = "0.29"; in
with stdenv.lib;
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
repo = "bup";
owner = "bup";
rev = version;
sha256 = "1hsxzrjvqa3pd74vmz8agiiwynrzynp1i726h0fzdsakc4adya4l";
sha256 = "1cc9kpq9bpln89m4ni6wqzh4c8zwxmgnhaibdxxfs5pk2mpl3ds5";
};
buildInputs = [ git python2Packages.python ];

View File

@@ -1,37 +1,43 @@
{ stdenv, fetchurl, python2Packages, librsync, ncftp, gnupg, rsync, makeWrapper
}:
{ stdenv, fetchurl, python2Packages, librsync, ncftp, gnupg, rsync, makeWrapper }:
let
version = "0.7.07.1";
in python2Packages.buildPythonApplication {
python2Packages.buildPythonApplication rec {
name = "duplicity-${version}";
version = "0.7.12";
src = fetchurl {
url = "http://code.launchpad.net/duplicity/0.7-series/${version}/+download/duplicity-${version}.tar.gz";
sha256 = "594c6d0e723e56f8a7114d57811c613622d535cafdef4a3643a4d4c89c1904f8";
url = "http://code.launchpad.net/duplicity/0.7-series/${version}/+download/${name}.tar.gz";
sha256 = "1rhgrz2lm9vbfdp2raykrih1c6n2lw5jd572z4dsz488m52avjqi";
};
buildInputs = [ librsync makeWrapper python2Packages.wrapPython ];
propagatedBuildInputs = with python2Packages; [
boto cffi cryptography ecdsa enum idna
ipaddress lockfile paramiko pyasn1 pycrypto six
];
checkInputs = with python2Packages; [ lockfile mock pexpect ];
# lots of tests are failing, although we get a little further now with the bits in preCheck
doCheck = false;
postInstall = ''
wrapProgram $out/bin/duplicity \
--prefix PATH : "${stdenv.lib.makeBinPath [ gnupg ncftp rsync ]}"
wrapPythonPrograms
'';
buildInputs = [ librsync makeWrapper ];
preCheck = ''
patchShebangs testing
# Inputs for tests. These are added to buildInputs when doCheck = true
checkInputs = with python2Packages; [ lockfile mock pexpect ];
substituteInPlace testing/__init__.py \
--replace 'mkdir testfiles' 'mkdir -p testfiles'
'';
# Many problematic tests
doCheck = false;
propagatedBuildInputs = with python2Packages; [ boto cffi cryptography ecdsa enum idna
ipaddress lockfile paramiko pyasn1 pycrypto six ];
meta = {
meta = with stdenv.lib; {
description = "Encrypted bandwidth-efficient backup using the rsync algorithm";
homepage = "http://www.nongnu.org/duplicity";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [viric peti];
platforms = stdenv.lib.platforms.unix;
homepage = http://www.nongnu.org/duplicity;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ viric peti ];
platforms = platforms.unix;
};
}

View File

@@ -2,11 +2,11 @@
pythonPackages.buildPythonApplication rec {
name = "obnam-${version}";
version = "1.20.2";
version = "1.21";
src = fetchurl rec {
url = "http://code.liw.fi/debian/pool/main/o/obnam/obnam_${version}.orig.tar.xz";
sha256 = "0r8gngjir9pinj5vp2aq326g74wnhv075n8y9i0hgc5cfvckjjmq";
sha256 = "0qlipsq50hca71zc0dp1mg9zs12qm0sbblw7qfzl0hj6mk2rv1by";
};
buildInputs = [ pythonPackages.sphinx attr ];
@@ -15,7 +15,7 @@ pythonPackages.buildPythonApplication rec {
doCheck = false;
meta = {
homepage = http://liw.fi/obnam/;
homepage = http://obnam.org;
description = "Backup program supporting deduplication, compression and encryption";
maintainers = [ stdenv.lib.maintainers.rickynils ];
platforms = stdenv.lib.platforms.linux;

View File

@@ -0,0 +1,32 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "restic-${version}";
version = "0.5.0";
goPackagePath = "github.com/restic/restic";
src = fetchFromGitHub {
owner = "restic";
repo = "restic";
rev = "v${version}";
sha256 = "0dj6zg4b00pwgs6nj7w5s0jxm6cfavd9kdcq0z4spypwdf211cgl";
};
buildPhase = ''
cd go/src/${goPackagePath}
go run build.go
'';
installPhase = ''
mkdir -p $bin/bin/
cp restic $bin/bin/
'';
meta = with stdenv.lib; {
homepage = https://restic.github.io;
description = "A backup program that is fast, efficient and secure";
platforms = platforms.linux;
license = licenses.bsd2;
};
}

View File

@@ -1,17 +1,29 @@
{ stdenv, fetchurl, python3Packages, sqlite }:
{ stdenv, fetchurl, python3Packages, sqlite, which }:
python3Packages.buildPythonApplication rec {
name = "${pname}-${version}";
pname = "s3ql";
version = "2.17.1";
version = "2.21";
src = fetchurl {
url = "https://bitbucket.org/nikratio/${pname}/downloads/${name}.tar.bz2";
sha256 = "049vpvvkyia7v4v97rg2l01n43shrdxc1ik38bmjb2q4fvsh1pgx";
sha256 = "1mifmxbsxc2rcrydk2vs5cjfd5r0510q5y7rmavlzi8grpcqdf3d";
};
propagatedBuildInputs = with python3Packages;
[ sqlite apsw pycrypto requests2 defusedxml dugong llfuse ];
buildInputs = [ which ]; # tests will fail without which
propagatedBuildInputs = with python3Packages; [
sqlite apsw pycrypto requests2 defusedxml dugong llfuse
cython pytest pytest-catchlog
];
preBuild = ''
# https://bitbucket.org/nikratio/s3ql/issues/118/no-module-named-s3qldeltadump-running#comment-16951851
${python3Packages.python.interpreter} ./setup.py build_cython build_ext --inplace
'';
checkPhase = ''
pytest tests
'';
meta = with stdenv.lib; {
description = "A full-featured file system for online data storage";

View File

@@ -29,13 +29,13 @@ stdenv.mkDerivation rec {
install -m 444 -D ${zshCompletion} $out/share/zsh/site-functions/_tarsnap
'';
buildInputs = [ openssl zlib e2fsprogs ];
buildInputs = [ openssl zlib ] ++ stdenv.lib.optional stdenv.isLinux e2fsprogs ;
meta = {
description = "Online backups for the truly paranoid";
homepage = "http://www.tarsnap.com/";
license = "tarsnap";
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice roconnor ];
};
}

View File

@@ -1,24 +0,0 @@
{ stdenv, fetchurl, cmake, automoc4, kdelibs, libbluedevil, shared_mime_info, gettext }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "bluedevil";
# bluedevil must have the same major version (x.y) as libbluedevil!
# do not update this package without checking libbluedevil
version = "2.1.1";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "1rcx1dfm6sm90pvwyq224a1pph96chrmyiv1rry7zpb3hf2c73gi";
};
buildInputs = [ cmake kdelibs libbluedevil shared_mime_info automoc4 gettext ];
meta = with stdenv.lib; {
description = "Bluetooth manager for KDE";
license = stdenv.lib.licenses.gpl2;
inherit (kdelibs.meta) platforms;
maintainers = [ maintainers.phreedom ];
};
}

View File

@@ -1,6 +1,7 @@
{ stdenv, lib, fetchurl, intltool, pkgconfig, pythonPackages, bluez, polkit, gtk3
, obex_data_server, xdg_utils, libnotify, dconf, gsettings_desktop_schemas, dnsmasq, dhcp
, hicolor_icon_theme , withPulseAudio ? true, libpulseaudio }:
, hicolor_icon_theme, librsvg
, withPulseAudio ? true, libpulseaudio }:
let
binPath = lib.makeBinPath [ xdg_utils dnsmasq dhcp ];
@@ -16,7 +17,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ intltool pkgconfig pythonPackages.wrapPython pythonPackages.cython ];
buildInputs = [ bluez gtk3 pythonPackages.python libnotify dconf
buildInputs = [ bluez gtk3 pythonPackages.python libnotify dconf librsvg
gsettings_desktop_schemas hicolor_icon_theme ]
++ pythonPath
++ lib.optional withPulseAudio libpulseaudio;

View File

@@ -1,23 +1,25 @@
{ stdenv, autoconf, automake, glib, pkgconfig, readline, fetchgit }:
{ stdenv, autoreconfHook, readline
, fetchFromGitHub, glib, pkgconfig }:
stdenv.mkDerivation rec {
date = "2015-09-10";
date = "2016-12-12";
name = "bluez-tools-${date}";
rev = "193ad6bb3db";
rev = "97efd29";
src = fetchgit {
src = fetchFromGitHub {
inherit rev;
url = "https://github.com/khvzak/bluez-tools.git";
sha256 = "0ylk10gfqlwmiz1k355axdhraixc9zym9f87xhag23934x64m8wa";
owner = "khvzak";
repo = "bluez-tools";
sha256 = "08xp77sf5wnq5086halmyk3vla4bfls06q1zrqdcq36hw6d409i6";
};
preConfigure = ''
./autogen.sh
'';
buildInputs = [ stdenv autoconf automake glib pkgconfig readline ];
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ readline glib ];
meta = with stdenv.lib; {
description = "Command line bluetooth manager for Bluez5";
license = stdenv.lib.licenses.gpl2;
license = licenses.gpl2;
maintainers = [ maintainers.dasuxullebt ];
platforms = platforms.unix;
};

View File

@@ -139,6 +139,7 @@ EOF
homepage = http://refind.sourceforge.net/;
maintainers = [ maintainers.AndersonTorres ];
platforms = [ "i686-linux" "x86_64-linux" ];
broken = true;
};
}

View File

@@ -0,0 +1,24 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "cdi2iso-${version}";
version = "0.1";
src = fetchurl {
url = "mirror://sourceforge/cdi2iso.berlios/${name}-src.tar.gz";
sha256 = "0fj2fxhpr26z649m0ph71378c41ljflpyk89g87x8r1mc4rbq3kh";
};
installPhase = ''
mkdir -p $out/bin/
cp cdi2iso $out/bin/
'';
meta = with stdenv.lib; {
description = "A very simple utility for converting DiscJuggler images to the standard ISO-9660 format";
homepage = https://sourceforge.net/projects/cdi2iso.berlios;
license = licenses.gpl2;
maintainers = with maintainers; [ hrdinka ];
platforms = platforms.linux;
};
}

View File

@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
configureFlags = [
# Explicit --docdir= is required for on-line help to work:
"--docdir=$out/share/doc"
"--docdir=share/doc"
"--with-nls=yes"
"--with-embedded-src-path=no"
] ++ stdenv.lib.optional (builtins.elem stdenv.system

View File

@@ -1,31 +1,26 @@
{stdenv, fetchurl, zlib}:
let
s = # Generated upstream information
rec {
baseName="advancecomp";
version="1.19";
name="${baseName}-${version}";
url="http://prdownloads.sourceforge.net/advancemame/advancecomp-1.19.tar.gz?download";
sha256="0irhmwcn9r4jc29442skqr1f3lafiaahxc3m3ybalmm37l6cb56m";
{ stdenv, fetchFromGitHub
, autoreconfHook, zlib }:
stdenv.mkDerivation rec {
name = "advancecomp-${version}";
version = "1.23";
src = fetchFromGitHub {
owner = "amadvance";
repo = "advancecomp";
rev = "v${version}";
sha256 = "1mrgmpjd9f7x16g847h1588mgryl26hlzfl40bc611259bb0bq7w";
};
buildInputs = [
zlib
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
meta = {
inherit (s) version;
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ zlib ];
meta = with stdenv.lib; {
description = ''A set of tools to optimize deflate-compressed files'';
license = stdenv.lib.licenses.gpl2 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
updateWalker = true;
homepage = "http://advancemame.sourceforge.net/comp-readme.html";
downloadPage = "http://advancemame.sourceforge.net/comp-download.html";
license = licenses.gpl2 ;
maintainers = [ maintainers.raskin ];
platforms = platforms.linux;
homepage = https://github.com/amadvance/advancecomp;
};
}

View File

@@ -1,25 +1,19 @@
{ stdenv, fetchFromGitHub }:
{ stdenv, fetchFromGitHub, cmake }:
# ?TODO: there's also python lib in there
stdenv.mkDerivation rec {
name = "brotli-${version}";
version = "0.3.0";
version = "0.5.2";
src = fetchFromGitHub {
owner = "google";
repo = "brotli";
rev = "v" + version;
sha256 = "1ijwr8fbrajp4gh8x6lrrpf8gymm0i6w06s97rv294q5dcszn299";
sha256 = "0wjypkzhbv30x30j2z8ba45r6nm4k98hsa4i42kqx03vzarsr2l4";
};
preConfigure = "cd tools";
# Debian installs "brotli" instead of "bro" but let's keep upstream choice for now.
installPhase = ''
mkdir -p "$out/bin"
mv ./bro "$out/bin/"
'';
buildInputs = [ cmake ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;

View File

@@ -0,0 +1,25 @@
{ stdenv, fetchurl } :
stdenv.mkDerivation rec {
name = "bsc-${version}";
version = "3.1.0";
src = fetchurl {
url = "https://github.com/IlyaGrebnov/libbsc/archive/${version}.tar.gz";
sha256 = "01yhizaf6qjv1plyrx0fcib264maa5qwvgfvvid9rzlzj9fxjib6";
};
enableParallelBuilding = true;
preInstall = ''
makeFlagsArray+=("PREFIX=$out")
'';
meta = with stdenv.lib; {
description = "High performance block-sorting data compression library";
homepage = http://libbsc.com/;
# Later commits changed the licence to Apache2 (no release yet, though)
license = with licenses; [ lgpl3Plus ];
platforms = platforms.unix;
};
}

View File

@@ -17,7 +17,7 @@ in pythonPackages.buildPythonApplication rec {
src = fetchurl {
url = "http://brettcsmith.org/2007/dtrx/dtrx-${version}.tar.gz";
sha1 = "05cfe705a04a8b84571b0a5647cd2648720791a4";
sha256 = "15yf4n27zbhvv0byfv3i89wl5zn6jc2wbc69lk5a3m6rx54gx6hw";
};
postInstall = ''

View File

@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, glibc }:
stdenv.mkDerivation rec {
name = "lzbench-20170208";
src = fetchFromGitHub {
owner = "inikep";
repo = "lzbench";
rev = "d5e9b58";
sha256 = "16xj5fldwl639f0ys5rx54csbfvf35ja34bdl5m068hdn6dr47r5";
};
enableParallelBuilding = true;
buildInputs = stdenv.lib.optionals stdenv.isLinux [ stdenv.glibc.static ];
installPhase = ''
mkdir -p $out/bin
cp lzbench $out/bin
'';
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "In-memory benchmark of open-source LZ77/LZSS/LZMA compressors";
license = licenses.free;
platforms = platforms.all;
};
}

View File

@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "lzfse-${version}";
version = "2016-06-21";
version = "2017-03-08";
src = fetchFromGitHub {
owner = "lzfse";
repo = "lzfse";
rev = "45912281e3945a09c6ebfa8c6629f6906a99fc29";
sha256 = "1wbh3x874fjn548g1hw4bm7lkk60vlvy8ph0wsjkzcx8873hwj7h";
rev = "88e2d27";
sha256 = "1mfh6y6vpvxsdwmqmfbkqkwvxc0pz2dqqc72c6fk9sbsrxxaghd5";
};
makeFlags = [ "INSTALL_PREFIX=$(out)" ];

View File

@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, cmake } :
stdenv.mkDerivation rec {
name = "lzham-1.0";
src = fetchFromGitHub {
owner = "richgel999";
repo = "lzham_codec";
rev = "v1_0_release";
sha256 = "14c1zvzmp1ylp4pgayfdfk1kqjb23xj4f7ll1ra7b18wjxc9ja1v";
};
buildInputs = [ cmake ];
enableParallelBuilding = true;
installPhase = ''
mkdir -p $out/bin
cp ../bin_linux/lzhamtest $out/bin
'';
meta = with stdenv.lib; {
description = "Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed";
homepage = https://github.com/richgel999/lzham_codec;
license = with licenses; [ mit ];
platforms = platforms.linux;
};
}

View File

@@ -1,13 +1,14 @@
{ stdenv, fetchurl, texinfo }:
stdenv.mkDerivation rec {
name = "lzip-1.17";
name = "lzip-${version}";
version = "1.18";
buildInputs = [ texinfo ];
src = fetchurl {
url = "mirror://savannah/lzip/${name}.tar.gz";
sha256 = "0lh3x964jjldx3piax6c2qzlhfiir5i6rnrcn8ri44rk19g8ahwl";
sha256 = "1p8lvc22sv3damld9ng8y6i8z2dvvpsbi9v7yhr5bc2a20m8iya7";
};
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";

View File

@@ -3,10 +3,10 @@
stdenv.mkDerivation rec {
name = "zstd-${version}";
version = "1.1.1";
version = "1.1.3";
src = fetchFromGitHub {
sha256 = "18snd1jiz0j6r1yk4vkgqmil2gbzwxgmcv2chvpnc5i93pp18hri";
sha256 = "1d46hs6pyq55izcmnk7hzvbl8iyxh7bp7qchc7rl8ay396ax2sd5";
rev = "v${version}";
repo = "zstd";
owner = "facebook";

View File

@@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub, zstd, lz4 }:
stdenv.mkDerivation rec {
name = "zstdmt-${version}";
version = "0.3";
src = fetchFromGitHub {
sha256 = "17i44kjc612sbs7diim9ih007zp7z9zs3q3yacd6dzlqya5vsp0w";
rev = "v${version}";
repo = "zstdmt";
owner = "mcmilk";
};
sourceRoot = "zstdmt-v${version}-src/unix";
buildInputs = [
zstd lz4
];
buildPhase = ''
make zstdmt lz4mt
'';
installPhase = ''
mkdir -p $out/bin/
mv zstdmt lz4mt $out/bin/
'';
meta = with stdenv.lib; {
description = "Multithreading Library for LZ4, LZ5 and ZStandard";
homepage = https://github.com/mcmilk/zstdmt;
license = with licenses; [ bsd2 ];
platforms = platforms.unix;
};
}

View File

@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://zsync.moria.org.uk/download/${name}.tar.bz2";
sha1 = "5e69f084c8adaad6a677b68f7388ae0f9507617a";
sha256 = "1wjslvfy76szf0mgg2i9y9q30858xyjn6v2acc24zal76d1m778b";
};
meta = {

View File

@@ -0,0 +1,26 @@
{ stdenv, fetchurl, rustPlatform, lzo, zlib }:
with rustPlatform;
buildRustPackage rec {
name = "btrfs-dedupe-${version}";
version = "1.1.0";
src = fetchurl {
url = "https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe/repository/archive.tar.bz2?ref=72c6a301d20f935827b994db210bf0a1e121273a";
sha256 = "0qy1g4crhfgs2f5cmrsjv6qscg3r66gb8n6sxhimm9ksivhjyyjp";
};
depsSha256 = "04jlz7nzsmg86i73w75i8rmlbk635xrg8m1dfac8h17dwb29yj6a";
buildInputs = [ lzo zlib ];
meta = with stdenv.lib; {
homepage = "https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe";
description = "BTRFS deduplication utility";
license = licenses.mit;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ ikervagyok ];
};
}

View File

@@ -1,17 +1,17 @@
{ stdenv, fetchurl, pkgconfig, libuuid }:
{ stdenv, fetchurl, pkgconfig, libuuid, gettext }:
stdenv.mkDerivation rec {
name = "e2fsprogs-1.43.3";
name = "e2fsprogs-1.43.4";
src = fetchurl {
url = "mirror://sourceforge/e2fsprogs/${name}.tar.gz";
sha256 = "09wrn60rlqdgjkmm09yv32zxdjba2pd4ya3704bhywyln2xz33nf";
sha256 = "a648a90a513f1b25113c7f981af978b8a19f832b3a32bd10707af3ff682ba66d";
};
outputs = [ "bin" "dev" "out" "man" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libuuid ];
buildInputs = [ libuuid ] ++ stdenv.lib.optional (!stdenv.isLinux) gettext;
crossAttrs = {
preConfigure = ''
@@ -19,11 +19,15 @@ stdenv.mkDerivation rec {
'';
};
configureFlags = [
"--enable-elf-shlibs" "--enable-symlink-install" "--enable-relative-symlinks"
# libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency).
"--disable-libuuid" "--disable-uuidd" "--disable-libblkid" "--disable-fsck"
];
configureFlags =
if stdenv.isLinux then [
"--enable-elf-shlibs" "--enable-symlink-install" "--enable-relative-symlinks"
# libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency).
"--disable-libuuid" "--disable-uuidd" "--disable-libblkid" "--disable-fsck"
] else [
"--enable-libuuid --disable-e2initrd-helper"
]
;
# hacky way to make it install *.pc
postInstall = ''
@@ -33,10 +37,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = {
meta = with stdenv.lib; {
homepage = http://e2fsprogs.sourceforge.net/;
description = "Tools for creating and checking ext2/ext3/ext4 filesystems";
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.eelco ];
};
}

View File

@@ -1,13 +1,14 @@
{ stdenv, fetchFromGitHub, python2Packages }:
python2Packages.buildPythonApplication rec {
name = "gitfs-0.2.5";
name = "gitfs-${version}";
version = "0.4.5.1";
src = fetchFromGitHub {
owner = "PressLabs";
repo = "gitfs";
rev = "495c6c52ec3573294ba7b8426ed794eb466cbb82";
sha256 = "04yh6b5ivbviqy5k2768ag75cd5kr8k70ar0d801yvc8hnijvphk";
rev = version;
sha256 = "1s9ml2ryqxvzzq9mxa9y3xmzr742qxcpw9kzzbr7vm3bxgkyi074";
};
patchPhase = ''
@@ -18,9 +19,8 @@ python2Packages.buildPythonApplication rec {
buildInputs = with python2Packages; [ pytest pytestcov mock ];
propagatedBuildInputs = with python2Packages; [ atomiclong fusepy pygit2 ];
checkPhase = ''
py.test
'';
checkPhase = "py.test";
doCheck = false;
meta = {
description = "A FUSE filesystem that fully integrates with git";

View File

@@ -3,14 +3,13 @@
, liburcu, attr, makeWrapper, coreutils, gnused, gnugrep, which
}:
let
s = # Generated upstream information
s =
rec {
baseName="glusterfs";
version="3.9.0";
version = "3.10.0";
name="${baseName}-${version}";
hash="057vq4f93f1g9sh1sfbqhccsprxrbhwwm898322x25sb8mscc5xl";
url="http://download.gluster.org/pub/gluster/glusterfs/3.9/3.9.0/glusterfs-3.9.0.tar.gz";
sha256="057vq4f93f1g9sh1sfbqhccsprxrbhwwm898322x25sb8mscc5xl";
url="http://download.gluster.org/pub/gluster/glusterfs/3.10/3.10.0/glusterfs-3.10.0.tar.gz";
sha256 = "1svysq55z4sd6bxcdpkxljwis4cnzkknag22ngyr7sgb4bs19c97";
};
buildInputs = [
fuse bison flex_2_5_35 openssl python2 ncurses readline

View File

@@ -1,4 +1,5 @@
url http://download.gluster.org/pub/gluster/glusterfs/
version_link '[0-9.]+/$'
version_link '[0-9.]+/$'
version_link '[.]tar[.]'
version_link '/[0-9.]+/$'
version_link '/[0-9.]+/$'
version_link 'glusterfs-[0-9.]+[.]tar[.]'
minimize_overwrite

View File

@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://jfs.sourceforge.net/project/pub/${name}.tar.gz";
sha1 = "291e8bd9d615cf3d27e4000117c81a3602484a50";
sha256 = "0kbsy2sk1jv4m82rxyl25gwrlkzvl3hzdga9gshkxkhm83v1aji4";
};
patches = [ ./types.patch ./hardening-format.patch ];

View File

@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
buildInputs = [ fuse pkgconfig attr uthash ];
patches = [
./fix-format-security-error.patch
];
installPhase = ''
mkdir -p $out/bin
cp mhddfs $out/bin/

View File

@@ -0,0 +1,12 @@
--- mhddfs-0.1.39/src/usage.c.old 2017-02-28 15:00:25.435438622 +0100
+++ mhddfs-0.1.39/src/usage.c 2017-02-28 15:00:33.847454958 +0100
@@ -43,7 +43,7 @@
"\n"
" see fusermount(1) for information about other options\n"
"";
- fprintf(to, usage);
+ fputs(usage, to);
if (to==stdout) exit(0);
exit(-1);
}

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, utillinux, libuuid
{stdenv, fetchurl, fetchpatch, utillinux, libuuid
, crypto ? false, libgcrypt, gnutls, pkgconfig}:
stdenv.mkDerivation rec {
@@ -14,6 +14,13 @@ stdenv.mkDerivation rec {
sha256 = "180y5y09h30ryf2vim8j30a2npwz1iv9ly5yjmh3wjdkwh2jrdyp";
};
patches = [
(fetchpatch {
url = "https://sources.debian.net/data/main/n/ntfs-3g/1:2016.2.22AR.1-4/debian/patches/0003-CVE-2017-0358.patch";
sha256 = "0hd05q9q06r18k8pmppvch1sslzqln5fvqj51d5r72g4mnpavpj3";
})
];
patchPhase = ''
substituteInPlace src/Makefile.in --replace /sbin '@sbindir@'
substituteInPlace ntfsprogs/Makefile.in --replace /sbin '@sbindir@'
@@ -40,9 +47,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = http://www.tuxera.com/community/open-source-ntfs-3g/;
description = "FUSE-based NTFS driver with full write support";
maintainers = with maintainers; [ urkud dezgeg ];
maintainers = with maintainers; [ dezgeg ];
platforms = platforms.linux;
license = licenses.gpl2Plus; # and (lib)fuse-lite under LGPL2+
};
}

View File

@@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub
, autoreconfHook, pkgconfig
, fuse, curl, expat }:
stdenv.mkDerivation rec {
name = "s3backer-${version}";
version = "1.4.2";
version = "1.4.3";
src = fetchFromGitHub {
sha256 = "0b9vmykrfpzs9is31pqb8xvgjraghnax1ph2jkbib1ya0vhxm8dj";
sha256 = "0fhkha5kap8dji3iy48cbszhq83b2anssscgjj9d5dsl5dj57zak";
rev = version;
repo = "s3backer";
owner = "archiecobbs";

View File

@@ -1,13 +1,22 @@
{stdenv, fetchurl, autoconf, automake, pkgconfig, curl, openssl, libxml2, fuse}:
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, curl, openssl, libxml2, fuse }:
stdenv.mkDerivation {
name = "s3fs-fuse-1.79";
src = fetchurl {
url = https://github.com/s3fs-fuse/s3fs-fuse/archive/v1.79.tar.gz;
sha256 = "0rmzkngzq040g020pv75qqx3jy34vdxzqvxz29k6q8yfb3wpkhb1";
stdenv.mkDerivation rec {
name = "s3fs-fuse-${version}";
version = "1.80";
src = fetchFromGitHub {
owner = "s3fs-fuse";
repo = "s3fs-fuse";
rev = "v${version}";
sha256 = "0yikqpdyjibbb36rj4118lv9nxgp9f5jhydzxijzxrzw29ypvw76";
};
preConfigure = "./autogen.sh";
buildInputs = [ autoconf automake pkgconfig curl openssl libxml2 fuse ];
buildInputs = [ curl openssl libxml2 fuse ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
configureFlags = [
"--with-openssl"
];
postInstall = ''
ln -s $out/bin/s3fs $out/bin/mount.s3fs

View File

@@ -1,16 +1,20 @@
{ stdenv, fetchurl }:
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
name = "snapraid-${version}";
version = "11.0";
version = "11.1";
src = fetchurl {
url = "https://github.com/amadvance/snapraid/releases/download/v${version}/snapraid-${version}.tar.gz";
sha256 = "0wapbi8ph7qcyh1jwyrn2r5slzsznlxvg137r4l02xgaaf42p9rh";
src = fetchFromGitHub {
owner = "amadvance";
repo = "snapraid";
rev = "v${version}";
sha256 = "13v0gz22ng09gs87f7900z2sk2hg5543njl32rfn4cxxp0jncs3r";
};
doCheck = true;
buildInputs = [ autoreconfHook ];
meta = {
homepage = http://www.snapraid.it/;
description = "A backup program for disk arrays";

View File

@@ -1,12 +1,14 @@
{ stdenv, fetchurl, cmake, fuse }:
{ stdenv, fetchFromGitHub, cmake, fuse }:
stdenv.mkDerivation rec {
name = "unionfs-fuse-${version}";
version = "1.0";
src = fetchurl {
url = "https://github.com/rpodgorny/unionfs-fuse/archive/v${version}.tar.gz";
sha256 = "02fcrjb06lxkxpk4l8arsqmai807sray24lj2nrasqaacg80ps1f";
src = fetchFromGitHub {
owner = "rpodgorny";
repo = "unionfs-fuse";
rev = "v${version}";
sha256 = "0g2hd6yi6v8iqzmgncg1zi9a7ixy9hsh51rzf6jnmzi79543dihf";
};
patches =

View File

@@ -1,15 +1,10 @@
{ stdenv, lib, zookeeper, zookeeper_mt, fuse, pkgconfig, autoreconfHook, log4cxx, boost, tree }:
stdenv.mkDerivation rec {
name = "zkfuse";
name = "zkfuse-${version}";
inherit (zookeeper) version src;
src = zookeeper.src;
patches = [
# see: https://issues.apache.org/jira/browse/ZOOKEEPER-1929
./zookeeper-1929.patch
];
setSourceRoot = "export sourceRoot=${zookeeper.name}/src/contrib/zkfuse";
sourceRoot = "${zookeeper.name}/src/contrib/zkfuse";
buildInputs = [ autoreconfHook zookeeper_mt log4cxx boost fuse ];

View File

@@ -1,15 +0,0 @@
diff --git a/src/contrib/zkfuse/src/zkadapter.cc b/src/contrib/zkfuse/src/zkadapter.cc
index 886051d..93dbef5 100644
--- a/src/zkadapter.cc
+++ b/src/zkadapter.cc
@@ -845,7 +845,10 @@ ZooKeeperAdapter::getNodeData(const string &path,
string("Unable to get data of node ") + path, rc
);
} else {
- return string( buffer, buffer + len );
+ if (len == -1) {
+ len = 0;
+ };
+ return string( buffer, len );
}
}

View File

@@ -2,17 +2,18 @@
, freeglut, ghostscriptX, imagemagick, fftw
, boehmgc, mesa_glu, mesa_noglu, ncurses, readline, gsl, libsigsegv
, python, zlib, perl, texLive, texinfo, xz
, darwin
}:
let
s = # Generated upstream information
rec {
baseName="asymptote";
version="2.38";
version="2.40";
name="${baseName}-${version}";
hash="1dxwvq0xighqckkjkjva8s0igxfgy1j25z81pbwvlz6jzsrxpip9";
url="mirror://sourceforge/project/asymptote/2.38/asymptote-2.38.src.tgz";
sha256="1dxwvq0xighqckkjkjva8s0igxfgy1j25z81pbwvlz6jzsrxpip9";
hash="08hy8hgh217df9kwznr22mg8vxxh3rbmbxgx3nqhxyggc9xqy544";
url="https://netcologne.dl.sourceforge.net/project/asymptote/2.40/asymptote-2.40.src.tgz";
sha256="08hy8hgh217df9kwznr22mg8vxxh3rbmbxgx3nqhxyggc9xqy544";
};
buildInputs = [
ghostscriptX imagemagick fftw
@@ -20,6 +21,8 @@ let
python zlib perl texLive texinfo xz ]
++ stdenv.lib.optionals stdenv.isLinux
[ freeglut mesa_glu mesa_noglu mesa_noglu.osmesa ]
++ stdenv.lib.optionals stdenv.isDarwin
(with darwin.apple_sdk.frameworks; [ OpenGL GLUT Cocoa ])
;
in
stdenv.mkDerivation {

View File

@@ -0,0 +1,11 @@
--- a/bins 2016-05-18 20:45:49.513330005 -0400
+++ b/bins 2016-05-18 20:58:58.957830874 -0400
@@ -1332,7 +1332,7 @@
mkdir $destDir, 0755
or die("\nCannot create $destDir: $?");
}
- system("cp", "-R", bsd_glob("$staticDir/*", GLOB_TILDE), "$destDir") == 0
+ system("cp", "-Rf", bsd_glob("$staticDir/*", GLOB_TILDE), "$destDir") == 0
or die("\nCannot copy $staticDir directory content to $destDir: $?");
} else {
beVerboseN(" Cannot find any static template directory.", 4);

View File

@@ -23,7 +23,8 @@ stdenv.mkDerivation {
DateTimeFormatDateParse ]; #TODO need Gtk (not Gtk2?) for bins-edit-gui
patches = [ ./bins_edit-isa.patch
./hashref.patch ];
./hashref.patch
./cp-dash-f.patch ];
installPhase = ''
export DESTDIR=$out;

View File

@@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
description = "Decoder for many camera raw picture formats";
license = stdenv.lib.licenses.free;
platforms = with stdenv.lib.platforms; allBut cygwin;
maintainers = [ stdenv.lib.maintainers.urkud ];
maintainers = [ ];
};
}

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchurl
, boost, freeglut, glew, gsl, lcms2, libpng, libtiff, mesa, vigra
, help2man, pkgconfig, perl, tetex }:
, help2man, pkgconfig, perl, texlive }:
stdenv.mkDerivation rec {
name = "enblend-enfuse-${version}";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff mesa vigra ];
nativeBuildInputs = [ help2man perl pkgconfig tetex ];
nativeBuildInputs = [ help2man perl pkgconfig texlive.combined.scheme-small ];
preConfigure = ''
patchShebangs src/embrace

View File

@@ -58,5 +58,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.mit;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
broken = true;
};
}

View File

@@ -0,0 +1,25 @@
{stdenv, fetchFromGitHub, zlib, libpng, libxml2, libjpeg }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "flam3";
version = "3.1.1-${stdenv.lib.strings.substring 0 7 rev}";
rev = "e0801543538451234d7a8a240ba3b417cbda5b21";
src = fetchFromGitHub {
inherit rev;
owner = "scottdraves";
repo = "${pname}";
sha256 = "18iyj16k0sn3fs52fj23lj31xi4avlddhbib6kk309576nlxp17w";
};
buildInputs = [ zlib libpng libxml2 libjpeg ];
meta = with stdenv.lib; {
description = "Cosmic recursive fractal flames";
homepage = http://flam3.com/;
maintainers = maintainers.nand0p;
platforms = platforms.linux;
license = licenses.cc-by-nc-sa-20;
};
}

View File

@@ -0,0 +1,34 @@
{stdenv, fetchgit, cmake, mesa, xorg }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "glee";
rev = "f727ec7463d514b6279981d12833f2e11d62b33d";
version = "20170205-${stdenv.lib.strings.substring 0 7 rev}";
src = fetchgit {
inherit rev;
url = "https://git.code.sf.net/p/${pname}/${pname}";
sha256 = "13mf3s7nvmj26vr2wbcg08l4xxqsc1ha41sx3bfghvq8c5qpk2ph";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ mesa xorg.libX11 ];
configureScript = ''
cmake
'';
preInstall = ''
sed -i 's/readme/Readme/' cmake_install.cmake
'';
meta = with stdenv.lib; {
description = "GL Easy Extension Library";
homepage = https://sourceforge.net/p/glee/glee/;
maintainers = with maintainers; [ nand0p ];
platforms = platforms.linux;
license = licenses.gpl3;
};
}

View File

@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "gmic-${version}";
version = "1.7.8";
version = "1.7.9";
src = fetchurl {
url = "http://gmic.eu/files/source/gmic_${version}.tar.gz";
sha256 = "1921s0n2frj8q95l8lm8was64cypnychgcgcavx9q8qljzbk4brs";
sha256 = "0cvi5kmcrrg5pm774ligyy33fasgsfp3mr6ingjzd99rn4710bqm";
};
nativeBuildInputs = [ pkgconfig ];

View File

@@ -1,40 +0,0 @@
{ stdenv, fetchurl, pkgconfig, xlibsWrapper, libpng, libjpeg, expat, libXaw
, yacc, libtool, fontconfig, pango, gd, libwebp
}:
assert libpng != null && libjpeg != null && expat != null;
stdenv.mkDerivation rec {
name = "graphviz-2.0";
src = fetchurl {
url = "http://www.graphviz.org/pub/graphviz/ARCHIVE/${name}.tar.gz";
sha256 = "39b8e1f2ba4cc1f5bdc8e39c7be35e5f831253008e4ee2c176984f080416676c";
};
buildInputs = [
pkgconfig xlibsWrapper libpng libjpeg expat libXaw yacc
libtool fontconfig pango gd libwebp
];
hardeningDisable = [ "format" "fortify" ];
configureFlags =
[ "--with-pngincludedir=${libpng.dev}/include"
"--with-pnglibdir=${libpng.out}/lib"
"--with-jpegincludedir=${libjpeg.dev}/include"
"--with-jpeglibdir=${libjpeg.out}/lib"
"--with-expatincludedir=${expat.dev}/include"
"--with-expatlibdir=${expat.out}/lib"
"--with-ltdl-include=${libtool}/include"
"--with-ltdl-lib=${libtool.lib}/lib"
]
++ stdenv.lib.optional (xlibsWrapper == null) "--without-x";
meta = {
description = "A program for visualising graphs";
homepage = http://www.graphviz.org/;
branch = "2.0";
platforms = stdenv.lib.platforms.unix;
};
}

View File

@@ -1,13 +1,16 @@
{ lib, stdenv, fetchurl, pkgconfig, libjpeg, libpng, flex, zlib, perl, libxml2
{ lib, stdenv, fetchsvn, pkgconfig, libjpeg, libpng, flex, zlib, perl, libxml2
, makeWrapper, libtiff
, enableX11 ? false, libX11 }:
stdenv.mkDerivation rec {
name = "netpbm-10.70.00";
# Determine version and revision from:
# https://sourceforge.net/p/netpbm/code/HEAD/log/?path=/advanced
name = "netpbm-10.77.02";
src = fetchurl {
url = "mirror://gentoo/distfiles/${name}.tar.xz";
sha256 = "14vxmzbwsy4rzrqjnzr4cvz1s0amacq69faps3v1j1kr05lcns0j";
src = fetchsvn {
url = "svn://svn.code.sf.net/p/netpbm/code/advanced";
rev = 2883;
sha256 = "1lxa5gasmqrwgihkk8ij7vb9kgdw3d5mp25kydkrf6x4wibg1w5f";
};
postPatch = /* CVE-2005-2471, from Arch */ ''

View File

@@ -1,18 +0,0 @@
{stdenv, fetchurl, boost, zlib}:
stdenv.mkDerivation {
name = "panomatic-0.9.4";
src = fetchurl {
url = http://aorlinsk2.free.fr/panomatic/bin/panomatic-0.9.4-src.tar.bz2;
sha256 = "0vfkj3k3y8narwwijh996q2zzprjxbr2fhym15nm4fkq14yw4wwn";
};
buildInputs = [ boost zlib ];
meta = {
homepage = http://aorlinsk2.free.fr/panomatic/;
description = "Tool that automates the creation of control points in Hugin";
license = stdenv.lib.licenses.gpl2Plus;
};
}

View File

@@ -15,6 +15,12 @@ stdenv.mkDerivation {
patches = [ ./ploticus-install.patch ];
# Make the symlink relative instead of absolute.
# Otherwise it breaks when auto-moved to $out/share.
preFixup = ''
ln -sf pl.1 "$out"/man/man1/ploticus.1
'';
meta = with stdenv.lib; {
description = "A non-interactive software package for producing plots and charts";
longDescription = ''Ploticus is a free, GPL'd, non-interactive

View File

@@ -52,6 +52,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.gnu;
platforms = stdenv.lib.platforms.unix;
};
}

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig
{ stdenv, fetchurl, pkgconfig, darwin, lib
, zlib, ghostscript, imagemagick, plotutils, gd
, libjpeg, libwebp
, libjpeg, libwebp, libiconv
}:
stdenv.mkDerivation rec {
@@ -13,13 +13,16 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ];
buildInputs = [ zlib ghostscript imagemagick plotutils gd libjpeg libwebp ]
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
libiconv ApplicationServices
]);
meta = with stdenv.lib; {
description = "Translates PostScript and PDF graphics into other vector formats";
homepage = https://sourceforge.net/projects/pstoedit/;
license = licenses.gpl2;
maintainers = [ maintainers.marcweber ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

View File

@@ -15,6 +15,6 @@ stdenv.mkDerivation rec {
homepage = http://fukuchi.org/works/qrencode/;
description = "QR code encoder";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.urkud ];
maintainers = [ ];
};
}

View File

@@ -1,12 +1,12 @@
{stdenv, fetchFromGitHub, mono}:
stdenv.mkDerivation rec {
name = "wavefunctioncollapse-${version}";
version = "0.0pre20160930";
version = "0.0pre20170130";
src = fetchFromGitHub {
owner = "mxgmn";
repo = "WaveFunctionCollapse";
rev = "333f592b6612da43ec475c988c09325378c662e9";
sha256 = "1cpwn52ka1zsi2yc7rfg5r9ll2kjgzabx4a5axcp9c4ph5qzsza6";
rev = "ef660c037b1d7c4ebce66efc625af2bb2f2111c0";
sha256 = "1dr5fvdgn1jqqacby6rrqm951adx3jw0j70r5i8pmrqnnw482l8m";
};
buildPhase = ''
mcs *.cs -out:wavefunctioncollapse.exe -r:System.Drawing

View File

@@ -1,9 +1,9 @@
{ stdenv, symlinkJoin, fcitx, fcitx-configtool, makeWrapper, plugins, qt55 }:
{ stdenv, symlinkJoin, fcitx, fcitx-configtool, makeWrapper, plugins, libsForQt5 }:
symlinkJoin {
name = "fcitx-with-plugins-${fcitx.version}";
paths = [ fcitx fcitx-configtool qt55.fcitx-qt5 ] ++ plugins;
paths = [ fcitx fcitx-configtool libsForQt5.fcitx-qt5 ] ++ plugins;
buildInputs = [ makeWrapper ];

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchurl, intltool, pkgconfig
, anthy, ibus, glib, gobjectIntrospection, gtk3, python3, pygobject3
, anthy, ibus, glib, gobjectIntrospection, gtk3, python3
}:
stdenv.mkDerivation rec {
@@ -15,15 +15,16 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ gebner ericsagnes ];
};
configureFlags = "--with-anthy-zipcode=${anthy}/share/anthy/zipcode.t";
configureFlags = [ "--with-anthy-zipcode=${anthy}/share/anthy/zipcode.t" ];
buildInputs = [
anthy glib gobjectIntrospection gtk3 ibus python3 pygobject3
anthy glib gobjectIntrospection gtk3 ibus python3
];
nativeBuildInputs = [ intltool pkgconfig ];
nativeBuildInputs = [ intltool pkgconfig python3.pkgs.wrapPython ];
postFixup = ''
wrapPythonPrograms
substituteInPlace $out/share/ibus/component/anthy.xml --replace \$\{exec_prefix\} $out
'';

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchurl, intltool, pkgconfig
, gtk3, ibus, libhangul, librsvg, python3, pygobject3
, gtk3, ibus, libhangul, librsvg, python3
}:
stdenv.mkDerivation rec {
@@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
sha256 = "120p9w7za6hi521hz8q235fkl4i3p1qqr8nqm4a3kxr0pcq40bd2";
};
buildInputs = [ gtk3 ibus libhangul python3 pygobject3 ];
buildInputs = [ gtk3 ibus libhangul ];
nativeBuildInputs = [ intltool pkgconfig ];
nativeBuildInputs = [ intltool pkgconfig python3.pkgs.wrapPython ];
postFixup = "wrapPythonPrograms";
meta = with stdenv.lib; {
isIbusEngine = true;

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, autoreconfHook
, intltool, pkgconfig, sqlite, libpinyin, db
, ibus, glib, gtk3, python3, pygobject3
, ibus, glib, gtk3, python3
}:
stdenv.mkDerivation rec {
@@ -15,12 +15,14 @@ stdenv.mkDerivation rec {
};
buildInputs = [ ibus glib sqlite libpinyin python3 gtk3 db ];
nativeBuildInputs = [ autoreconfHook intltool pkgconfig ];
nativeBuildInputs = [ autoreconfHook intltool pkgconfig python3.pkgs.wrapPython ];
postAutoreconf = ''
intltoolize
'';
postFixup = "wrapPythonPrograms";
meta = with stdenv.lib; {
isIbusEngine = true;
description = "IBus interface to the libpinyin input method";

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub
, autoreconfHook, pkgconfig
, ibus, m17n_lib, m17n_db, gettext, python3, pygobject3
, ibus, m17n_lib, m17n_db, gettext, python3
}:
stdenv.mkDerivation rec {
@@ -16,10 +16,12 @@ stdenv.mkDerivation rec {
buildInputs = [
ibus m17n_lib m17n_db gettext
python3 pygobject3
python3
];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
nativeBuildInputs = [ autoreconfHook pkgconfig python3.pkgs.wrapPython ];
postFixup = "wrapPythonPrograms";
meta = with stdenv.lib; {
isIbusEngine = true;

View File

@@ -1,4 +1,4 @@
{ clangStdenv, fetchFromGitHub, fetchsvn, gyp, which, ninja, python, pkgconfig, protobuf, ibus, gtk2, zinnia, qt4, libxcb, tegaki-zinnia-japanese }:
{ clangStdenv, fetchFromGitHub, fetchsvn, which, ninja, python2, pkgconfig, protobuf, ibus, gtk2, zinnia, qt4, libxcb, tegaki-zinnia-japanese }:
let
japanese_usage_dictionary = fetchsvn {
@@ -19,7 +19,7 @@ in clangStdenv.mkDerivation rec {
maintainers = with maintainers; [ gebner ericsagnes ];
};
nativeBuildInputs = [ gyp which ninja python pkgconfig ];
nativeBuildInputs = [ which ninja python2 python2.pkgs.gyp pkgconfig ];
buildInputs = [ protobuf ibus gtk2 zinnia qt4 libxcb ];
src = fetchFromGitHub {
@@ -36,8 +36,8 @@ in clangStdenv.mkDerivation rec {
configurePhase = ''
export GYP_DEFINES="document_dir=$out/share/doc/mozc use_libzinnia=1 use_libprotobuf=1 ibus_mozc_path=$out/lib/ibus-mozc/ibus-engine-mozc"
python src/build_mozc.py gyp --gypdir=${gyp}/bin --server_dir=$out/lib/mozc \
python src/unix/fcitx/fcitx.gyp gyp --gypdir=${gyp}/bin
python src/build_mozc.py gyp --gypdir=${python2.pkgs.gyp}/bin --server_dir=$out/lib/mozc \
python src/unix/fcitx/fcitx.gyp gyp --gypdir=${python2.pkgs.gyp}/bin
'';
preBuildPhase = ''

View File

@@ -1,17 +1,17 @@
{ stdenv, fetchFromGitHub
, autoreconfHook, docbook2x, pkgconfig
, gtk3, dconf, gobjectIntrospection
, ibus, python3, pygobject3 }:
, ibus, python3 }:
stdenv.mkDerivation rec {
name = "ibus-table-${version}";
version = "1.9.14";
version = "1.9.16";
src = fetchFromGitHub {
owner = "kaio";
repo = "ibus-table";
rev = version;
sha256 = "1mkx03iqrq5yq57y7hjqcmxfh41dsjykyyl70d41dflcgp5q2nhw";
sha256 = "1gkb6nsibk59kp404b394sg638jgah2a2b6ffq3gkacqg5j30wjb";
};
postPatch = ''
@@ -29,16 +29,18 @@ stdenv.mkDerivation rec {
'';
buildInputs = [
dconf gtk3 gobjectIntrospection ibus python3 pygobject3
dconf gtk3 gobjectIntrospection ibus python3
];
nativeBuildInputs = [ autoreconfHook docbook2x pkgconfig ];
nativeBuildInputs = [ autoreconfHook docbook2x pkgconfig python3.pkgs.wrapPython ];
postUnpack = ''
substituteInPlace $sourceRoot/engine/Makefile.am \
--replace "docbook2man" "docbook2man --sgml"
'';
postFixup = "wrapPythonPrograms";
meta = with stdenv.lib; {
isIbusEngine = true;
description = "An IBus framework for table-based input methods";

View File

@@ -15,6 +15,13 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = with python3Packages; [ pyxdg python-Levenshtein ];
nativeBuildInputs = [ python3Packages.wrapPython ];
postFixup = ''
buildPythonPath $out
patchPythonScript $out/share/ibus-uniemoji/uniemoji.py
'';
makeFlags = [ "PREFIX=$(out)" "SYSCONFDIR=$(out)/etc"
"PYTHON=${python3Packages.python.interpreter}"
];

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchurl, makeWrapper
{ stdenv, fetchurl, wrapGAppsHook
, intltool, isocodes, pkgconfig
, python3, pygobject3
, python3
, gtk2, gtk3, atk, dconf, glib, json_glib
, dbus, libnotify, gobjectIntrospection, wayland
, nodePackages
@@ -34,16 +34,20 @@ stdenv.mkDerivation rec {
];
buildInputs = [
python3 pygobject3
python3
intltool isocodes pkgconfig
gtk2 gtk3 dconf
json_glib
dbus libnotify gobjectIntrospection wayland
];
propagatedBuildInputs = [ glib ];
propagatedBuildInputs = [ glib python3.pkgs.pygobject3 ];
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [ wrapGAppsHook python3.pkgs.wrapPython ];
outputs = [ "out" "dev" ];
enableParallelBuilding = true;
preConfigure = ''
# Fix hard-coded installation paths, so make does not try to overwrite our
@@ -57,14 +61,9 @@ stdenv.mkDerivation rec {
substituteInPlace data/dconf/Makefile.in --replace "dconf update" "echo"
'';
preFixup = ''
for f in "$out/bin"/*; do #*/
wrapProgram "$f" \
--prefix XDG_DATA_DIRS : "$out/share:$GSETTINGS_SCHEMAS_PATH" \
--prefix PYTHONPATH : "$PYTHONPATH" \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH:$out/lib/girepository-1.0" \
--prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules"
done
postFixup = ''
buildPythonPath $out
patchPythonScript $out/share/ibus/setup/main.py
'';
doInstallCheck = true;

Some files were not shown because too many files have changed in this diff Show More