about summary refs log tree commit diff
path: root/pkgs/games/build-support/monogame-patcher/default.nix
blob: 2d5a2b4a9fade907e72e4cc8ddc47e1b1cc70d56 (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 = "03bina3llcnylrfrvp5psnwrfn757j7zch5r360rpdn7gmcjjcpl";
      outputFiles = [ "lib/net40/*" ];
    })

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

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