about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/artha/default.nix
blob: b03d2aa208b552e8d282472f22360c741807d39b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, autoreconfHook, fetchurl, dbus-glib, gtk2, pkgconfig, wordnet }:

stdenv.mkDerivation {
  pname = "artha";
  version = "1.0.3";

  src = fetchurl {
    url = "mirror://sourceforge/artha/1.0.3/artha-1.0.3.tar.bz2";
    sha256 = "0qr4ihl7ma3cq82xi1fpzvf74mm9vsg0j035xvmcp3r6rmw2fycx";
  };

  nativeBuildInputs = [ autoreconfHook pkgconfig ];
  buildInputs = [ dbus-glib gtk2 wordnet ];

  patches = [
    ./gio-underlink.patch
  ];

  meta = with stdenv.lib; {
    description = "An offline thesaurus based on WordNet";
    homepage = http://artha.sourceforge.net;
    license = licenses.gpl2;
    maintainers = [ maintainers.goibhniu ];
    platforms = platforms.linux;
  };
}