summary refs log tree commit diff
path: root/pkgs/applications/office/cb2bib
diff options
context:
space:
mode:
authorEdward Tjörnhammar <ed@cflags.cc>2016-02-29 19:36:51 +0100
committerEdward Tjörnhammar <ed@cflags.cc>2016-02-29 19:36:51 +0100
commitcd897f657c28fafe9b018feb25ef5f2dbf691e48 (patch)
treea16b0ca59943acd525d59218e0dc5d6d4277513a /pkgs/applications/office/cb2bib
parent9af50a2e7d735b4a024cb91e2bf720341675031f (diff)
downloadnixpkgs-cd897f657c28fafe9b018feb25ef5f2dbf691e48.tar
nixpkgs-cd897f657c28fafe9b018feb25ef5f2dbf691e48.tar.gz
nixpkgs-cd897f657c28fafe9b018feb25ef5f2dbf691e48.tar.bz2
nixpkgs-cd897f657c28fafe9b018feb25ef5f2dbf691e48.tar.lz
nixpkgs-cd897f657c28fafe9b018feb25ef5f2dbf691e48.tar.xz
nixpkgs-cd897f657c28fafe9b018feb25ef5f2dbf691e48.tar.zst
nixpkgs-cd897f657c28fafe9b018feb25ef5f2dbf691e48.zip
cb2bib: init at 1.9.2
Diffstat (limited to 'pkgs/applications/office/cb2bib')
-rw-r--r--pkgs/applications/office/cb2bib/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/office/cb2bib/default.nix b/pkgs/applications/office/cb2bib/default.nix
new file mode 100644
index 00000000000..aa246d241ca
--- /dev/null
+++ b/pkgs/applications/office/cb2bib/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, qt5Full, lzo, libX11 }:
+
+stdenv.mkDerivation rec {
+  name = pname + "-" + version;
+  pname = "cb2bib";
+  version = "1.9.2";
+  src = fetchurl {
+    url = "http://www.molspaces.com/dl/progs/${name}.tar.gz";
+    sha256 = "0yz79v023w1229wzck3gij0iqah1xg8rg4a352q8idvg7bdmyfin";
+  };
+  buildInputs = [ qt5Full lzo libX11 ];
+  QTDIR=qt5Full;
+  configurePhase =''
+    ./configure --prefix $out
+  '';
+
+  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;
+  };
+
+}
\ No newline at end of file