about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/mono-addins/default.nix
blob: 9a31fbb69eeb2b6225eff3339b0c2f7d888ce698 (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
33
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, 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 = [ pkg-config autoreconfHook ];

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

  dontStrip = true;

  meta = with lib; {
    homepage = "https://www.mono-project.com/archived/monoaddins/";
    description = "A generic framework for creating extensible applications";
    mainProgram = "mautil";
    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;
  };
}