mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
* getmail: don't use pythonFull.
svn path=/nixpkgs/branches/modular-python/; revision=26566
This commit is contained in:
parent
cef7e52b5a
commit
f119c267de
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
name = "ipython-0.10.1";
|
name = "ipython-0.10.1";
|
||||||
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ipython.scipy.org/dist/0.10.1/ipython-0.10.1.tar.gz";
|
url = "http://ipython.scipy.org/dist/0.10.1/ipython-0.10.1.tar.gz";
|
||||||
|
@ -1,48 +1,23 @@
|
|||||||
x@{builderDefsPackage
|
{ stdenv, fetchurl, buildPythonPackage, pythonPackages }:
|
||||||
, python, makeWrapper
|
|
||||||
, ...}:
|
|
||||||
builderDefsPackage
|
|
||||||
(a :
|
|
||||||
let
|
|
||||||
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
|
||||||
[];
|
|
||||||
|
|
||||||
buildInputs = map (n: builtins.getAttr n x)
|
buildPythonPackage rec {
|
||||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
name = "getmail-4.20.0";
|
||||||
sourceInfo = rec {
|
namePrefix = "";
|
||||||
baseName="getmail";
|
|
||||||
version="4.20.0";
|
src = fetchurl {
|
||||||
name="${baseName}-${version}";
|
url = "http://pyropus.ca/software/getmail/old-versions/${name}.tar.gz";
|
||||||
url="http://pyropus.ca/software/${baseName}/old-versions/${name}.tar.gz";
|
sha256 = "17cpyra61virk1d223w8pdwhv2qzhbwdbnrr1ab1znf4cv9m3knn";
|
||||||
hash="17cpyra61virk1d223w8pdwhv2qzhbwdbnrr1ab1znf4cv9m3knn";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = a.fetchurl {
|
|
||||||
url = sourceInfo.url;
|
|
||||||
sha256 = sourceInfo.hash;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (sourceInfo) name version;
|
propagatedBuildInputs = [ pythonPackages.ssl ];
|
||||||
inherit buildInputs;
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
doCheck = false;
|
||||||
phaseNames = ["installPythonPackage" "patchShebangs" "wrapBinContentsPython"];
|
|
||||||
patchShebangs = (a.doPatchShebangs "$out/bin");
|
installCommand = "python setup.py install --prefix=\"\$prefix\"";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A program for retrieval of mail";
|
description = "A program for retrieving mail";
|
||||||
maintainers = with a.lib.maintainers;
|
maintainers = [ stdenv.lib.maintainers.raskin ];
|
||||||
[
|
platforms = stdenv.lib.platforms.linux;
|
||||||
raskin
|
|
||||||
];
|
|
||||||
platforms = with a.lib.platforms;
|
|
||||||
linux;
|
|
||||||
};
|
};
|
||||||
passthru = {
|
}
|
||||||
updateInfo = {
|
|
||||||
downloadPage = "http://pyropus.ca/software/getmail/";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}) x
|
|
||||||
|
|
||||||
|
@ -663,9 +663,7 @@ let
|
|||||||
|
|
||||||
gengetopt = callPackage ../development/tools/misc/gengetopt { };
|
gengetopt = callPackage ../development/tools/misc/gengetopt { };
|
||||||
|
|
||||||
getmail = callPackage ../tools/networking/getmail {
|
getmail = callPackage ../tools/networking/getmail { };
|
||||||
python = pythonFull;
|
|
||||||
};
|
|
||||||
|
|
||||||
getopt = callPackage ../tools/misc/getopt { };
|
getopt = callPackage ../tools/misc/getopt { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user