File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ fetchFromGitHub ,
5+ meson ,
6+ ninja ,
7+ pkg-config ,
8+ freetype ,
9+ lcms2 ,
10+ libjpeg ,
11+ libpng ,
12+ libtiff ,
13+ zlib ,
14+ } :
15+
16+ stdenv . mkDerivation ( finalAttrs : {
17+ pname = "capypdf" ;
18+ version = "0.14.0" ;
19+
20+ outputs = [
21+ "out"
22+ "dev"
23+ ] ;
24+
25+ src = fetchFromGitHub {
26+ owner = "jpakkane" ;
27+ repo = "capypdf" ;
28+ rev = finalAttrs . version ;
29+ hash = "sha256-izc5EReAeDpR4Urktii5kJIZai69ga4QweSbwzuLNxc=" ;
30+ } ;
31+
32+ nativeBuildInputs = [
33+ meson
34+ ninja
35+ pkg-config
36+ ] ;
37+
38+ buildInputs = [
39+ freetype
40+ lcms2
41+ libpng
42+ libjpeg
43+ libtiff
44+ zlib
45+ ] ;
46+
47+ meta = {
48+ description = "Fully color managed PDF generation library" ;
49+ homepage = "https://github.com/jpakkane/capypdf" ;
50+ license = lib . licenses . asl20 ;
51+ maintainers = with lib . maintainers ; [ jtojnar ] ;
52+ mainProgram = "capypdf" ;
53+ platforms = lib . platforms . all ;
54+ } ;
55+ } )
You can’t perform that action at this time.
0 commit comments