Merge: matrix-synapse: 1.122.0 -> 1.123.0 (#378018)
[NixPkgs.git] / pkgs / development / python-modules / bincopy / default.nix
blob45fb979a72b500f95270e15f969d672afd374227
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   argparse-addons,
6   humanfriendly,
7   pyelftools,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "bincopy";
13   version = "20.0.0";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchPypi {
19     inherit pname version;
20     hash = "sha256-FM+0z5cie/Kx9bhWI99MdnrSGa/cn+BzLdLP3/RGr98=";
21   };
23   propagatedBuildInputs = [
24     argparse-addons
25     humanfriendly
26     pyelftools
27   ];
29   pythonImportsCheck = [ "bincopy" ];
31   meta = with lib; {
32     description = "Mangling of various file formats that conveys binary information (Motorola S-Record, Intel HEX, TI-TXT, ELF and binary files)";
33     mainProgram = "bincopy";
34     homepage = "https://github.com/eerimoq/bincopy";
35     license = licenses.mit;
36     maintainers = with maintainers; [
37       frogamic
38       sbruder
39     ];
40   };