Merge pull request #17005 from rzetterberg/libui

libui: init at 3.1a
This commit is contained in:
Frederik Rietdijk 2016-07-16 18:23:22 +02:00 committed by GitHub
commit 097d75d502
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchgit, cmake, pkgconfig, gtk3 }:
stdenv.mkDerivation rec {
version = "3.1.a";
name = "libui-${version}";
src = fetchgit {
url = "https://github.com/andlabs/libui.git";
rev = "6ebdc96b93273c3cedf81159e7843025caa83058";
sha256 = "1lpbfa298c61aarlzgp7vghrmxg1274pzxh1j9isv8x758gk6mfn";
};
buildInputs = [ cmake pkgconfig gtk3 ];
installPhase = ''
mkdir -p $out
mv ./out/libui.so.0 $out/libui.so.0
'';
meta = with stdenv.lib; {
description = "Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.";
homepage = https://github.com/andlabs/libui;
platforms = platforms.linux;
license = licenses.mit;
};
}

View File

@ -8428,6 +8428,8 @@ in
libu2f-server = callPackage ../development/libraries/libu2f-server { }; libu2f-server = callPackage ../development/libraries/libu2f-server { };
libui = callPackage ../development/libraries/libui { };
libunity = callPackage ../development/libraries/libunity { }; libunity = callPackage ../development/libraries/libunity { };
libunistring = callPackage ../development/libraries/libunistring { }; libunistring = callPackage ../development/libraries/libunistring { };