571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
34 lines
973 B
Nix
34 lines
973 B
Nix
{ 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 = "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;
|
|
};
|
|
}
|