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

28 lines
703 B
Nix
Raw Normal View History

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