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