about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/artha/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/artha/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/misc/artha/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/artha/default.nix b/nixpkgs/pkgs/applications/misc/artha/default.nix
new file mode 100644
index 000000000000..37a1cee79a65
--- /dev/null
+++ b/nixpkgs/pkgs/applications/misc/artha/default.nix
@@ -0,0 +1,26 @@
+{ lib, stdenv, autoreconfHook, fetchurl, dbus-glib, gtk2, pkg-config, 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 pkg-config ];
+  buildInputs = [ dbus-glib gtk2 wordnet ];
+
+  patches = [
+    ./gio-underlink.patch
+  ];
+
+  meta = with lib; {
+    description = "An offline thesaurus based on WordNet";
+    homepage = "http://artha.sourceforge.net";
+    license = licenses.gpl2;
+    maintainers = [ maintainers.goibhniu ];
+    platforms = platforms.linux;
+  };
+}