at 24.11-pre 1.1 kB view raw
1{ 2 stdenv, 3 lib, 4 buildPythonPackage, 5 fetchPypi, 6 click, 7 pip, 8 setuptools, 9 wheel, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "shiv"; 15 version = "1.0.6"; 16 format = "pyproject"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-4iJ2gTWXe+vftcDRp9/qKVV8VmtY0wDVuMJTXvIj13Y="; 21 }; 22 23 propagatedBuildInputs = [ 24 click 25 pip 26 setuptools 27 wheel 28 ]; 29 30 pythonImportsCheck = [ "shiv" ]; 31 32 nativeCheckInputs = [ pytestCheckHook ]; 33 34 disabledTests = [ 35 # AssertionError 36 "test_hello_world" 37 "test_extend_pythonpath" 38 "test_multiple_site_packages" 39 "test_no_entrypoint" 40 "test_results_are_binary_identical_with_env_and_build_id" 41 "test_preamble" 42 "test_preamble_no_pip" 43 "test_alternate_root" 44 "test_alternate_root_environment_variable" 45 ]; 46 47 meta = with lib; { 48 description = "Command line utility for building fully self contained Python zipapps"; 49 homepage = "https://github.com/linkedin/shiv"; 50 license = licenses.bsd2; 51 maintainers = with maintainers; [ prusnak ]; 52 }; 53}