summary refs log tree commit diff
path: root/pkgs/development/libraries/mono-addins/default.nix
blob: 2bba61975f9d42d714501dd94ee09eb17ab99e3d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, mono4, gtk-sharp-2_0 }:

stdenv.mkDerivation rec {
  pname = "mono-addins";
  version = "1.3.3";

  src = fetchFromGitHub {
    owner = "mono";
    repo = "mono-addins";

    rev = "mono-addins-${version}";
    sha256 = "018g3bd8afjc39h22h2j5r6ldsdn08ynx7wg889gdvnxg3hrxgl2";
  };

  nativeBuildInputs = [ pkgconfig autoreconfHook ];

  # Use msbuild when https://github.com/NixOS/nixpkgs/pull/43680 is merged
  buildInputs = [ mono4 gtk-sharp-2_0 ];

  dontStrip = true;

  meta = with stdenv.lib; {
    homepage = https://www.mono-project.com/archived/monoaddins/;
    description = "A generic framework for creating extensible applications";
    longDescription = ''
      Mono.Addins is a generic framework for creating extensible applications,
      and for creating libraries which extend those applications.
    '';
    platforms = platforms.linux;
    license = licenses.mit;
  };
}