python311Packages.bincopy: add format
- disable on unsupported Python releases
This commit is contained in:
parent
c84e70946b
commit
f1f50a29e9
@ -1,8 +1,18 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, argparse-addons, humanfriendly, pyelftools }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, argparse-addons
|
||||
, humanfriendly
|
||||
, pyelftools
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bincopy";
|
||||
version = "20.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -15,7 +25,9 @@ buildPythonPackage rec {
|
||||
pyelftools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "bincopy" ];
|
||||
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)";
|
||||
|
Loading…
Reference in New Issue
Block a user