libui: 3.1a -> 4.1a
This commit is contained in:
parent
2c410e25de
commit
6c7029e7ce
@ -1,21 +1,22 @@
|
||||
{ stdenv, fetchgit, cmake, pkgconfig, gtk3, Cocoa }:
|
||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gtk3, Cocoa }:
|
||||
|
||||
let
|
||||
shortName = "libui";
|
||||
version = "3.1a";
|
||||
version = "4.1a";
|
||||
backend = if stdenv.isDarwin then "darwin" else "unix";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "${shortName}-${version}";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/andlabs/libui.git";
|
||||
rev = "6ebdc96b93273c3cedf81159e7843025caa83058";
|
||||
sha256 = "1lpbfa298c61aarlzgp7vghrmxg1274pzxh1j9isv8x758gk6mfn";
|
||||
src = fetchFromGitHub {
|
||||
owner = "andlabs";
|
||||
repo = "libui";
|
||||
rev = "alpha4.1";
|
||||
sha256 = "0bm6xvqk4drg2kw6d304x6mlfal7gh8mbl5a9f0509smmdzgdkwm";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = stdenv.lib.optional stdenv.isLinux gtk3
|
||||
propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux gtk3
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
|
Loading…
Reference in New Issue
Block a user