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