Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Aycan iRiCAN
2014-06-27 20:55:22 +03:00
35 changed files with 455 additions and 38 deletions

View File

@@ -21,6 +21,7 @@ cabal.mkDerivation (self: {
configureFlags = "--datasubdir=${self.pname}-${self.version}";
postInstall = ''
cd $out/share/$pname-$version
sed -i -e 's/"-b" "\\n" "-l"/"-l" "-b" "\\"\\\\n\\""/' ghc-process.el
make
rm Makefile
cd ..

View File

@@ -0,0 +1,18 @@
{ cabal, filepath, haskellSrcExts, monadloc, syb }:
cabal.mkDerivation (self: {
pname = "monadloc-pp";
version = "0.3";
sha256 = "0jr9ngcj3l6kd5cscll5kr3a4bp52sdjgrdxd1j5a21jyc3gdyvn";
isLibrary = false;
isExecutable = true;
buildDepends = [ filepath haskellSrcExts monadloc syb ];
jailbreak = true;
meta = {
homepage = "http://github.com/pepeiborra/monadloc";
description = "A preprocessor for generating monadic call traces";
license = self.stdenv.lib.licenses.publicDomain;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.tomberek ];
};
})

View File

@@ -0,0 +1,28 @@
{stdenv, fetchurl}:
let
s = # Generated upstream information
rec {
baseName="libatomic_ops";
version="7.4.2";
name="${baseName}-${version}";
hash="1pdm0h1y7bgkczr8byg20r6bq15m5072cqm5pny4f9crc9gn3yh4";
url="http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-7.4.2.tar.gz";
sha256="1pdm0h1y7bgkczr8byg20r6bq15m5072cqm5pny4f9crc9gn3yh4";
};
buildInputs = [
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
meta = {
inherit (s) version;
description = ''A library for semi-portable access to hardware-provided atomic memory update operations'';
license = stdenv.lib.licenses.gpl2Plus ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -0,0 +1 @@
url https://github.com/ivmai/libatomic_ops/wiki/Download

View File

@@ -0,0 +1,30 @@
{stdenv, fetchurl, gperf, pkgconfig, librevenge, libxml2, boost, icu, cppunit
, libwpd}:
let
s = # Generated upstream information
rec {
baseName="libe-book";
version="0.0.3";
name="${baseName}-${version}";
hash="06xhg319wbqrkj8914npasv5lr7k2904mmy7wa78063mkh31365i";
url="mirror://sourceforge/project/libebook/libe-book-0.0.3/libe-book-0.0.3.tar.xz";
sha256="06xhg319wbqrkj8914npasv5lr7k2904mmy7wa78063mkh31365i";
};
buildInputs = [
gperf pkgconfig librevenge libxml2 boost icu cppunit libwpd
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
meta = {
inherit (s) version;
description = ''Library for import of reflowable e-book formats'';
license = stdenv.lib.licenses.lgpl21Plus ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -0,0 +1,4 @@
url http://sourceforge.net/projects/libebook/files/
SF_version_dir libe-book-0.0.
version_link '[.]tar.xz/download$'
SF_redirect

View File

@@ -0,0 +1,29 @@
{stdenv, fetchurl, gperf, pkgconfig, librevenge, libxml2, boost, icu, cppunit}:
let
s = # Generated upstream information
rec {
baseName="libe-book";
version="0.1.1";
name="${baseName}-${version}";
hash="0awv96q92qgxk22w2vrf4vg90cab5qfsrkbhgz252722mrkd5p4a";
url="mirror://sourceforge/project/libebook/libe-book-0.1.1/libe-book-0.1.1.tar.xz";
sha256="0awv96q92qgxk22w2vrf4vg90cab5qfsrkbhgz252722mrkd5p4a";
};
buildInputs = [
gperf pkgconfig librevenge libxml2 boost icu cppunit
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
meta = {
inherit (s) version;
description = ''Library for import of reflowable e-book formats'';
license = stdenv.lib.licenses.lgpl21Plus ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -0,0 +1,4 @@
url http://sourceforge.net/projects/libebook/files/
SF_version_dir libe-book-
version_link '[.]tar.xz/download$'
SF_redirect

View File

@@ -0,0 +1,29 @@
{stdenv, fetchurl, boost, pkgconfig, cppunit, zlib, libwpg, libwpd, librevenge}:
let
s = # Generated upstream information
rec {
baseName="libmwaw";
version="0.2.1";
name="${baseName}-${version}";
hash="1fil1ll84pq0k3g6rcc2xfg1yrigkljp4ay5p2wpwd9qlmfvvvqn";
url="mirror://sourceforge/project/libmwaw/libmwaw/libmwaw-0.2.1/libmwaw-0.2.1.tar.xz";
sha256="1fil1ll84pq0k3g6rcc2xfg1yrigkljp4ay5p2wpwd9qlmfvvvqn";
};
buildInputs = [
boost pkgconfig cppunit zlib libwpg libwpd librevenge
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
meta = {
inherit (s) version;
description = ''Import library for some old mac text documents'';
license = stdenv.lib.licenses.mpl20 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -0,0 +1,4 @@
url http://sourceforge.net/projects/libmwaw/files/libmwaw/
SF_version_dir libmwaw-0.2.
version_link '[.]tar.xz/download$'
SF_redirect

View File

@@ -0,0 +1,29 @@
{stdenv, fetchurl, boost, pkgconfig, cppunit, zlib, libwpg, libwpd, librevenge}:
let
s = # Generated upstream information
rec {
baseName="libmwaw";
version="0.3.1";
name="${baseName}-${version}";
hash="0fa6nf4pxl853xnh2kdjw1nk3w6i39diixiampml7g9qygbd0vqb";
url="mirror://sourceforge/project/libmwaw/libmwaw/libmwaw-0.3.1/libmwaw-0.3.1.tar.xz";
sha256="0fa6nf4pxl853xnh2kdjw1nk3w6i39diixiampml7g9qygbd0vqb";
};
buildInputs = [
boost pkgconfig cppunit zlib libwpg libwpd librevenge
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
meta = {
inherit (s) version;
description = ''Import library for some old mac text documents'';
license = stdenv.lib.licenses.mpl20 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -0,0 +1,4 @@
url http://sourceforge.net/projects/libmwaw/files/libmwaw/
SF_version_dir libmwaw-
version_link '[.]tar.xz/download$'
SF_redirect

View File

@@ -0,0 +1,29 @@
{stdenv, fetchurl, boost, pkgconfig, cppunit, zlib, libwpg, libwpd, librevenge}:
let
s = # Generated upstream information
rec {
baseName="libodfgen";
version="0.1.1";
name="${baseName}-${version}";
hash="1p335m2l19c7glsss30rrm5dxfcyajk9fvj7rsclgn0kmb4y48cm";
url="mirror://sourceforge/project/libwpd/libodfgen/libodfgen-0.1.1/libodfgen-0.1.1.tar.xz";
sha256="1p335m2l19c7glsss30rrm5dxfcyajk9fvj7rsclgn0kmb4y48cm";
};
buildInputs = [
boost pkgconfig cppunit zlib libwpg libwpd librevenge
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
meta = {
inherit (s) version;
description = ''A base library for generating ODF documents'';
license = stdenv.lib.licenses.mpl20 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -0,0 +1,4 @@
url http://sourceforge.net/projects/libwpd/files/libodfgen/
SF_version_dir libodfgen-
version_link '[.]tar.xz/download$'
SF_redirect

View File

@@ -0,0 +1,29 @@
{stdenv, fetchurl, boost, pkgconfig, cppunit, zlib}:
let
s = # Generated upstream information
rec {
baseName="librevenge";
version="0.0.1";
name="${baseName}-${version}";
hash="0zgfxvbqf11pypyc0vmcan73x197f7ia1ywin9qqy9hvvmrjgchc";
url="mirror://sourceforge/project/libwpd/librevenge/librevenge-0.0.1/librevenge-0.0.1.tar.xz";
sha256="0zgfxvbqf11pypyc0vmcan73x197f7ia1ywin9qqy9hvvmrjgchc";
};
buildInputs = [
boost pkgconfig cppunit zlib
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
meta = {
inherit (s) version;
description = ''A base library for writing document import filters'';
license = stdenv.lib.licenses.mpl20 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@@ -0,0 +1,4 @@
url http://sourceforge.net/projects/libwpd/files/librevenge/
SF_version_dir librevenge-
version_link '[.]tar.xz/download$'
SF_redirect