2017-06-02 16:40:19 +01:00
|
|
|
{ stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11 }:
|
2016-02-29 18:36:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = pname + "-" + version;
|
|
|
|
pname = "cb2bib";
|
2018-04-08 05:44:41 +01:00
|
|
|
version = "1.9.7";
|
2016-02-29 18:36:51 +00:00
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://www.molspaces.com/dl/progs/${name}.tar.gz";
|
2018-04-08 05:44:41 +01:00
|
|
|
sha256 = "0gr8vmlz1ikw0jiwwac2ays20z26cdv3bjdx9m1nc450hl6m5s7s";
|
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
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2017-02-03 15:20:06 +00:00
|
|
|
}
|