depot/third_party/nixpkgs/pkgs/development/compilers/dasm/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

34 lines
720 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "dasm";
version = "2.20.14";
src = fetchFromGitHub {
owner = "dasm-assembler";
repo = "dasm";
rev = version;
sha256 = "09hzw228j43a78624bmq9cam7y1fjs48d3hpjqh2gn8iwnyk0pnp";
};
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;
};
}