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