1{ stdenv
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "pex";
8 version = "1.6.2";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "724588ce982222a3020ad3de50e0912915815175771b35e59fe06fdf1db35415";
13 };
14
15 prePatch = ''
16 substituteInPlace setup.py --replace 'SETUPTOOLS_REQUIREMENT,' '"setuptools"'
17 '';
18
19 # A few more dependencies I don't want to handle right now...
20 doCheck = false;
21
22 meta = with stdenv.lib; {
23 description = "A library and tool for generating .pex (Python EXecutable) files";
24 homepage = "https://github.com/pantsbuild/pex";
25 license = licenses.asl20;
26 maintainers = with maintainers; [ copumpkin ];
27 broken = true;
28 };
29
30}