[Nix-dev] New `buildPythonPackage' function

Marc Weber marco-oweber at gmx.de
Tue May 26 00:18:09 CEST 2009


On Mon, May 25, 2009 at 01:52:06AM +0200, Ludovic Courtès wrote:
> Hello!
> 
> I just added a `buildPythonPackage' function that should facilitate the
> maintenance of Python packages in Nixpkgs.  It works for packages that
> use `setuptools', which is what most Python packages seem to do these
> days.  If everything goes well, using it is as simple as:
> 
>   foo = buildPythonPackage {
>     name = "foo-0.0"
>     src = fetchurl ...;
> 
>     # This should list Python packages depended on.
>     propagatedBuildInputs = [ pythonpkg ... ];
> 
>     meta = ...;
>   };

Unless you add a pyCheck like feature I won't start using it :-)
Sincerly

Marc Weber



More information about the nix-dev mailing list