Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, cmake, pkg-config, libxml2, libzip }: 2 3stdenv.mkDerivation rec { 4 pname = "ebook-tools"; 5 version = "0.2.2"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/ebook-tools/ebook-tools-${version}.tar.gz"; 9 sha256 = "1bi7wsz3p5slb43kj7lgb3r6lb91lvb6ldi556k4y50ix6b5khyb"; 10 }; 11 12 nativeBuildInputs = [ cmake pkg-config ]; 13 buildInputs = [ libxml2 libzip ]; 14 15 meta = with lib; { 16 homepage = "http://ebook-tools.sourceforge.net"; 17 description = "Tools and library for dealing with various ebook file formats"; 18 maintainers = [ ]; 19 platforms = platforms.all; 20 license = licenses.mit; 21 }; 22}