at 23.11-beta 45 lines 1.0 kB view raw
1{ lib 2, glib 3, cairo 4, libuuid 5, pango 6, gtk3 7, stdenv 8, fetchurl 9, autoPatchelfHook 10}: 11 12stdenv.mkDerivation { 13 pname = "libsciter"; 14 version = "4.4.8.23-bis"; # Version specified in GitHub commit title 15 16 src = fetchurl { 17 url = "https://github.com/c-smile/sciter-sdk/raw/9f1724a45f5a53c4d513b02ed01cdbdab08fa0e5/bin.lnx/x64/libsciter-gtk.so"; 18 sha256 = "a1682fbf55e004f1862d6ace31b5220121d20906bdbf308d0a9237b451e4db86"; 19 }; 20 21 nativeBuildInputs = [ 22 autoPatchelfHook 23 ]; 24 25 buildInputs = [ glib cairo libuuid pango gtk3 ]; 26 27 dontUnpack = true; 28 29 installPhase = '' 30 runHook preInstall 31 32 install -m755 -D $src $out/lib/libsciter-gtk.so 33 34 runHook postInstall 35 ''; 36 37 meta = with lib; { 38 homepage = "https://sciter.com"; 39 description = "Embeddable HTML/CSS/JavaScript engine for modern UI development"; 40 platforms = [ "x86_64-linux" ]; 41 maintainers = with maintainers; [ leixb ]; 42 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 43 license = licenses.unfree; 44 }; 45}