pythonPackages.intelhex init at 2.1
This commit is contained in:
parent
4f0d812abc
commit
aa3f37ceed
30
pkgs/development/python-modules/intelhex/default.nix
Normal file
30
pkgs/development/python-modules/intelhex/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -216,6 +216,8 @@ in {
|
||||
hdf5 = pkgs.hdf5-mpi;
|
||||
};
|
||||
|
||||
intelhex = callPackage ../development/python-modules/intelhex { };
|
||||
|
||||
mpi4py = callPackage ../development/python-modules/mpi4py {
|
||||
mpi = pkgs.openmpi;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user