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