mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
42 lines
717 B
Nix
42 lines
717 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchgit
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, boost
|
|
, cppunit
|
|
, librevenge
|
|
, libxml2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libepubgen";
|
|
version = "0.1.1";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.code.sf.net/p/libepubgen/code";
|
|
rev = "libepubgen-${version}";
|
|
hash = "sha256-wPpU8Sfhx9GIgDmT/otT5yV4iQKm9QPZqgSBTfFcbbg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
cppunit
|
|
librevenge
|
|
libxml2
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "EPUB generator for librevenge";
|
|
homepage = "https://sourceforge.net/projects/libepubgen/";
|
|
license = licenses.mpl20;
|
|
maintainers = [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|