mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
commit
097d75d502
25
pkgs/development/libraries/libui/default.nix
Normal file
25
pkgs/development/libraries/libui/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user