pythonPackages.intelhex init at 2.1

This commit is contained in:
Peter Jones 2017-06-14 14:27:20 -07:00 committed by Frederik Rietdijk
parent 4f0d812abc
commit aa3f37ceed
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
}:
buildPythonPackage rec {
pname = "intelhex";
version = "2.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "0k5l1mn3gv1vb0jd24ygxksx8xqr57y1ivgyj37jsrwpzrp167kw";
};
patches = [
(fetchpatch {
url = https://github.com/bialix/intelhex/commit/f251aef214daa2116e15ff7f7dcec1639eb12d5b.patch;
sha256 = "02i15qjmcz7mwbwvyj3agl5y7098rag2iwypdilkaadhbslsl9b9";
})
];
meta = {
homepage = https://github.com/bialix/intelhex;
description = "Python library for Intel HEX files manipulations";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ pjones ];
};
}

View file

@ -216,6 +216,8 @@ in {
hdf5 = pkgs.hdf5-mpi;
};
intelhex = callPackage ../development/python-modules/intelhex { };
mpi4py = callPackage ../development/python-modules/mpi4py {
mpi = pkgs.openmpi;
};