lol

add python2nix

+23
+21
pkgs/tools/package-management/python2nix/default.nix
··· 1 + { stdenv, fetchFromGitHub, pythonPackages }: 2 + 3 + 4 + pythonPackages.buildPythonPackage rec { 5 + name = "python2nix-dev"; 6 + 7 + # TODO: change to upstream once https://github.com/proger/python2nix/pull/3 is merged 8 + src = fetchFromGitHub { 9 + owner = "iElectric"; 10 + repo = "python2nix"; 11 + rev = "734de5f680425c6298eff46481e5e717d6e141a9"; 12 + sha256 = "09qpzml38rplbr7vhplhzy3iy5n9fd3ba5b9r9cp6d08sk5xidqf"; 13 + }; 14 + 15 + propagatedBuildInputs = with pythonPackages; [ requests pip setuptools ]; 16 + 17 + meta = with stdenv.lib; { 18 + maintainers = [ maintainers.iElectric ]; 19 + platforms = platforms.all; 20 + }; 21 + }
+2
pkgs/top-level/all-packages.nix
··· 3778 3778 inherit (python27Packages) recursivePthLoader; 3779 3779 }; 3780 3780 3781 + python2nix = callPackage ../tools/package-management/python2nix { }; 3782 + 3781 3783 pythonDocs = recurseIntoAttrs (import ../development/interpreters/python/docs { 3782 3784 inherit stdenv fetchurl lib; 3783 3785 });