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

stdenv.mkDerivation {
  name = "sip-4.8.2";
  src = fetchurl {
    url = http://pyqwt.sourceforge.net/support/sip-4.8.2.tar.gz; # Not downloading from riverbank, since they remove older releases
    sha256 = "1afr2qaibzgf8fq4fmc31jz9hvbwxbg5jvl68ygvkkdvnbg2kfrf";
  };
  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 = [ lib.maintainers.sander ];
  };
}