presenterm: 0.9.0 -> 0.10.0 (#378946)
[NixPkgs.git] / pkgs / by-name / li / libsciter / package.nix
blobc920db6c1a457e7584ee0875ef8aa2a1014add4d
2   lib,
3   glib,
4   cairo,
5   libuuid,
6   pango,
7   gtk3,
8   stdenv,
9   fetchurl,
10   autoPatchelfHook,
13 stdenv.mkDerivation {
14   pname = "libsciter";
15   version = "4.4.8.23-bis"; # Version specified in GitHub commit title
17   src = fetchurl {
18     url = "https://github.com/c-smile/sciter-sdk/raw/9f1724a45f5a53c4d513b02ed01cdbdab08fa0e5/bin.lnx/x64/libsciter-gtk.so";
19     sha256 = "a1682fbf55e004f1862d6ace31b5220121d20906bdbf308d0a9237b451e4db86";
20   };
22   nativeBuildInputs = [
23     autoPatchelfHook
24   ];
26   buildInputs = [
27     glib
28     cairo
29     libuuid
30     pango
31     gtk3
32   ];
34   dontUnpack = true;
36   installPhase = ''
37     runHook preInstall
39     install -m755 -D $src $out/lib/libsciter-gtk.so
41     runHook postInstall
42   '';
44   meta = with lib; {
45     homepage = "https://sciter.com";
46     description = "Embeddable HTML/CSS/JavaScript engine for modern UI development";
47     platforms = [ "x86_64-linux" ];
48     maintainers = with maintainers; [ leixb ];
49     sourceProvenance = with sourceTypes; [ binaryNativeCode ];
50     license = licenses.unfree;
51   };