dxa: init at 0.1.4
This commit is contained in:
parent
7173fb6a77
commit
9ecaf3fd2e
41
pkgs/development/compilers/xa/dxa.nix
Normal file
41
pkgs/development/compilers/xa/dxa.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dxa";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.floodgap.com/retrotech/xa/dists/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-C0rgwK51Ij9EZCm9GeiVnWIkEkse0d60ok8G9hm2a5U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace \
|
||||
--replace "CC = gcc" "CC = cc' \
|
||||
Makefile
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -d $out/bin/
|
||||
install dxa $out/bin/
|
||||
installManPage dxa.1
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.floodgap.com/retrotech/xa/";
|
||||
description = "Andre Fachat's open-source 6502 disassembler";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
@ -26218,6 +26218,7 @@ in
|
||||
};
|
||||
|
||||
xa = callPackage ../development/compilers/xa/xa.nix { };
|
||||
dxa = callPackage ../development/compilers/xa/dxa.nix { };
|
||||
|
||||
x11basic = callPackage ../development/compilers/x11basic {
|
||||
autoconf = buildPackages.autoconf269;
|
||||
|
Loading…
Reference in New Issue
Block a user