umka-lang: init at 1.5.4 (#457910)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user