fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv
2, lib
3, fetchFromGitHub
4, pkg-config
5, mono
6, meson
7, ninja
8, gtk-sharp-2_0
9, gettext
10, makeWrapper
11, glib
12, gtk2-x11
13, libxslt
14, docbook_xsl
15, python3
16, itstool
17}:
18
19stdenv.mkDerivation rec {
20 pname = "bless";
21 version = "0.6.3";
22
23 src = fetchFromGitHub {
24 owner = "afrantzis";
25 repo = pname;
26 rev = "v${version}";
27 hash = "sha256-rS+vJX0y9v1TiPsRfABroHiTuENQKEOxNsyKwagRuHM=";
28 };
29
30 buildInputs = [
31 gtk-sharp-2_0
32 mono
33 # runtime only deps
34 glib
35 gtk2-x11
36 ];
37
38 nativeBuildInputs = [
39 pkg-config
40 meson
41 ninja
42 gettext
43 makeWrapper
44 libxslt
45 docbook_xsl
46 python3
47 itstool
48 ];
49
50 mesonFlags = [
51 "-Dtests=false" # requires NUnit
52 ];
53
54 postPatch = ''
55 patchShebangs .
56 '';
57
58 preFixup = ''
59 MPATH="${gtk-sharp-2_0}/lib/mono/gtk-sharp-2.0:${glib.out}/lib:${gtk2-x11}/lib:${gtk-sharp-2_0}/lib"
60 wrapProgram $out/bin/bless --prefix MONO_PATH : "$MPATH" --prefix LD_LIBRARY_PATH : "$MPATH" --prefix PATH : ${lib.makeBinPath [ mono ]}
61 '';
62
63 meta = with lib; {
64 homepage = "https://github.com/afrantzis/bless";
65 description = "Gtk# Hex Editor";
66 maintainers = [ maintainers.mkg20001 ];
67 license = licenses.gpl2;
68 platforms = platforms.linux;
69 };
70}