2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11 }:
|
2016-02-29 18:36:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cb2bib";
|
2019-03-15 22:11:23 +00:00
|
|
|
version = "2.0.0";
|
2016-02-29 18:36:51 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://www.molspaces.com/dl/progs/${pname}-${version}.tar.gz";
|
2019-03-15 22:11:23 +00:00
|
|
|
sha256 = "0gv7cnxi84lr6d5y71pd67h0ilmf5c88j1jxgyn9dvj19smrv99h";
|
2016-02-29 18:36:51 +00:00
|
|
|
};
|
2017-02-03 15:20:06 +00:00
|
|
|
buildInputs = [ qtbase qtwebkit qtx11extras lzo libX11 ];
|
2017-06-02 16:40:19 +01:00
|
|
|
nativeBuildInputs = [ qmake ];
|
2017-02-03 15:20:06 +00:00
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
runHook preConfigure
|
|
|
|
./configure --prefix $out --qmakepath $QMAKE
|
|
|
|
runHook postConfigure
|
2016-02-29 18:36:51 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-02-29 18:36:51 +00:00
|
|
|
description = "Rapidly extract unformatted, or unstandardized bibliographic references from email alerts, journal Web pages and PDF files";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.molspaces.com/d_cb2bib-overview.php";
|
2016-02-29 18:36:51 +00:00
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
|
2017-02-03 15:20:06 +00:00
|
|
|
}
|