mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
641a7dedef
Among other things fixes build against -fno-common toolchains like clang-12: $ nix build --impure --expr 'with import ./.{}; artha.override { stdenv = clang12Stdenv; }' -L ... artha> ld: gui.o:/build/artha-1.0.3/src/./mod_notify.h:37: multiple definition of `notify_uninit'; mod_notify.o:/build/artha-1.0.3/src/./mod_notify.h:37: first defined here
23 lines
657 B
Nix
23 lines
657 B
Nix
{ lib, stdenv, autoreconfHook, fetchurl, dbus-glib, gtk2, pkg-config, wordnet }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "artha";
|
|
version = "1.0.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/artha/${version}/artha-${version}.tar.bz2";
|
|
sha256 = "034r7vfk5y7705k068cdlq52ikp6ip10w6047a5zjdakbn55c3as";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ dbus-glib gtk2 wordnet ];
|
|
|
|
meta = with lib; {
|
|
description = "An offline thesaurus based on WordNet";
|
|
homepage = "http://artha.sourceforge.net";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|