nixpkgs/pkgs/applications/office/cb2bib/default.nix
R. RyanTM d39cb9da43 cb2bib: 1.9.2 -> 1.9.7
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.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.9.7 with grep in /nix/store/hvx77c2sm156llkibz4hdizn7syszvgl-cb2bib-1.9.7
- directory tree listing: https://gist.github.com/ddafa78f4e3eb99a2d1689e87e89d3ba
2018-04-07 21:44:41 -07:00

28 lines
871 B
Nix

{ stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11 }:
stdenv.mkDerivation rec {
name = pname + "-" + version;
pname = "cb2bib";
version = "1.9.7";
src = fetchurl {
url = "http://www.molspaces.com/dl/progs/${name}.tar.gz";
sha256 = "0gr8vmlz1ikw0jiwwac2ays20z26cdv3bjdx9m1nc450hl6m5s7s";
};
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;
};
}