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.
33 lines
940 B
Nix
33 lines
940 B
Nix
{lib, stdenv, fetchFromGitHub, openssl, libX11, krb5, libXcursor, libtasn1, nettle, gnutls, pkg-config, autoreconfHook
|
|
, enableCredssp ? (!stdenv.isDarwin)
|
|
} :
|
|
|
|
stdenv.mkDerivation (rec {
|
|
pname = "rdesktop";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1s6k1jwd28y38ymk3lfv76ch4arpfwrbdhpkbnwwy3fc4617gb78";
|
|
};
|
|
|
|
nativeBuildInputs = [pkg-config autoreconfHook];
|
|
buildInputs = [openssl libX11 libXcursor libtasn1 nettle gnutls]
|
|
++ lib.optional enableCredssp krb5;
|
|
|
|
configureFlags = [
|
|
"--with-ipv6"
|
|
"--with-openssl=${openssl.dev}"
|
|
"--disable-smartcard"
|
|
] ++ lib.optional (!enableCredssp) "--disable-credssp";
|
|
|
|
meta = {
|
|
description = "Open source client for Windows Terminal Services";
|
|
homepage = "http://www.rdesktop.org/";
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
license = lib.licenses.gpl2;
|
|
};
|
|
})
|