2022-12-02 08:20:57 +00:00
|
|
|
{ lib, stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11, wrapQtAppsHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cb2bib";
|
|
|
|
version = "2.0.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.molspaces.com/dl/progs/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0gv7cnxi84lr6d5y71pd67h0ilmf5c88j1jxgyn9dvj19smrv99h";
|
|
|
|
};
|
|
|
|
buildInputs = [ qtbase qtwebkit qtx11extras lzo libX11 ];
|
2022-12-02 08:20:57 +00:00
|
|
|
nativeBuildInputs = [ qmake wrapQtAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
runHook preConfigure
|
|
|
|
./configure --prefix $out --qmakepath $QMAKE
|
|
|
|
runHook postConfigure
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|