aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/ez80asm/default.nix
blob: b2dc2d082793621ee2f1e346d0b4232b99ee8469 (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
29
{
  stdenv,
  lib,
  fetchFromGitHub,
}:
stdenv.mkDerivation rec {
  pname = "ez80asm";
  version = "1.11";

  meta = with lib; {
    description = "ez80 assembler, running natively on the Agon platform";
    homepage = "https://github.com/envenomator/agon-ez80asm";
    license = licenses.mit;
    platforms = platforms.linux;
    # maintainers = [ maintainers.sadbeast ];
  };

  src = fetchFromGitHub {
    owner = "envenomator";
    repo = "agon-ez80asm";
    rev = "v${version}";
    hash = "sha256-0AOblG3QGRpdUzoSffhFaRjgOCmbu3WFjvOiiA4NT8U=";
  };

  installPhase = ''
    mkdir --parents "$out/bin"
    cp ./bin/ez80asm "$out/bin"
  '';
}