lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at release-16.03-start 35 lines 880 B view raw
1{ stdenv, fetchgit, ocaml, findlib, camlpdf, ncurses }: 2 3assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.0"; 4 5let version = "2.1.1"; in 6 7stdenv.mkDerivation { 8 name = "ocaml-cpdf-${version}"; 9 10 src = fetchgit { 11 url = https://github.com/johnwhitington/cpdf-source.git; 12 rev = "refs/tags/v${version}"; 13 sha256 = "0c482wfa5q845k0ahx8irg1jl05ncn0kv42dg08zkph7xi6dmgnv"; 14 }; 15 16 buildInputs = [ ocaml findlib ncurses ]; 17 propagatedBuildInputs = [ camlpdf ]; 18 19 createFindlibDestdir = true; 20 21 postInstall = '' 22 mkdir -p $out/bin 23 cp cpdf $out/bin 24 mkdir -p $out/share/ 25 cp -r doc $out/share 26 cp cpdfmanual.pdf $out/share/doc/cpdf/ 27 ''; 28 29 meta = { 30 homepage = http://www.coherentpdf.com/; 31 platforms = ocaml.meta.platforms; 32 description = "PDF Command Line Tools"; 33 maintainers = with stdenv.lib.maintainers; [ vbgl ]; 34 }; 35}