9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
25 lines
821 B
Nix
25 lines
821 B
Nix
{ lib, buildPythonPackage, fetchurl, pkg-config, gtk2, libX11, libXtst, libXi, libxkbfile, xorgproto }:
|
|
|
|
let
|
|
majorVersion = "0.63";
|
|
minorVersion = "0";
|
|
in buildPythonPackage rec {
|
|
pname = "virtkey";
|
|
version = "${majorVersion}.${minorVersion}";
|
|
|
|
src = fetchurl {
|
|
url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz";
|
|
sha256 = "0hd99hrxn6bh3rxcrdnad5cqjsphrn1s6fzx91q07d44k6cg6qcr";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ gtk2 libX11 libXtst libXi libxkbfile xorgproto ];
|
|
|
|
meta = with lib; {
|
|
description = "Extension to emulate keypresses and to get the layout information from the X server";
|
|
homepage = "https://launchpad.net/virtkey";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|