diff options
author | Marc Weber <marco-oweber@gmx.de> | 2010-04-17 18:28:25 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2010-04-17 18:28:25 +0000 |
commit | 8c0b7e4ad2c23b3bb9c71c431520096d4361942f (patch) | |
tree | 966d85d67800a84f43d3ac06722c81619b623b62 /pkgs/development/python2-packages/libsexy/default.nix | |
parent | 9e59164e5747235892f81ed6b6db67c63be89fe5 (diff) | |
download | nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.gz nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.bz2 nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.lz nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.xz nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.tar.zst nixlib-8c0b7e4ad2c23b3bb9c71c431520096d4361942f.zip |
- adding experimental python31 build
- cleanup python libraries: * moving all python libraries into a attr set into a directory so that expressions can be used for both: python 2.5 and 2.6 easily * disabling packages which don't build svn path=/nixpkgs/trunk/; revision=21142
Diffstat (limited to 'pkgs/development/python2-packages/libsexy/default.nix')
-rw-r--r-- | pkgs/development/python2-packages/libsexy/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python2-packages/libsexy/default.nix b/pkgs/development/python2-packages/libsexy/default.nix new file mode 100644 index 000000000000..fa00a7040a03 --- /dev/null +++ b/pkgs/development/python2-packages/libsexy/default.nix @@ -0,0 +1,32 @@ +a : +let + fetchurl = a.fetchurl; + + version = a.lib.attrByPath ["version"] "0.1.9" a; + 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"]; + postInstall = a.fullDepEntry ('' + 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"; + }; +} |