Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84739 from jjwatt/jjwatt-dasm
dasm: init at 2.20.13
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ stdenv, fetchFromGitHub }: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "dasm"; | ||
version = "2.20.13"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "dasm-assembler"; | ||
repo = "dasm"; | ||
rev = version; | ||
sha256 = "1nr4kvw42vyc6i4p1c06jlih11rhbjjxc27dc7cx5qj635xf4jcf"; | ||
}; | ||
|
||
configurePhase = false; | ||
installPhase = '' | ||
mkdir -p $out/bin | ||
install bin/* $out/bin | ||
''; | ||
|
||
preCheck = '' | ||
patchShebangs ./test/ | ||
''; | ||
|
||
checkTarget = "test"; | ||
doCheck = true; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Assembler for 6502 and other 8-bit microprocessors"; | ||
homepage = "https://dasm-assembler.github.io"; | ||
license = licenses.gpl2; | ||
maintainers = [ maintainers.jwatt ]; | ||
platforms = platforms.all; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters