Skip to content

Commit

Permalink
Merge pull request #84739 from jjwatt/jjwatt-dasm
Browse files Browse the repository at this point in the history
dasm: init at 2.20.13
  • Loading branch information
JohnAZoidberg committed Jun 18, 2020
2 parents d7122c3 + 2d33717 commit fbb76f6
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Expand Up @@ -3901,6 +3901,12 @@
githubId = 2396926;
name = "Justin Woo";
};
jwatt = {
email = "jwatt@broken.watch";
github = "jjwatt";
githubId = 2397327;
name = "Jesse Wattenbarger";
};
jwiegley = {
email = "johnw@newartisans.com";
github = "jwiegley";
Expand Down
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 fbb76f6

Please sign in to comment.