mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 21:43:32 +00:00
4f0dadbf38
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-builda08b3a4d19
.tar.gz \ --argstr baseRevb32a094368
result/bin/apply-formatting $NIXPKGS_PATH
51 lines
1.4 KiB
Nix
51 lines
1.4 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
mono,
|
|
gtk-sharp-2_0,
|
|
monoDLLFixer,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hyena";
|
|
version = "0.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
|
sha256 = "eb7154a42b6529bb9746c39272719f3168d6363ed4bad305a916ed7d90bc8de9";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
mono
|
|
gtk-sharp-2_0
|
|
];
|
|
|
|
postPatch = ''
|
|
patchShebangs build/dll-map-makefile-verifier
|
|
patchShebangs build/private-icon-theme-installer
|
|
substituteInPlace configure --replace lib/mono/2.0/ lib/mono/2.0-api/
|
|
find -name Makefile.in | xargs -n 1 -d '\n' sed -e 's/^dnl/#/' -i
|
|
'';
|
|
|
|
dontStrip = true;
|
|
|
|
inherit monoDLLFixer;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.gnome.org/Archive/hyena";
|
|
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 ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|