python.pkgs.pkgconfig: hardcode path to pkg-config
This commit is contained in:
committed by
Frederik Rietdijk
parent
c5d99308de
commit
05232abbbc
@@ -11,12 +11,17 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
propagatedBuildInputs = [ pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
patches = [ ./executable.patch ];
|
||||
postPatch = ''
|
||||
substituteInPlace pkgconfig/pkgconfig.py --replace 'PKG_CONFIG_EXE = "pkg-config"' 'PKG_CONFIG_EXE = "${pkgconfig}/bin/pkg-config"'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interface Python with pkg-config";
|
||||
homepage = https://github.com/matze/pkgconfig;
|
||||
|
||||
Reference in New Issue
Block a user