2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, cairo, gtk2, poppler }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pdf2svg";
|
|
|
|
version = "0.2.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "db9052";
|
|
|
|
repo = "pdf2svg";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "14ffdm4y26imq99wjhkrhy9lp33165xci1l5ndwfia8hz53bl02k";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ cairo poppler gtk2 ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "PDF converter to SVG format";
|
|
|
|
homepage = "http://www.cityinthesky.co.uk/opensource/pdf2svg";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.ianwookim ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|