2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2016-01-29 03:16:01 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "bibutils";
|
2019-11-25 20:25:24 +01:00
|
|
|
version = "6.8";
|
2016-01-29 03:16:01 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/bibutils/bibutils_${version}_src.tgz";
|
2019-11-25 20:25:24 +01:00
|
|
|
sha256 = "1n28fjrl7zxjxvcqzmrc9xj8ly6nkxviimxbzamj8dslnkzpzqw1";
|
2016-01-29 03:16:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--dynamic" "--install-dir" "$(out)/bin" "--install-lib" "$(out)/lib" ];
|
|
|
|
dontAddPrefix = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Bibliography format interconversion";
|
|
|
|
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.";
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://sourceforge.net/p/bibutils/home/Bibutils/;
|
2016-01-29 03:16:01 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.garrison ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = platforms.linux;
|
2016-01-29 03:16:01 +01:00
|
|
|
};
|
|
|
|
}
|