aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/ez80asm/default.nix
diff options
context:
space:
mode:
authorsadbeast <sadbeast@sadbeast.com>2024-05-30 00:47:47 +0000
committersadbeast <sadbeast@sadbeast.com>2025-01-11 12:20:20 -0800
commit8c12d7db633cc421cd96690d077461cf45195334 (patch)
treec3112acb5cd045ceeb2ada81a281a5991b4c501d /pkgs/ez80asm/default.nix
downloadnix-config-main.tar.gz
nix-config-main.tar.bz2
oh no what have i doneHEADmain
Diffstat (limited to 'pkgs/ez80asm/default.nix')
-rw-r--r--pkgs/ez80asm/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/ez80asm/default.nix b/pkgs/ez80asm/default.nix
new file mode 100644
index 0000000..b2dc2d0
--- /dev/null
+++ b/pkgs/ez80asm/default.nix
@@ -0,0 +1,29 @@
+{
+ stdenv,
+ lib,
+ fetchFromGitHub,
+}:
+stdenv.mkDerivation rec {
+ pname = "ez80asm";
+ version = "1.11";
+
+ meta = with lib; {
+ description = "ez80 assembler, running natively on the Agon platform";
+ homepage = "https://github.com/envenomator/agon-ez80asm";
+ license = licenses.mit;
+ platforms = platforms.linux;
+ # maintainers = [ maintainers.sadbeast ];
+ };
+
+ src = fetchFromGitHub {
+ owner = "envenomator";
+ repo = "agon-ez80asm";
+ rev = "v${version}";
+ hash = "sha256-0AOblG3QGRpdUzoSffhFaRjgOCmbu3WFjvOiiA4NT8U=";
+ };
+
+ installPhase = ''
+ mkdir --parents "$out/bin"
+ cp ./bin/ez80asm "$out/bin"
+ '';
+}