mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 17:23:57 +00:00
38 lines
803 B
Nix
38 lines
803 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
argparse-addons,
|
|
humanfriendly,
|
|
pyelftools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "bincopy";
|
|
version = "20.1.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-2KToy4Ltr7vjZ0FTN9GSbH2MRVYX5DvUsUVlN3K5uWU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
argparse-addons
|
|
humanfriendly
|
|
pyelftools
|
|
];
|
|
|
|
pythonImportsCheck = [ "bincopy" ];
|
|
|
|
meta = {
|
|
description = "Mangling of various file formats that conveys binary information (Motorola S-Record, Intel HEX, TI-TXT, ELF and binary files)";
|
|
mainProgram = "bincopy";
|
|
homepage = "https://github.com/eerimoq/bincopy";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
frogamic
|
|
];
|
|
};
|
|
})
|