diff --git a/pkgs/tools/misc/bibutils/default.nix b/pkgs/tools/misc/bibutils/default.nix new file mode 100644 index 000000000000..fb83e6996e33 --- /dev/null +++ b/pkgs/tools/misc/bibutils/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, perl }: + +stdenv.mkDerivation rec { + name = "bibutils-${version}"; + version = "5.6"; + + src = fetchurl { + url = "mirror://sourceforge/bibutils/bibutils_${version}_src.tgz"; + sha256 = "08vlaf1rs881v61hb0dnab5brbpbwbv2hqlxmw0yaycknqwbmiwz"; + }; + + 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."; + homepage = "http://sourceforge.net/p/bibutils/home/Bibutils/"; + license = licenses.gpl2; + maintainers = [ maintainers.garrison ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c294f8be31c8..c797e4853abe 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -689,6 +689,8 @@ let bibtool = callPackage ../tools/misc/bibtool { }; + bibutils = callPackage ../tools/misc/bibutils { }; + bindfs = callPackage ../tools/filesystems/bindfs { }; binwalk = callPackage ../tools/misc/binwalk {