2021-01-23 13:15:07 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, unzip, pkg-config, makeWrapper, ncurses }:
|
2016-04-27 17:28:50 +00:00
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2021-02-20 21:01:53 +00:00
|
|
|
nativeBuildInputs = [ makeWrapper unzip ];
|
2016-04-27 17:28:50 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cd build;
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
cd ..
|
|
|
|
mkdir -p $out/bin $out/lib
|
|
|
|
cp build/nial $out/bin/
|
|
|
|
cp -r niallib $out/lib/
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2016-04-27 17:28:50 +00:00
|
|
|
ncurses
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An array language from Nial Systems";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/vrthra/qnial";
|
2021-01-23 13:15:07 +00:00
|
|
|
license = lib.licenses.artistic1;
|
|
|
|
maintainers = [ lib.maintainers.vrthra ];
|
|
|
|
platforms = lib.platforms.linux;
|
2016-04-27 17:28:50 +00:00
|
|
|
};
|
|
|
|
}
|