2015-12-23 00:09:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
|
2016-09-11 23:24:51 +02:00
|
|
|
, cairo, gtk2, poppler }:
|
2014-09-15 12:54:39 +02:00
|
|
|
|
2015-12-19 00:47:42 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pdf2svg-${version}";
|
|
|
|
version = "0.2.3";
|
2014-09-15 12:54:39 +02:00
|
|
|
|
2015-12-19 00:47:42 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "db9052";
|
|
|
|
repo = "pdf2svg";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "14ffdm4y26imq99wjhkrhy9lp33165xci1l5ndwfia8hz53bl02k";
|
2014-09-15 12:54:39 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ cairo poppler gtk2 ];
|
2014-09-15 12:54:39 +02:00
|
|
|
|
2015-12-19 00:47:42 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-09-15 12:54:39 +02:00
|
|
|
description = "PDF converter to SVG format";
|
|
|
|
homepage = http://www.cityinthesky.co.uk/opensource/pdf2svg;
|
2015-12-19 00:47:42 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ianwookim ];
|
|
|
|
platforms = platforms.unix;
|
2014-09-15 12:54:39 +02:00
|
|
|
};
|
|
|
|
}
|