-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
宋文武
committed
Jul 7, 2014
1 parent
8f33899
commit 05c0bb9
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ stdenv, fetchurl, python }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "sip-4.16.1"; | ||
|
||
src = fetchurl { | ||
url = "mirror://sourceforge/pyqt/sip/${name}/${name}.tar.gz"; | ||
sha256 = "1hknl71ij924syc9ik9nk4z051q3n75y7w27q9i07awpd39sp7m4"; | ||
}; | ||
|
||
configurePhase = '' | ||
${python.executable} ./configure.py \ | ||
-d $out/lib/${python.libPrefix}/site-packages \ | ||
-b $out/bin -e $out/include | ||
''; | ||
|
||
buildInputs = [ python ]; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Creates C++ bindings for Python modules"; | ||
homepage = "http://www.riverbankcomputing.co.uk/"; | ||
license = licenses.gpl2Plus; | ||
maintainers = with maintainers; [ lovek323 sander urkud ]; | ||
platforms = platforms.all; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters