2016-01-24 00:23:29 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, libsexy, pkgconfig, libxml2, pygtk, pango, gtk, glib, }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "python-libsexy-${version}";
|
|
|
|
version = "0.1.9";
|
2009-04-12 19:34:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://releases.chipx86.com/libsexy/sexy-python/sexy-python-${version}.tar.gz";
|
|
|
|
sha256 = "05bgcsxwkp63rlr8wg6znd46cfbhrzc5wh70jabsi654pxxjb39d";
|
|
|
|
};
|
|
|
|
|
2016-01-24 00:23:29 +00:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig pygtk
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
libsexy gtk glib pango libxml2
|
|
|
|
];
|
2009-04-12 19:34:20 +00:00
|
|
|
|
2016-01-24 00:23:29 +00:00
|
|
|
postInstall = ''
|
2009-04-12 19:34:20 +00:00
|
|
|
ln -s $out/lib/python*/site-packages/gtk-2.0/* $out/lib/python*/site-packages/
|
2016-01-24 00:23:29 +00:00
|
|
|
'';
|
2009-04-12 19:34:20 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python libsexy bindings";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-04-12 19:34:20 +00:00
|
|
|
};
|
|
|
|
}
|