3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/intelhex/default.nix

29 lines
601 B
Nix
Raw Normal View History

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