aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pkgconfig/default.nix
blob: b810213cce92c1cf514e8b48a95367754f132cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;
  };
}