umka-lang: init at 1.5.4 (#457910)

This commit is contained in:
Nikolay Korotkiy
2026-02-23 20:25:38 +00:00
committed by GitHub
2 changed files with 44 additions and 0 deletions
+6
View File
@@ -8397,6 +8397,12 @@
}
];
};
f64u = {
email = "me@fadyadal.dev";
github = "f64u";
githubId = 24705058;
name = "Fady Adal";
};
fab = {
email = "mail@fabian-affolter.ch";
matrix = "@fabaff:matrix.org";
+38
View File
@@ -0,0 +1,38 @@
{
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "umka-lang";
version = "1.5.4";
src = fetchFromGitHub {
owner = "vtereshkov";
repo = "umka-lang";
tag = "v${finalAttrs.version}";
hash = "sha256-UerEmJdD0/Hx/Pqw3NI3cZwjkX9lRWqI5rL0GGYKFwc=";
};
postPatch = ''
substituteInPlace Makefile \
--replace-fail "RANLIB = libtool -static -o" "RANLIB = ar -cru"
''
+ lib.optionalString (!stdenv.hostPlatform.isx86) ''
substituteInPlace Makefile \
--replace-fail "-malign-double" ""
'';
makeFlags = [
"PREFIX=$(out)"
];
meta = {
description = "Statically typed embeddable scripting language";
homepage = "https://github.com/vtereshkov/umka-lang";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ f64u ];
mainProgram = "umka";
};
})