libui: init at 3.1a

This commit is contained in:
Richard Zetterberg 2016-07-16 11:04:05 +02:00
parent 8fa4dc174f
commit 6c0cfd3be3
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

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