diff options
author | Richard Zetterberg <richard.zetterberg@googlemail.com> | 2016-07-16 11:04:05 +0200 |
---|---|---|
committer | Richard Zetterberg <richard.zetterberg@googlemail.com> | 2016-07-16 11:06:21 +0200 |
commit | 6c0cfd3be3c1e4173fe0639f1081d2c23601c7ae (patch) | |
tree | a375430e8531fef63ba71cf59588cd5391ac81cb /pkgs/development/libraries/libui | |
parent | 8fa4dc174f82e35106549c49b357f2332a722f55 (diff) |
libui: init at 3.1a
Diffstat (limited to 'pkgs/development/libraries/libui')
-rw-r--r-- | pkgs/development/libraries/libui/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libui/default.nix b/pkgs/development/libraries/libui/default.nix new file mode 100644 index 0000000000000..5fabd12758013 --- /dev/null +++ b/pkgs/development/libraries/libui/default.nix @@ -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; + }; +} |