lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 43 lines 1.0 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, installShellFiles 5}: 6 7stdenv.mkDerivation rec { 8 pname = "dxa"; 9 version = "0.1.5"; 10 11 src = fetchurl { 12 urls = [ 13 "https://www.floodgap.com/retrotech/xa/dists/${pname}-${version}.tar.gz" 14 "https://www.floodgap.com/retrotech/xa/dists/unsupported/${pname}-${version}.tar.gz" 15 ]; 16 hash = "sha256-jkDtd4FlgfmtlaysLtaaL7KseFDkM9Gc1oQZOkWCZ5k="; 17 }; 18 19 nativeBuildInputs = [ installShellFiles ]; 20 21 dontConfigure = true; 22 23 postPatch = '' 24 substituteInPlace Makefile \ 25 --replace "CC = gcc" "CC = ${stdenv.cc.targetPrefix}cc" 26 ''; 27 28 installPhase = '' 29 runHook preInstall 30 install -d $out/bin/ 31 install dxa $out/bin/ 32 installManPage dxa.1 33 runHook postInstall 34 ''; 35 36 meta = with lib; { 37 homepage = "https://www.floodgap.com/retrotech/xa/"; 38 description = "Andre Fachat's open-source 6502 disassembler"; 39 license = licenses.gpl2Plus; 40 maintainers = with maintainers; [ AndersonTorres ]; 41 platforms = with platforms; unix; 42 }; 43}