2022-02-19 01:43:37 +00:00
|
|
|
{ lib
|
|
|
|
, glib
|
|
|
|
, cairo
|
|
|
|
, libuuid
|
|
|
|
, pango
|
|
|
|
, gtk3
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoPatchelfHook
|
|
|
|
}:
|
|
|
|
|
2023-06-14 23:33:46 +00:00
|
|
|
stdenv.mkDerivation {
|
2022-02-19 01:43:37 +00:00
|
|
|
pname = "libsciter";
|
|
|
|
version = "4.4.8.23-bis"; # Version specified in GitHub commit title
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/c-smile/sciter-sdk/raw/9f1724a45f5a53c4d513b02ed01cdbdab08fa0e5/bin.lnx/x64/libsciter-gtk.so";
|
|
|
|
sha256 = "a1682fbf55e004f1862d6ace31b5220121d20906bdbf308d0a9237b451e4db86";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoPatchelfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ glib cairo libuuid pango gtk3 ];
|
|
|
|
|
|
|
|
dontUnpack = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -m755 -D $src $out/lib/libsciter-gtk.so
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://sciter.com";
|
|
|
|
description = "Embeddable HTML/CSS/JavaScript engine for modern UI development";
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
maintainers = with maintainers; [ leixb ];
|
2022-06-09 23:42:40 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
2022-02-19 01:43:37 +00:00
|
|
|
license = licenses.unfree;
|
|
|
|
};
|
|
|
|
}
|