Skip to content

Commit

Permalink
mirth: init at 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
casuallyblue committed Apr 12, 2024
1 parent a0c9e3a commit 4e4fe42
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18301,6 +18301,12 @@
githubId = 4522995;
matrix = "@sielicki:matrix.org";
};
sierra = {
email = "[email protected]";
github = "casuallyblue";
githubId = 73141854;
name = "Sierra";
};
siers = {
email = "[email protected]";
github = "siers";
Expand Down
33 changes: 33 additions & 0 deletions pkgs/by-name/mi/mirth/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation {
pname = "mirth";
version = "0.0.1";

src = fetchFromGitHub {
owner = "mirth-lang";
repo = "mirth";
rev = "6c63998b1b1d951caceb91bb80821793f2c034d5";
hash = "sha256-WUvQvvGVY9LqGQzpNhr7WiG10W4PqnEPd6dbLpODw0s=";
};

installPhase = ''
mkdir -p $out/bin
mv bin/mirth2 $out/bin/mirth
'';

meta = with lib; {
description = " Compiler for the Mirth programming language";
longDescription = ''
Mirth is a strongly-typed concatenative programming language
inspired by Forth, Joy, Haskell, Lisp, and monoidal category theory.
'';

homepage = "https://github.com/mirth-lang/mirth";

license = licenses.bsd0;
maintainers = [ maintainers.sierra ];
mainProgram = "mirth";
platforms = platforms.linux ++ platforms.darwin;
};
}

0 comments on commit 4e4fe42

Please sign in to comment.