1{ lib, buildPythonPackage, fetchPypi, nose, pkgconfig }: 2 3buildPythonPackage rec { 4 pname = "pkgconfig"; 5 version = "1.4.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "048c3b457da7b6f686b647ab10bf09e2250e4c50acfe6f215398a8b5e6fcdb52"; 10 }; 11 12 checkInputs = [ nose ]; 13 14 propagatedBuildInputs = [ pkgconfig ]; 15 16 checkPhase = '' 17 nosetests 18 ''; 19 20 meta = with lib; { 21 description = "Interface Python with pkg-config"; 22 homepage = https://github.com/matze/pkgconfig; 23 license = licenses.mit; 24 }; 25}