libfakekey: 0.1 -> 0.3

This commit is contained in:
Sigmanificient 2024-07-26 08:59:04 +02:00
parent 4a8e77c706
commit 37af97ea73

View File

@ -1,15 +1,18 @@
{ lib, stdenv, fetchurl, libX11, libXi, libXtst, pkg-config, xorgproto }:
{ lib, stdenv, fetchgit, automake, autoconf, libtool, libX11, libXi, libXtst, pkg-config, xorgproto }:
stdenv.mkDerivation rec {
pname = "libfakekey";
version = "0.1";
version = "0.3";
src = fetchurl {
url = "https://downloads.yoctoproject.org/releases/matchbox/libfakekey/0.1/${pname}-${version}.tar.gz";
sha256 = "10msplyn535hmzbmbdnx4zc20hkaw6d81if5lzxs82k8sq2mkx9k";
src = fetchgit {
url = "https://git.yoctoproject.org/libfakekey";
rev = "refs/tags/${version}";
hash = "sha256-QNJlxZ9uNwNgFWm9qRJdPfusx7dXHZajjFH7wDhpgcs=";
};
nativeBuildInputs = [ pkg-config ];
preConfigure = "./autogen.sh";
nativeBuildInputs = [ automake autoconf pkg-config libtool ];
buildInputs = [ libX11 libXi libXtst xorgproto ];
NIX_LDFLAGS = "-lX11";