2019-02-15 09:08:27 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, libsexy, pkgconfig, libxml2, pygtk, pango, gtk2, glib, python }:
|
2016-01-24 00:23:29 +00:00
|
|
|
|
2017-03-21 12:01:17 +00:00
|
|
|
buildPythonPackage rec {
|
2017-05-27 10:25:35 +01:00
|
|
|
pname = "libsexy";
|
2016-01-24 00:23:29 +00:00
|
|
|
version = "0.1.9";
|
2017-03-21 12:01:17 +00:00
|
|
|
format = "other";
|
2009-04-12 20:34:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://releases.chipx86.com/libsexy/sexy-python/sexy-python-${version}.tar.gz";
|
|
|
|
sha256 = "05bgcsxwkp63rlr8wg6znd46cfbhrzc5wh70jabsi654pxxjb39d";
|
|
|
|
};
|
|
|
|
|
2019-02-15 09:08:27 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig pygtk ];
|
2016-01-24 00:23:29 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2019-02-15 09:08:27 +00:00
|
|
|
pygtk libsexy glib pango libxml2
|
2016-01-24 00:23:29 +00:00
|
|
|
];
|
2009-04-12 20:34:20 +01:00
|
|
|
|
2016-01-24 00:23:29 +00:00
|
|
|
postInstall = ''
|
2019-02-15 09:08:27 +00:00
|
|
|
ln -s $out/${python.sitePackages}/gtk-2.0/* $out/${python.sitePackages}
|
2016-01-24 00:23:29 +00:00
|
|
|
'';
|
2009-04-12 20:34:20 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Python libsexy bindings";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-04-12 20:34:20 +01:00
|
|
|
};
|
|
|
|
}
|