Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.09 715 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, fetchurl 5}: 6 7buildPythonPackage rec { 8 pname = "intelhex"; 9 version = "2.1"; 10 name = "${pname}-${version}"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "0k5l1mn3gv1vb0jd24ygxksx8xqr57y1ivgyj37jsrwpzrp167kw"; 15 }; 16 17 patches = [ 18 (fetchurl { 19 url = https://github.com/bialix/intelhex/commit/f251aef214daa2116e15ff7f7dcec1639eb12d5b.patch; 20 sha256 = "02i15qjmcz7mwbwvyj3agl5y7098rag2iwypdilkaadhbslsl9b9"; 21 }) 22 ]; 23 24 meta = { 25 homepage = https://github.com/bialix/intelhex; 26 description = "Python library for Intel HEX files manipulations"; 27 license = lib.licenses.bsd3; 28 maintainers = with lib.maintainers; [ pjones ]; 29 }; 30}