2016-04-27 17:28:50 +00:00
|
|
|
{ stdenv, fetchFromGitHub, unzip, pkgconfig, makeWrapper, ncurses }:
|
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "qnial";
|
2016-04-27 17:28:50 +00:00
|
|
|
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";
|
2018-09-01 23:11:08 +00:00
|
|
|
homepage = https://github.com/vrthra/qnial;
|
2016-04-27 17:28:50 +00:00
|
|
|
license = stdenv.lib.licenses.artistic1;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vrthra ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-04-27 17:28:50 +00:00
|
|
|
};
|
|
|
|
}
|