2015-09-15 06:27:19 +02:00
|
|
|
a @ { python, libsexy, pkgconfig, libxml2, pygtk, pango, gtk, glib, ... } :
|
|
|
|
let
|
2009-04-12 21:34:20 +02:00
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2015-09-15 06:27:19 +02:00
|
|
|
version = a.lib.attrByPath ["version"] "0.1.9" a;
|
2009-04-12 21:34:20 +02:00
|
|
|
buildInputs = with a; [
|
|
|
|
pkgconfig pygtk
|
|
|
|
];
|
|
|
|
propagatedBuildInputs = with a; [
|
|
|
|
libsexy python gtk glib pango libxml2
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://releases.chipx86.com/libsexy/sexy-python/sexy-python-${version}.tar.gz";
|
|
|
|
sha256 = "05bgcsxwkp63rlr8wg6znd46cfbhrzc5wh70jabsi654pxxjb39d";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs propagatedBuildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall" "postInstall"];
|
2009-05-20 01:25:58 +02:00
|
|
|
postInstall = a.fullDepEntry (''
|
2009-04-12 21:34:20 +02:00
|
|
|
ln -s $out/lib/python*/site-packages/gtk-2.0/* $out/lib/python*/site-packages/
|
|
|
|
'') ["minInit"];
|
|
|
|
|
|
|
|
name = "python-libsexy-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "Python libsexy bindings";
|
|
|
|
};
|
|
|
|
}
|