at 24.11-pre 816 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "pex"; 11 version = "2.3.1"; 12 pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-0SZMkRYcIRObRUdEyAU+Jbiq0tFdqJIyGBtPOPP1RXU="; 19 }; 20 21 build-system = [ hatchling ]; 22 23 # A few more dependencies I don't want to handle right now... 24 doCheck = false; 25 26 pythonImportsCheck = [ "pex" ]; 27 28 meta = with lib; { 29 description = "Python library and tool for generating .pex (Python EXecutable) files"; 30 homepage = "https://github.com/pantsbuild/pex"; 31 changelog = "https://github.com/pantsbuild/pex/releases/tag/v${version}"; 32 license = licenses.asl20; 33 maintainers = with maintainers; [ 34 copumpkin 35 phaer 36 ]; 37 }; 38}