diff options
author | Rahul Gopinath <rahul@gopinath.org> | 2016-04-27 10:28:50 -0700 |
---|---|---|
committer | Rahul Gopinath <gopinath@eecs.oregonstate.edu> | 2016-05-25 14:05:01 -0700 |
commit | 9e8edc1389a65df6e1434e96a9b5bea352884d12 (patch) | |
tree | 83e6693c22f7104230bb168ba65e0c0a61a4354b /pkgs/development/interpreters | |
parent | fcdac347cf81758565b28ef39d15999bed98648d (diff) |
qnial: Init at 6.3
Qnial is an implementation of the Nial (Nested Array) Language
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/qnial/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/qnial/default.nix b/pkgs/development/interpreters/qnial/default.nix new file mode 100644 index 000000000000..70f18740f686 --- /dev/null +++ b/pkgs/development/interpreters/qnial/default.nix @@ -0,0 +1,39 @@ +{ stdenv, fetchFromGitHub, unzip, pkgconfig, makeWrapper, ncurses }: + +stdenv.mkDerivation rec { + name = "qnial-${version}"; + version = "6.3"; + + src = fetchFromGitHub { + sha256 = "0426hb8w0wpkisvmf3danj656j6g7rc6v91gqbgzkcj485qjaliw"; + rev = "cfe8720a4577d6413034faa2878295431bfe39f8"; + repo = "qnial"; + owner = "vrthra"; + }; + + nativeBuildInputs = [ makeWrapper ]; + + preConfigure = '' + cd build; + ''; + + installPhase = '' + cd .. + mkdir -p $out/bin $out/lib + cp build/nial $out/bin/ + cp -r niallib $out/lib/ + ''; + + buildInputs = [ + unzip + pkgconfig + ncurses + ]; + + meta = { + description = "An array language from Nial Systems"; + homepage = http://www.nial.com; + license = stdenv.lib.licenses.artistic1; + maintainers = [ stdenv.lib.maintainers.vrthra ]; + }; +} |