1{ lib, buildPythonPackage, fetchPypi, argparse-addons, humanfriendly, pyelftools }: 2 3buildPythonPackage rec { 4 pname = "bincopy"; 5 version = "17.11.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "sha256-rk7jYr9jUz7TUckoYkv74rr5D9fJLD3h7UFBH0XeleE="; 10 }; 11 12 propagatedBuildInputs = [ 13 argparse-addons 14 humanfriendly 15 pyelftools 16 ]; 17 18 pythonImportsCheck = [ "bincopy" ]; 19 20 meta = with lib; { 21 description = "Mangling of various file formats that conveys binary information (Motorola S-Record, Intel HEX, TI-TXT, ELF and binary files)"; 22 homepage = "https://github.com/eerimoq/bincopy"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ frogamic sbruder ]; 25 }; 26}