quickjs: 2020-11-08 -> 2021-03-27
This commit is contained in:
parent
4a34590ece
commit
bab9dcdaac
|
@ -1,17 +1,37 @@
|
||||||
{ lib, stdenv, fetchurl }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, texinfo
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "quickjs";
|
pname = "quickjs";
|
||||||
version = "2020-11-08";
|
version = "2021-03-27";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://bellard.org/${pname}/${pname}-${version}.tar.xz";
|
owner = "bellard";
|
||||||
sha256 = "0yqqcjxi3cqagw184mqrxpvqg486x7c233r3cp9mxachngd6779f";
|
repo = pname;
|
||||||
|
rev = "b5e62895c619d4ffc75c9d822c8d85f1ece77e5b";
|
||||||
|
hash = "sha256-VMaxVVQuJ3DAwYrC14uJqlRBg0//ugYvtyhOXsTUbCA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "prefix=${placeholder "out"}" ];
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
texinfo
|
||||||
|
];
|
||||||
|
|
||||||
|
postBuild = ''
|
||||||
|
(cd doc
|
||||||
|
makeinfo *texi)
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
(cd doc
|
||||||
|
install -Dt $out/share/doc *texi *info)
|
||||||
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
PATH="$out/bin:$PATH"
|
PATH="$out/bin:$PATH"
|
||||||
|
@ -32,7 +52,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A small and embeddable Javascript engine";
|
description = "A small and embeddable Javascript engine";
|
||||||
homepage = "https://bellard.org/quickjs/";
|
homepage = "https://bellard.org/quickjs/";
|
||||||
maintainers = with maintainers; [ stesie ];
|
maintainers = with maintainers; [ stesie AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue