about summary refs log tree commit diff
path: root/pkgs/applications/office/cb2bib/default.nix
blob: aa246d241ca6611faec7177b966d54e6726460be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
  };

}