at 16.09-beta 26 lines 1.1 kB view raw
1{ stdenv, fetchurl, perl }: 2 3stdenv.mkDerivation rec { 4 name = "bibutils-${version}"; 5 version = "5.6"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/bibutils/bibutils_${version}_src.tgz"; 9 sha256 = "08vlaf1rs881v61hb0dnab5brbpbwbv2hqlxmw0yaycknqwbmiwz"; 10 }; 11 12 configureFlags = [ "--dynamic" "--install-dir" "$(out)/bin" "--install-lib" "$(out)/lib" ]; 13 dontAddPrefix = true; 14 15 doCheck = true; 16 checkTarget = "test"; 17 18 meta = with stdenv.lib; { 19 description = "Bibliography format interconversion"; 20 longDescription = "The bibutils program set interconverts between various bibliography formats using a common MODS-format XML intermediate. For example, one can convert RIS-format files to Bibtex by doing two transformations: RIS->MODS->Bibtex. By using a common intermediate for N formats, only 2N programs are required and not N²-N. These programs operate on the command line and are styled after standard UNIX-like filters."; 21 homepage = "http://sourceforge.net/p/bibutils/home/Bibutils/"; 22 license = licenses.gpl2; 23 maintainers = [ maintainers.garrison ]; 24 platforms = platforms.linux; 25 }; 26}