Merge pull request #815 from garbas/pypi2nix

pypi2nix - generating packages from pypi
This commit is contained in:
Rok Garbas
2013-08-13 02:42:50 -07:00
7 changed files with 5652 additions and 16083 deletions
+24 -1
View File
@@ -7,7 +7,11 @@ optional = pkgs.lib.optional;
optionals = pkgs.lib.optionals;
modules = python.modules or { readline = null; sqlite3 = null; curses = null; ssl = null; };
pythonPackages = modules // rec {
pythonPackages = modules // import ./python-packages-generated.nix {
inherit pkgs python;
inherit (pkgs) stdenv fetchurl;
self = pythonPackages;
} // rec {
inherit python;
inherit (pkgs) fetchurl fetchsvn fetchgit stdenv;
@@ -49,6 +53,25 @@ pythonPackages = modules // rec {
inherit python setuptools;
};
pypi2nix = buildPythonPackage rec {
rev = "e231db7e8874d4543a6f0fffc46c0fffbe6108c5";
name = "pypi2nix-1.0_${rev}";
src = fetchurl {
url = "https://github.com/garbas/pypi2nix/tarball/${rev}";
name = "${name}.tar.bz";
sha256 = "0wqk6milnagr0b0v8igjp8p25d5y63pki3pkdy7hbgjxvyw8wril";
};
propagatedBuildInputs = [ pythonPackages."Distutils2-1.0a4" ];
doCheck = false;
meta = {
homepage = https://github.com/garbas/pypi2nix;
description = "";
maintainers = [ stdenv.lib.maintainers.garbas ];
};
};
# packages defined elsewhere
blivet = callPackage ../development/python-modules/blivet { };