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.
26 lines
695 B
Nix
26 lines
695 B
Nix
{ stdenv, fetchFromGitHub, pkg-config, openssl, autoreconfHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "pkcs11-helper";
|
|
version = "1.27";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenSC";
|
|
repo = "pkcs11-helper";
|
|
rev = "${pname}-${version}";
|
|
sha256 = "1idrqip59bqzcgddpnk2inin5n5yn4y0dmcyaggfpdishraiqgd5";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ openssl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/OpenSC/pkcs11-helper";
|
|
license = with licenses; [ bsd3 gpl2 ];
|
|
description = "Library that simplifies the interaction with PKCS#11 providers";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|