mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
* Reverted most of the recent Python refactorings, as discussed. It's
a worthy goal to move the Python packages that are currently in all-packages.nix into a single attribute set, but this doesn't require moving python-packages.nix or the other changes made to that file. The Python packages in all-packages.nix should simply be moved to python-packages.nix, and ideally changed to use buildPythonPackage. svn path=/nixpkgs/trunk/; revision=21196
This commit is contained in:
parent
8d9ac92768
commit
e2a374799f
40 changed files with 980 additions and 1093 deletions
20
pkgs/development/python-modules/python-sip/default.nix
Normal file
20
pkgs/development/python-modules/python-sip/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ stdenv, fetchurl, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sip-4.10.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.riverbankcomputing.co.uk/static/Downloads/sip4/${name}.tar.gz";
|
||||
sha256 = "16pdk86amcl4hnc9vv2y1ihl8ym9hjkh49andm4jahv4630qhc9h";
|
||||
};
|
||||
|
||||
configurePhase = "python ./configure.py -d $out/lib/${python.libPrefix}/site-packages -b $out/bin -e $out/include";
|
||||
|
||||
buildInputs = [ python ];
|
||||
|
||||
meta = {
|
||||
description = "Creates C++ bindings for Python modules";
|
||||
license = "GPL";
|
||||
maintainers = [ stdenv.lib.maintainers.sander ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue