nixpkgs/pkgs/development/python-modules/libsexy/default.nix

27 lines
685 B
Nix
Raw Normal View History

2016-09-26 08:47:09 +01:00
{ stdenv, fetchurl, mkPythonDerivation, libsexy, pkgconfig, libxml2, pygtk, pango, gtk2, glib }:
2016-01-24 00:23:29 +00:00
2016-09-26 08:47:09 +01:00
mkPythonDerivation rec {
name = "libsexy-${version}";
2016-01-24 00:23:29 +00:00
version = "0.1.9";
src = fetchurl {
url = "http://releases.chipx86.com/libsexy/sexy-python/sexy-python-${version}.tar.gz";
sha256 = "05bgcsxwkp63rlr8wg6znd46cfbhrzc5wh70jabsi654pxxjb39d";
};
2016-09-26 08:47:09 +01:00
buildInputs = [ pkgconfig ];
2016-01-24 00:23:29 +00:00
propagatedBuildInputs = [
2016-09-26 08:47:09 +01:00
pygtk libsexy gtk2 glib pango libxml2
2016-01-24 00:23:29 +00:00
];
2016-01-24 00:23:29 +00:00
postInstall = ''
ln -s $out/lib/python*/site-packages/gtk-2.0/* $out/lib/python*/site-packages/
2016-01-24 00:23:29 +00:00
'';
meta = {
description = "Python libsexy bindings";
platforms = stdenv.lib.platforms.linux;
};
}