nixpkgs/pkgs/development/python-modules/intelhex/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

29 lines
605 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "intelhex";
version = "2.3.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-iStzYacZ9JRSN9qMz3VOlRPbMvViiFJ4WuoQjc0lAJM=";
};
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "intelhex/test.py" ];
pythonImportsCheck = [ "intelhex" ];
meta = {
homepage = "https://github.com/bialix/intelhex";
description = "Python library for Intel HEX files manipulations";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ pjones ];
};
}