about summary refs log tree commit diff
path: root/pkgs/games/build-support/monogame-patcher/default.nix
blob: 74ad83bfdd20038f8aec49edbaee28e63f2a2fc7 (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
{ lib, buildDotnetPackage, fetchNuGet }:

buildDotnetPackage {
  baseName = "monogame-patcher";
  version = "0.1.0";

  src = lib.cleanSource ./src;

  buildInputs = [
    (fetchNuGet {
      baseName = "Mono.Cecil";
      version = "0.10-beta7";
      sha256 = "1ngjxk3wbmdwgsbdpy9yjwgc0ii8xxa78i0h57dia2rjn0gr7bw0";
      outputFiles = [ "lib/net40/*" ];
    })

    (fetchNuGet {
      baseName = "CommandLineParser";
      version = "2.2.1";
      sha256 = "02zqp98lzjv4rpjf7jl0hvhda41dlh0dc29axaapq9glk0hbmjzg";
      outputFiles = [ "lib/net45/*" ];
    })
  ];

  doInstallCheck = true;
  installCheckPhase = "$SHELL -e test.sh";
}