1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/tools/graphics/pdf2svg/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
667 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, cairo, gtk2, poppler }:
stdenv.mkDerivation rec {
pname = "pdf2svg";
version = "0.2.3";
src = fetchFromGitHub {
owner = "db9052";
repo = "pdf2svg";
rev = "v${version}";
sha256 = "14ffdm4y26imq99wjhkrhy9lp33165xci1l5ndwfia8hz53bl02k";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ cairo poppler gtk2 ];
meta = with stdenv.lib; {
description = "PDF converter to SVG format";
homepage = http://www.cityinthesky.co.uk/opensource/pdf2svg;
license = licenses.gpl2;
maintainers = [ maintainers.ianwookim ];
platforms = platforms.unix;
};
}