2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
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
|
|
|
};
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ cairo poppler gtk2 ];
|
2014-09-15 11:54:39 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-09-15 11:54:39 +01:00
|
|
|
description = "PDF converter to SVG format";
|
2020-04-01 02:11:51 +01: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 11:54:39 +01:00
|
|
|
};
|
|
|
|
}
|