about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-sip/default.nix
blob: 34daf294358d4a7d510f8ec5030aa468f36b04c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, python }:

stdenv.mkDerivation rec {
  name = "sip-4.13.2";
  
  src = fetchurl {
    url = "http://www.riverbankcomputing.co.uk/static/Downloads/sip4/${name}.tar.gz";
    sha256 = "1gzff61bi22g6fkdg9iya4q2qfdkwxs19v4rhhf8x4bm7hszbhsb";
  };
  
  configurePhase = "python ./configure.py -d $out/lib/${python.libPrefix}/site-packages -b $out/bin -e $out/include";
  
  buildInputs = [ python ];
  
  meta = {
    description = "Creates C++ bindings for Python modules";
    license = "GPL";
    maintainers = with stdenv.lib.maintainers; [ urkud sander ];
  };
}