about summary refs log tree commit diff
path: root/pkgs/games/build-support/monogame-patcher/default.nix
blob: d20417467e3f9b5481c680bb9926ea30c97a523d (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 {
  pname = "monogame-patcher";
  version = "0.1.0";

  src = lib.cleanSource ./src;

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

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

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