Merge staging into closure-size
The most complex problems were from dealing with switches reverted in the meantime (gcc5, gmp6, ncurses6). It's likely that darwin is (still) broken nontrivially.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{stdenv, fetchurl, libjpeg, lcms2, gettext, jasper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dcraw-9.22";
|
||||
name = "dcraw-9.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.cybercom.net/~dcoffin/dcraw/archive/${name}.tar.gz";
|
||||
sha256 = "00dz85fr5r9k3nlwdbdi30fpqr8wihamzpyair7l7zk0vkrax402";
|
||||
sha256 = "18zvzaxjq1yaj90xm8bwb30lqbjyjyp002bp175dayh3kr91syc5";
|
||||
};
|
||||
|
||||
buildInputs = [ libjpeg lcms2 gettext jasper ];
|
||||
|
||||
@@ -31,6 +31,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = stdenv.lib.optional (xorg == null) "--without-x";
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
for foo in cmd/dot/Makefile.in cmd/edgepaint/Makefile.in \
|
||||
cmd/mingle/Makefile.in plugin/gdiplus/Makefile.in; do
|
||||
substituteInPlace "$foo" --replace "-lstdc++" "-lc++"
|
||||
done
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
sed -e 's@am__append_5 *=.*@am_append_5 =@' -i lib/gvc/Makefile
|
||||
'';
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, curl, gnugrep, libnotify, scrot, which, xclip }:
|
||||
|
||||
let deps = stdenv.lib.makeSearchPath "bin" [ curl gnugrep libnotify scrot which xclip ];
|
||||
in stdenv.mkDerivation rec {
|
||||
version = "1.5.4";
|
||||
name = "imgur-screenshot-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jomo";
|
||||
repo = "imgur-screenshot";
|
||||
rev = "v${version}";
|
||||
sha256 = "1ff88mvrd0b7nmrkjljs3rnprk5ih0iif92dn39s3vnag3fp9f10";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 imgur-screenshot.sh $out/bin/imgur-screenshot
|
||||
wrapProgram $out/bin/imgur-screenshot --prefix PATH ':' ${deps}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A tool for easy screencapping and uploading to imgur.";
|
||||
homepage = "https://https://github.com/jomo/imgur-screenshot/";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lw ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, poppler }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "leela-12.fe7a35a";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TrilbyWhite";
|
||||
repo = "Leela";
|
||||
rev = "576a60185b191d3a3030fef10492fe32d2125563";
|
||||
sha256 = "1k6n758r9dhjmc1pnpk6qzpg0q7pkq2hf18z3b0s2z198jpkg9s3";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig poppler ];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" "MANDIR=$(out)/share/man" ];
|
||||
|
||||
meta = {
|
||||
description = "CLI frontend to the poppler-glib libary of PDF tools";
|
||||
homepage = https://github.com/TrilbyWhite/Leela;
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.puffnfresh ];
|
||||
};
|
||||
}
|
||||
@@ -3,18 +3,16 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "logstalgia-${version}";
|
||||
version = "1.0.6";
|
||||
version = "1.0.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/acaudwell/Logstalgia/releases/download/${name}/${name}.tar.gz";
|
||||
sha256 = "0d2zhn0q26rv2nb3hdbg0mb69l66g8pkys5is6rb0r6f5is986x8";
|
||||
sha256 = "1qghz1j3jmfj093br2hfyibayg3fmhg8fvp5ix9n9rbvzc1zslsm";
|
||||
};
|
||||
|
||||
buildInputs = [ glew SDL ftgl pkgconfig libpng libjpeg pcre SDL_image mesa boost
|
||||
glm ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-std=c++11"; # fix build with glm >= 0.9.6.0
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://code.google.com/p/logstalgia;
|
||||
description = "Website traffic visualization tool";
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl, libpng, netpbm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sng-${version}";
|
||||
version = "1.0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/sng/sng-${version}.tar.gz";
|
||||
sha256 = "04ym62qh8blsqigm3kr1shj9pn62y373wdaavk74rzwjzlhwhmq6";
|
||||
};
|
||||
|
||||
buildInputs = [ libpng ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-rgbtxt=${netpbm}/share/netpbm/misc/rgb.txt"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Minilanguage designed to represent the entire contents of a PNG file in an editable form";
|
||||
homepage = http://sng.sourceforge.net/;
|
||||
license = licenses.zlib;
|
||||
maintainers = [ maintainers.dezgeg ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -2,21 +2,23 @@
|
||||
, openssl, libX11, libXext, libXrender, overrideDerivation }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.12.1";
|
||||
version = "0.12.2.4";
|
||||
name = "wkhtmltopdf-${version}";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://github.com/wkhtmltopdf/wkhtmltopdf.git";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "0wjzaaviy1k3z8r2kzb2rmyx6xdj23a338b86sxcb15ws3kzwgwh";
|
||||
sha256 = "0g96vgi3s633j4myjfzakkyiml1zspvdvbc0q1vhw8fp5n1xdknm";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
|
||||
wkQt = overrideDerivation qt4 (deriv: {
|
||||
name = "qt-mod-4.8.6";
|
||||
enableParallelBuilding = true;
|
||||
src = fetchgit {
|
||||
url = "https://github.com/wkhtmltopdf/qt.git";
|
||||
rev = "82b568b"; # From git submodule spec in wkhtml repo.
|
||||
sha256 = "0whppwxnymh5bdayqsqx54n074m99yk6v78z7f0k5prja55yvwyx";
|
||||
rev = "48e71c19c7fc67517fb3dca6d42eacb57341c9ba"; # From git submodule spec in wkhtml repo.
|
||||
sha256 = "1ygr7g3k900zjf54ji6kkfppqnxaqwbh8npr53g2krdw3bmny6fx";
|
||||
};
|
||||
configureFlags =
|
||||
''
|
||||
@@ -67,12 +69,12 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
configurePhase = "qmake wkhtmltopdf.pro INSTALLBASE=$out";
|
||||
|
||||
|
||||
patches = [ ./makefix.patch ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://wkhtmltopdf.org/;
|
||||
description = "Tools for rendering web pages to PDF or images";
|
||||
longDescription = ''
|
||||
@@ -83,6 +85,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
There is also a C library, if you're into that kind of thing.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ jb55 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user