diff --git a/pkgs/applications/office/cb2bib/default.nix b/pkgs/applications/office/cb2bib/default.nix new file mode 100644 index 000000000000..aa246d241ca6 --- /dev/null +++ b/pkgs/applications/office/cb2bib/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, qt5Full, lzo, libX11 }: + +stdenv.mkDerivation rec { + name = pname + "-" + version; + pname = "cb2bib"; + version = "1.9.2"; + src = fetchurl { + url = "http://www.molspaces.com/dl/progs/${name}.tar.gz"; + sha256 = "0yz79v023w1229wzck3gij0iqah1xg8rg4a352q8idvg7bdmyfin"; + }; + buildInputs = [ qt5Full lzo libX11 ]; + QTDIR=qt5Full; + configurePhase ='' + ./configure --prefix $out + ''; + + meta = with stdenv.lib; { + description = "Rapidly extract unformatted, or unstandardized bibliographic references from email alerts, journal Web pages and PDF files"; + homepage = http://www.molspaces.com/d_cb2bib-overview.php; + maintainers = with maintainers; [ edwtjo ]; + license = licenses.gpl3; + }; + +} \ No newline at end of file diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index caa5c0ca8ad0..b0e9b022f462 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11549,6 +11549,10 @@ let cava = callPackage ../applications/audio/cava { }; + cb2bib = callPackage ../applications/office/cb2bib { + inherit (xorg) libX11; + }; + cbatticon = callPackage ../applications/misc/cbatticon { }; cbc = callPackage ../applications/science/math/cbc { };