nixpkgs/pkgs/development/python-modules/bincopy/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
714 B
Nix

{ lib, buildPythonPackage, fetchPypi, argparse-addons, humanfriendly, pyelftools }:
buildPythonPackage rec {
pname = "bincopy";
version = "17.14.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-X03nw3o9t63PPtxIM6Ij8zVtm/CL5y7G5DHJ8KzSnxg=";
};
propagatedBuildInputs = [
argparse-addons
humanfriendly
pyelftools
];
pythonImportsCheck = [ "bincopy" ];
meta = with lib; {
description = "Mangling of various file formats that conveys binary information (Motorola S-Record, Intel HEX, TI-TXT, ELF and binary files)";
homepage = "https://github.com/eerimoq/bincopy";
license = licenses.mit;
maintainers = with maintainers; [ frogamic sbruder ];
};
}