3
0
Fork 0
forked from mirrors/nixpkgs

matchbox: fix build

This commit is contained in:
Renaud 2019-05-08 22:53:27 +02:00 committed by GitHub
parent c068c7a63f
commit 60c120e922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libmatchbox, pkgconfig}:
{ stdenv, fetchurl, pkgconfig, libmatchbox, libX11, libXext }:
stdenv.mkDerivation rec {
name = "matchbox-${version}";
@ -6,6 +6,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libmatchbox ];
NIX_LDFLAGS = "-lX11 -L${libX11}/lib -lXext -L${libXext}/lib";
src = fetchurl {
url = "https://downloads.yoctoproject.org/releases/matchbox/matchbox-window-manager/${version}/matchbox-window-manager-${version}.tar.bz2";
@ -14,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
description = "X window manager for non-desktop embedded systems";
homepage = http://matchbox-project.org/;
homepage = "https://www.yoctoproject.org/software-item/matchbox/";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
};