Adding libe-book: a library for importing reflowable e-book formats
This commit is contained in:
parent
07e4d6dc83
commit
077aa91822
30
pkgs/development/libraries/libe-book/0.0.nix
Normal file
30
pkgs/development/libraries/libe-book/0.0.nix
Normal 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;
|
||||
};
|
||||
}
|
4
pkgs/development/libraries/libe-book/0.0.upstream
Normal file
4
pkgs/development/libraries/libe-book/0.0.upstream
Normal 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
|
29
pkgs/development/libraries/libe-book/default.nix
Normal file
29
pkgs/development/libraries/libe-book/default.nix
Normal 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;
|
||||
};
|
||||
}
|
4
pkgs/development/libraries/libe-book/default.upstream
Normal file
4
pkgs/development/libraries/libe-book/default.upstream
Normal file
@ -0,0 +1,4 @@
|
||||
url http://sourceforge.net/projects/libebook/files/
|
||||
SF_version_dir libe-book-
|
||||
version_link '[.]tar.xz/download$'
|
||||
SF_redirect
|
@ -5099,6 +5099,9 @@ let
|
||||
|
||||
liblscp = callPackage ../development/libraries/liblscp { };
|
||||
|
||||
libe-book = callPackage ../development/libraries/libe-book {};
|
||||
libe-book_00 = callPackage ../development/libraries/libe-book/0.0.nix {};
|
||||
|
||||
libev = builderDefsPackage ../development/libraries/libev { };
|
||||
|
||||
libevent14 = callPackage ../development/libraries/libevent/1.4.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user