571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
51 lines
831 B
Nix
51 lines
831 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchgit,
|
|
automake,
|
|
autoconf,
|
|
libtool,
|
|
libX11,
|
|
libXi,
|
|
libXtst,
|
|
pkg-config,
|
|
xorgproto,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libfakekey";
|
|
version = "0.3";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.yoctoproject.org/libfakekey";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-QNJlxZ9uNwNgFWm9qRJdPfusx7dXHZajjFH7wDhpgcs=";
|
|
};
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
nativeBuildInputs = [
|
|
automake
|
|
autoconf
|
|
pkg-config
|
|
libtool
|
|
];
|
|
|
|
buildInputs = [
|
|
libX11
|
|
libXi
|
|
libXtst
|
|
xorgproto
|
|
];
|
|
|
|
NIX_LDFLAGS = "-lX11";
|
|
|
|
meta = with lib; {
|
|
description = "X virtual keyboard library";
|
|
homepage = "https://www.yoctoproject.org/tools-resources/projects/matchbox";
|
|
license = licenses.gpl2;
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|