From 6c0cfd3be3c1e4173fe0639f1081d2c23601c7ae Mon Sep 17 00:00:00 2001 From: Richard Zetterberg Date: Sat, 16 Jul 2016 11:04:05 +0200 Subject: libui: init at 3.1a --- pkgs/development/libraries/libui/default.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/libui/default.nix (limited to 'pkgs/development/libraries/libui') 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; + }; +} -- cgit 1.4.1