about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/spicy/default.nix
blob: b297053843e71ac8ba82fa987627ccf0817c6807 (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
28
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "spicy";
  version = "0.6.2";

  src = fetchFromGitHub {
    owner = "trhodeos";
    repo = "spicy";
    rev = "v${version}";
    sha256 = "sha256-TodMm4UbnLB+LiyfPVXT7bcVLbyBFbGoOYQSsz3IMfM=";
  };

  vendorHash = "sha256-uy33vfsvyLCep1aN8qO0BMmpPylhzTLhosjjD5ghmHE=";

  ldflags = [ "-s" "-w" ];

  meta = with lib; {
    description = "A Nintendo 64 segment assembler";
    longDescription = ''
      An open-source version of the Nintendo64 sdk's mild.exe. Assembles
      segments into an n64-compatible rom.
    '';
    homepage = "https://github.com/trhodeos/spicy";
    license = licenses.mit;
    maintainers = with maintainers; [ _414owen ];
  };
}