Merge pull request #325870 from atorres1985-contrib/qnial

qnial: 6.3 -> 6.3_1
This commit is contained in:
Thiago Kenji Okada
2024-07-15 22:00:46 +01:00
committed by GitHub
3 changed files with 53 additions and 42 deletions
+53
View File
@@ -0,0 +1,53 @@
{
lib,
fetchFromBitbucket,
libxcrypt,
ncurses,
pkg-config,
stdenv,
unzip,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qnial";
version = "6.3_1";
src = fetchFromBitbucket {
owner = "museoa";
repo = "qnial";
rev = finalAttrs.version;
hash = "sha256-QhjEq6YKO6OKy7+dlHeTWQvCvrF8zS7o8QfPD8WDXy0=";
};
nativeBuildInputs = [
pkg-config
unzip
];
buildInputs = [
ncurses
libxcrypt
];
strictDeps = true;
preConfigure = ''
cd build
'';
installPhase = ''
cd ..
mkdir -p $out/bin $out/lib
cp build/nial $out/bin/
cp -r niallib $out/lib/
'';
meta = {
description = "Array language from Nial Systems";
homepage = "https://bitbucket.com/museoa/qnial";
license = lib.licenses.artistic1;
mainProgram = "nial";
maintainers = [ lib.maintainers.AndersonTorres ];
platforms = lib.platforms.linux;
};
})
@@ -1,40 +0,0 @@
{ lib, stdenv, fetchFromGitHub, unzip, pkg-config, makeWrapper, ncurses, libxcrypt }:
stdenv.mkDerivation {
pname = "qnial";
version = "6.3";
src = fetchFromGitHub {
sha256 = "0426hb8w0wpkisvmf3danj656j6g7rc6v91gqbgzkcj485qjaliw";
rev = "cfe8720a4577d6413034faa2878295431bfe39f8";
repo = "qnial";
owner = "vrthra";
};
nativeBuildInputs = [ makeWrapper unzip pkg-config ];
preConfigure = ''
cd build;
'';
installPhase = ''
cd ..
mkdir -p $out/bin $out/lib
cp build/nial $out/bin/
cp -r niallib $out/lib/
'';
buildInputs = [
ncurses
libxcrypt
];
meta = {
description = "Array language from Nial Systems";
mainProgram = "nial";
homepage = "https://github.com/vrthra/qnial";
license = lib.licenses.artistic1;
maintainers = [ ];
platforms = lib.platforms.linux;
};
}
-2
View File
@@ -12044,8 +12044,6 @@ with pkgs;
qlog = qt6Packages.callPackage ../applications/radio/qlog { };
qnial = callPackage ../development/interpreters/qnial { };
quickbms = pkgsi686Linux.callPackage ../tools/archivers/quickbms { };
q-text-as-data = callPackage ../tools/misc/q-text-as-data { };