1{ stdenv, fetchurl, pkgconfig, mono, gtk-sharp, monoDLLFixer }:
2
3stdenv.mkDerivation rec {
4 name = "hyena-${version}";
5 version = "0.5";
6
7 src = fetchurl {
8 url = "mirror://gnome/sources/hyena/${version}/hyena-${version}.tar.bz2" ;
9 sha256 = "eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9";
10 };
11
12 buildInputs = [
13 pkgconfig mono gtk-sharp
14 ];
15
16 postPatch = ''
17 patchShebangs build/dll-map-makefile-verifier
18 patchShebangs build/private-icon-theme-installer
19 find -name Makefile.in | xargs -n 1 -d '\n' sed -e 's/^dnl/#/' -i
20 '';
21
22 dontStrip = true;
23
24 inherit monoDLLFixer;
25
26 meta = with stdenv.lib; {
27 homepage = https://wiki.gnome.org/Hyena;
28 description = "A C# library which contains a hodge-podge of random stuff";
29 longDescription = ''
30 Hyena is a C# library used to make awesome applications. It contains a lot of random things,
31 including useful data structures, a Sqlite-based db layer, cool widgets, a JSON library,
32 a smart job/task scheduler, a user-query/search parser, and much more. It's particularly
33 useful for Gtk# applications, though only the Hyena.Gui assembly requires Gtk#.
34 '';
35 platforms = platforms.all;
36 maintainers = with maintainers; [ obadz ];
37 };
38}