1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/applications/office/cb2bib/default.nix
R. RyanTM 26629e0847 cb2bib: 1.9.8 -> 1.9.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/cb2bib/versions
2018-09-25 08:09:37 -07:00

28 lines
872 B
Nix

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