add python2nix
This commit is contained in:
parent
69c95e3fdf
commit
9daaa16341
21
pkgs/tools/package-management/python2nix/default.nix
Normal file
21
pkgs/tools/package-management/python2nix/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchFromGitHub, pythonPackages }:
|
||||
|
||||
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
name = "python2nix-dev";
|
||||
|
||||
# TODO: change to upstream once https://github.com/proger/python2nix/pull/3 is merged
|
||||
src = fetchFromGitHub {
|
||||
owner = "iElectric";
|
||||
repo = "python2nix";
|
||||
rev = "734de5f680425c6298eff46481e5e717d6e141a9";
|
||||
sha256 = "09qpzml38rplbr7vhplhzy3iy5n9fd3ba5b9r9cp6d08sk5xidqf";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ requests pip setuptools ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
maintainers = [ maintainers.iElectric ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -3778,6 +3778,8 @@ let
|
||||
inherit (python27Packages) recursivePthLoader;
|
||||
};
|
||||
|
||||
python2nix = callPackage ../tools/package-management/python2nix { };
|
||||
|
||||
pythonDocs = recurseIntoAttrs (import ../development/interpreters/python/docs {
|
||||
inherit stdenv fetchurl lib;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user