python.pkgs.pkgconfig: move expression
This commit is contained in:
committed by
Frederik Rietdijk
parent
a7a48fddc3
commit
9f7ed5ed10
25
pkgs/development/python-modules/pkgconfig/default.nix
Normal file
25
pkgs/development/python-modules/pkgconfig/default.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, nose, pkgconfig }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pkgconfig";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "107x2wmchlch8saixb488cgjz9n6inl38wi7nxkb942rbaapxiqb";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
propagatedBuildInputs = [ pkgconfig ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Interface Python with pkg-config";
|
||||
homepage = https://github.com/matze/pkgconfig;
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user