mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-13 16:53:53 +00:00
42 lines
829 B
Nix
42 lines
829 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
argparse-addons,
|
|
humanfriendly,
|
|
pyelftools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "bincopy";
|
|
version = "20.1.1";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-6UpJi5pKvnZwPDdyqtRm8VY7T8mAnaeWXxG8dwlAk7k=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
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 = [
|
|
];
|
|
};
|
|
})
|