add solo5-tools to overlay
Add a package that only contains the solo5-elftool utility.
This commit is contained in:
parent
be75518e61
commit
45c90b30b3
|
@ -43,4 +43,6 @@ with prev; {
|
||||||
targetLlvmLibraries = targetPackages.llvmPackages_8.libraries;
|
targetLlvmLibraries = targetPackages.llvmPackages_8.libraries;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
solo5-tools = callPackage ./solo5-tools { };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
|
{ stdenv, buildPackages, fetchurl }:
|
||||||
|
|
||||||
|
# WARNING: recursive make ahead
|
||||||
|
|
||||||
|
let version = "0.6.4";
|
||||||
|
in stdenv.mkDerivation {
|
||||||
|
pname = "solo5-tools";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url =
|
||||||
|
"https://github.com/Solo5/solo5/releases/download/v${version}/solo5-v${version}.tar.gz";
|
||||||
|
sha256 = "sha256-7KyBXM0ZaG2WLoHpq6o/VoP8/qyclIEY9Hh/aLhcQlA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
configurePhase = "sh configure.sh --only-tools";
|
||||||
|
installPhase = "make install-tools DESTDIR=$out";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Sandboxed execution environment.";
|
||||||
|
homepage = "https://github.com/solo5/solo5";
|
||||||
|
license = licenses.isc;
|
||||||
|
maintainers = [ maintainers.ehmry ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue