aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/hyena
diff options
context:
space:
mode:
authorobadz <dav-github@odav.org>2015-12-02 23:18:01 +0000
committerVladimír Čunát <vcunat@gmail.com>2015-12-21 15:19:36 +0100
commit29c676e73d1efa2f6bfcafecebc1931962d6103c (patch)
tree74f43ec01845274efa6dbd92aad132d009bed879 /pkgs/development/libraries/hyena
parent226a83edd8455a56a118c621c8cd0414b4da1abe (diff)
pdfmod: init at 0.9.1 (close #11417)
vcunat did some cosmetic changes, such as joining lines because we seem to rarely use one-identifier-per-line style, or fixing hyena description to conform to our rules.
Diffstat (limited to 'pkgs/development/libraries/hyena')
-rw-r--r--pkgs/development/libraries/hyena/default.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/libraries/hyena/default.nix b/pkgs/development/libraries/hyena/default.nix
new file mode 100644
index 000000000000..daa4f7fb9f21
--- /dev/null
+++ b/pkgs/development/libraries/hyena/default.nix
@@ -0,0 +1,42 @@
+{ stdenv, fetchurl, pkgconfig, mono, gtk-sharp, monoDLLFixer }:
+
+stdenv.mkDerivation rec {
+ name = "hyena-${version}";
+ version = "0.5";
+
+ src = fetchurl {
+ url = "mirror://gnome/sources/hyena/${version}/hyena-${version}.tar.bz2" ;
+ sha256 = "eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9";
+ };
+
+ buildInputs = [
+ pkgconfig mono gtk-sharp
+ ];
+
+ postPatch = ''
+ patchShebangs build/dll-map-makefile-verifier
+ patchShebangs build/private-icon-theme-installer
+ find -name Makefile.in | xargs -n 1 -d '\n' sed -e 's/^dnl/#/' -i
+ '';
+
+ preConfigure = ''
+ substituteInPlace configure --replace gmcs mcs
+ '';
+
+ dontStrip = true;
+
+ inherit monoDLLFixer;
+
+ meta = with stdenv.lib; {
+ homepage = https://wiki.gnome.org/Hyena;
+ description = "A C# library which contains a hodge-podge of random stuff";
+ longDescription = ''
+ Hyena is a C# library used to make awesome applications. It contains a lot of random things,
+ including useful data structures, a Sqlite-based db layer, cool widgets, a JSON library,
+ a smart job/task scheduler, a user-query/search parser, and much more. It's particularly
+ useful for Gtk# applications, though only the Hyena.Gui assembly requires Gtk#.
+ '';
+ platforms = platforms.all;
+ maintainers = with maintainers; [ obadz ];
+ };
+}