nixpkgs/pkgs/applications/office/cb2bib/default.nix

28 lines
872 B
Nix
Raw Normal View History

2017-06-02 17:40:19 +02:00
{ stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11 }:
2016-02-29 19:36:51 +01:00
stdenv.mkDerivation rec {
name = pname + "-" + version;
pname = "cb2bib";
version = "1.9.9";
2016-02-29 19:36:51 +01:00
src = fetchurl {
url = "https://www.molspaces.com/dl/progs/${name}.tar.gz";
sha256 = "12x7zv964r26cfmf3yx5pa8ihc5bd9p199w2g4vc0sb44izryg47";
2016-02-29 19:36:51 +01:00
};
2017-02-03 16:20:06 +01:00
buildInputs = [ qtbase qtwebkit qtx11extras lzo libX11 ];
2017-06-02 17:40:19 +02:00
nativeBuildInputs = [ qmake ];
2017-02-03 16:20:06 +01:00
configurePhase = ''
runHook preConfigure
./configure --prefix $out --qmakepath $QMAKE
runHook postConfigure
2016-02-29 19:36:51 +01: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 16:20:06 +01:00
}