diff options
author | Peter Jones <pjones@devalot.com> | 2017-06-14 14:27:20 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-06-23 10:54:48 +0200 |
commit | aa3f37ceed582c8cb6e871db528b7216d17b474f (patch) | |
tree | 32eaf1c17c8c3d51565498d1019fc02a563c244c /pkgs/development/python-modules/intelhex | |
parent | 4f0d812abcbae2016967e9effb4e76a825b246d4 (diff) | |
download | nixlib-aa3f37ceed582c8cb6e871db528b7216d17b474f.tar nixlib-aa3f37ceed582c8cb6e871db528b7216d17b474f.tar.gz nixlib-aa3f37ceed582c8cb6e871db528b7216d17b474f.tar.bz2 nixlib-aa3f37ceed582c8cb6e871db528b7216d17b474f.tar.lz nixlib-aa3f37ceed582c8cb6e871db528b7216d17b474f.tar.xz nixlib-aa3f37ceed582c8cb6e871db528b7216d17b474f.tar.zst nixlib-aa3f37ceed582c8cb6e871db528b7216d17b474f.zip |
pythonPackages.intelhex init at 2.1
Diffstat (limited to 'pkgs/development/python-modules/intelhex')
-rw-r--r-- | pkgs/development/python-modules/intelhex/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/intelhex/default.nix b/pkgs/development/python-modules/intelhex/default.nix new file mode 100644 index 000000000000..9d0a7d08c0cf --- /dev/null +++ b/pkgs/development/python-modules/intelhex/default.nix @@ -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 ]; + }; +} |