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