2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2016-09-11 21:24:51 +00:00
|
|
|
, cairo, gtk2, poppler }:
|
2014-09-15 10:54:39 +00:00
|
|
|
|
2015-12-18 23:47:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "pdf2svg";
|
2015-12-18 23:47:42 +00:00
|
|
|
version = "0.2.3";
|
2014-09-15 10:54:39 +00:00
|
|
|
|
2015-12-18 23:47:42 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "db9052";
|
|
|
|
repo = "pdf2svg";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "14ffdm4y26imq99wjhkrhy9lp33165xci1l5ndwfia8hz53bl02k";
|
2014-09-15 10:54:39 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-05 21:26:13 +00:00
|
|
|
buildInputs = [ cairo poppler gtk2 ];
|
2014-09-15 10:54:39 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-09-15 10:54:39 +00:00
|
|
|
description = "PDF converter to SVG format";
|
2020-04-01 01:11:51 +00:00
|
|
|
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 10:54:39 +00:00
|
|
|
};
|
|
|
|
}
|