sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / hy / hyena / package.nix
blobe165255847e0f95f14f3afbb2d425274c54d26bc
2   lib,
3   stdenv,
4   fetchurl,
5   pkg-config,
6   mono,
7   gtk-sharp-2_0,
8   monoDLLFixer,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "hyena";
13   version = "0.5";
15   src = fetchurl {
16     url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
17     sha256 = "eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9";
18   };
20   nativeBuildInputs = [ pkg-config ];
21   buildInputs = [
22     mono
23     gtk-sharp-2_0
24   ];
26   postPatch = ''
27     patchShebangs build/dll-map-makefile-verifier
28     patchShebangs build/private-icon-theme-installer
29     substituteInPlace configure --replace lib/mono/2.0/ lib/mono/2.0-api/
30     find -name Makefile.in | xargs -n 1 -d '\n' sed -e 's/^dnl/#/' -i
31   '';
33   dontStrip = true;
35   inherit monoDLLFixer;
37   meta = with lib; {
38     homepage = "https://gitlab.gnome.org/Archive/hyena";
39     description = "C# library which contains a hodge-podge of random stuff";
40     longDescription = ''
41       Hyena is a C# library used to make awesome applications. It contains a lot of random things,
42       including useful data structures, a Sqlite-based db layer, cool widgets, a JSON library,
43       a smart job/task scheduler, a user-query/search parser, and much more. It's particularly
44       useful for Gtk# applications, though only the Hyena.Gui assembly requires Gtk#.
45     '';
46     platforms = platforms.all;
47     maintainers = with maintainers; [ obadz ];
48     license = licenses.mit;
49   };