nixpkgs/pkgs/tools/text/ebook-tools/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

25 lines
651 B
Nix

{ stdenv, fetchurl, cmake, pkgconfig, libxml2, libzip }:
stdenv.mkDerivation rec {
name = "ebook-tools-0.2.2";
src = fetchurl {
url = "mirror://sourceforge/ebook-tools/${name}.tar.gz";
sha256 = "1bi7wsz3p5slb43kj7lgb3r6lb91lvb6ldi556k4y50ix6b5khyb";
};
buildInputs = [ cmake pkgconfig libxml2 libzip ];
preConfigure =
''
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libzip)"
'';
meta = {
homepage = http://ebook-tools.sourceforge.net;
description = "Tools and library for dealing with various ebook file formats";
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
};
}