2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, mono, gtk-sharp-2_0, monoDLLFixer }:
|
2015-12-02 23:18:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-25 06:46:07 +00:00
|
|
|
pname = "hyena";
|
2015-12-02 23:18:01 +00:00
|
|
|
version = "0.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
2015-12-02 23:18:01 +00:00
|
|
|
sha256 = "eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-12-02 23:18:01 +00:00
|
|
|
buildInputs = [
|
2017-09-14 19:24:37 +00:00
|
|
|
mono gtk-sharp-2_0
|
2015-12-02 23:18:01 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs build/dll-map-makefile-verifier
|
|
|
|
patchShebangs build/private-icon-theme-installer
|
2018-04-28 12:08:52 +00:00
|
|
|
substituteInPlace configure --replace lib/mono/2.0/ lib/mono/2.0-api/
|
2015-12-02 23:18:01 +00:00
|
|
|
find -name Makefile.in | xargs -n 1 -d '\n' sed -e 's/^dnl/#/' -i
|
|
|
|
'';
|
|
|
|
|
|
|
|
dontStrip = true;
|
|
|
|
|
|
|
|
inherit monoDLLFixer;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2024-05-01 12:54:54 +00:00
|
|
|
homepage = "https://gitlab.gnome.org/Archive/hyena";
|
2015-12-02 23:18:01 +00:00
|
|
|
description = "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 ];
|
2018-10-12 21:28:05 +00:00
|
|
|
license = licenses.mit;
|
2015-12-02 23:18:01 +00:00
|
|
|
};
|
|
|
|
}
|