1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, mono4, gtk-sharp-2_0 }:
2
3stdenv.mkDerivation rec {
4 pname = "mono-addins";
5 version = "1.3.3";
6
7 src = fetchFromGitHub {
8 owner = "mono";
9 repo = "mono-addins";
10
11 rev = "mono-addins-${version}";
12 sha256 = "018g3bd8afjc39h22h2j5r6ldsdn08ynx7wg889gdvnxg3hrxgl2";
13 };
14
15 nativeBuildInputs = [ pkg-config autoreconfHook ];
16
17 # Use msbuild when https://github.com/NixOS/nixpkgs/pull/43680 is merged
18 buildInputs = [ mono4 gtk-sharp-2_0 ];
19
20 dontStrip = true;
21
22 meta = with lib; {
23 homepage = "https://www.mono-project.com/archived/monoaddins/";
24 description = "A generic framework for creating extensible applications";
25 longDescription = ''
26 Mono.Addins is a generic framework for creating extensible applications,
27 and for creating libraries which extend those applications.
28 '';
29 platforms = platforms.linux;
30 license = licenses.mit;
31 };
32}