Skip to content

Commit

Permalink
dasm: init at 2.20.13
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Schaefer <git@danielschaefer.me>
  • Loading branch information
jjwatt and JohnAZoidberg committed Jun 18, 2020
1 parent 6457a26 commit 2d33717
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/development/compilers/dasm/default.nix
@@ -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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 {};
Expand Down

0 comments on commit 2d33717

Please sign in to comment.