dasm: init at 2.20.13
Co-authored-by: Daniel Schaefer <git@danielschaefer.me>
This commit is contained in:
parent
6457a26021
commit
2d33717138
2 changed files with 36 additions and 0 deletions
34
pkgs/development/compilers/dasm/default.nix
Normal file
34
pkgs/development/compilers/dasm/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -8212,6 +8212,8 @@ in
|
|||
|
||||
scry = callPackage ../development/tools/scry {};
|
||||
|
||||
dasm = callPackage ../development/compilers/dasm/default.nix { };
|
||||
|
||||
dbmate = callPackage ../development/tools/database/dbmate { };
|
||||
|
||||
devpi-client = python3Packages.callPackage ../development/tools/devpi-client {};
|
||||
|
|
Loading…
Reference in a new issue