Skip to content

Commit

Permalink
Merge pull request NixOS#330093 from Sigmanificient/libfakekey
Browse files Browse the repository at this point in the history
libfakekey: 0.1 -> 0.3; build from source
  • Loading branch information
pbsds authored Aug 3, 2024
2 parents ec91af6 + 4369693 commit 49d34f4
Showing 1 changed file with 34 additions and 7 deletions.
41 changes: 34 additions & 7 deletions pkgs/development/libraries/libfakekey/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,43 @@
{ 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 ];
buildInputs = [ libX11 libXi libXtst xorgproto ];
preConfigure = "./autogen.sh";

nativeBuildInputs = [
automake
autoconf
pkg-config
libtool
];

buildInputs = [
libX11
libXi
libXtst
xorgproto
];

NIX_LDFLAGS = "-lX11";

meta = with lib; {
Expand Down

0 comments on commit 49d34f4

Please sign in to comment.