depot/third_party/nixpkgs/pkgs/development/interpreters/qnial/default.nix
Default email 07d6a74cbb Project import generated by Copybara.
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
2021-03-19 18:17:44 +01:00

39 lines
844 B
Nix

{ lib, stdenv, fetchFromGitHub, unzip, pkg-config, makeWrapper, ncurses }:
stdenv.mkDerivation {
pname = "qnial";
version = "6.3";
src = fetchFromGitHub {
sha256 = "0426hb8w0wpkisvmf3danj656j6g7rc6v91gqbgzkcj485qjaliw";
rev = "cfe8720a4577d6413034faa2878295431bfe39f8";
repo = "qnial";
owner = "vrthra";
};
nativeBuildInputs = [ makeWrapper unzip ];
preConfigure = ''
cd build;
'';
installPhase = ''
cd ..
mkdir -p $out/bin $out/lib
cp build/nial $out/bin/
cp -r niallib $out/lib/
'';
buildInputs = [
pkg-config
ncurses
];
meta = {
description = "An array language from Nial Systems";
homepage = "https://github.com/vrthra/qnial";
license = lib.licenses.artistic1;
maintainers = [ lib.maintainers.vrthra ];
platforms = lib.platforms.linux;
};
}