tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
add python2nix
Domen Kožar
11 years ago
9daaa163
69c95e3f
+23
2 changed files
expand all
collapse all
unified
split
pkgs
tools
package-management
python2nix
default.nix
top-level
all-packages.nix
+21
pkgs/tools/package-management/python2nix/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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
inherit (python27Packages) recursivePthLoader;
3779
};
3780
0
0
3781
pythonDocs = recurseIntoAttrs (import ../development/interpreters/python/docs {
3782
inherit stdenv fetchurl lib;
3783
});
···
3778
inherit (python27Packages) recursivePthLoader;
3779
};
3780
3781
+
python2nix = callPackage ../tools/package-management/python2nix { };
3782
+
3783
pythonDocs = recurseIntoAttrs (import ../development/interpreters/python/docs {
3784
inherit stdenv fetchurl lib;
3785
});