Nix derivations for building nesasm and putting it to use.
By shell.nix
:
{ pkgs ? import <nixpkgs> {} }:
let
nesasmSrc = pkgs.fetchFromGitHub {
owner = "katsujukou";
repo = "nesasm.nix";
rev = "79466a5257ab263f4001dbe1b51383816f0c3bf9";
sha256 = "11x7ywj1jr380z2759bc4m7imk679k4z10xdv34lrqhsgx35s3n2";
};
inherit (import nesasmSrc {}) nesasm;
in
pkgs.mkShell {
buildInputs = [ nesasm ];
}