7f5b839524
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'. * Replaced `with args' with formal function arguments in several packages. * Renamed several files to `default.nix'. As a general rule, version numbers should only be included in the filename when there is a reason to keep multiple versions of a package in Nixpkgs. Otherwise, it just makes it harder to update the package. svn path=/nixpkgs/trunk/; revision=18403
19 lines
518 B
Nix
19 lines
518 B
Nix
args : with args;
|
|
rec {
|
|
src = fetchurl {
|
|
url = http://ftp.de.debian.org/debian/pool/main/s/sip4-qt3/sip4-qt3_4.7.4.orig.tar.gz;
|
|
sha256 = "0g518b26346q9b0lm13rsgdbq14r4nckyjbf209ylakwx6zir4l5";
|
|
};
|
|
|
|
buildInputs = [python];
|
|
configureFlags = [ '' -e "$prefix/include/python$pythonVersion" ''];
|
|
|
|
/* doConfigure should be specified separately */
|
|
phaseNames = ["doPythonConfigure" "doMakeInstall"];
|
|
|
|
name = "python-sip-4.7.4";
|
|
meta = {
|
|
description = "Python/C++ bindings generator";
|
|
};
|
|
}
|