emacs.scm 231 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2014 Taylan Ulrich Bayirli/Kammer <taylanbayirli@gmail.com>
  3. ;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
  4. ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
  5. ;;; Copyright © 2014, 2015, 2016, 2017 Alex Kost <alezost@gmail.com>
  6. ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
  7. ;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus <rekado@elephly.net>
  8. ;;; Copyright © 2016, 2017 Chris Marusich <cmmarusich@gmail.com>
  9. ;;; Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
  10. ;;; Copyright © 2016 Adriano Peluso <catonano@gmail.com>
  11. ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
  12. ;;; Copyright © 2016 David Thompson <davet@gnu.org>
  13. ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
  14. ;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
  15. ;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
  16. ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
  17. ;;; Copyright © 2016, 2017 Nicolas Goaziou <mail@nicolasgoaziou.fr>
  18. ;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
  19. ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
  20. ;;; Copyright © 2017 Christopher Baines <mail@cbaines.net>
  21. ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
  22. ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
  23. ;;; Copyright © 2017 Vasile Dumitrascu <va511e@yahoo.com>
  24. ;;; Copyright © 2017 Kyle Meyer <kyle@kyleam.com>
  25. ;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
  26. ;;; Copyright © 2017 George Clemmer <myglc2@gmail.com>
  27. ;;; Copyright © 2017 Feng Shu <tumashu@163.com>
  28. ;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
  29. ;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com>
  30. ;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
  31. ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
  32. ;;;
  33. ;;; This file is part of GNU Guix.
  34. ;;;
  35. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  36. ;;; under the terms of the GNU General Public License as published by
  37. ;;; the Free Software Foundation; either version 3 of the License, or (at
  38. ;;; your option) any later version.
  39. ;;;
  40. ;;; GNU Guix is distributed in the hope that it will be useful, but
  41. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  42. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  43. ;;; GNU General Public License for more details.
  44. ;;;
  45. ;;; You should have received a copy of the GNU General Public License
  46. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  47. (define-module (gnu packages emacs)
  48. #:use-module ((guix licenses) #:prefix license:)
  49. #:use-module (guix packages)
  50. #:use-module (guix download)
  51. #:use-module (guix git-download)
  52. #:use-module (guix gexp)
  53. #:use-module (guix monads)
  54. #:use-module (guix store)
  55. #:use-module (guix build-system gnu)
  56. #:use-module (guix build-system emacs)
  57. #:use-module (guix build-system glib-or-gtk)
  58. #:use-module (guix build-system trivial)
  59. #:use-module (gnu packages)
  60. #:use-module (gnu packages audio)
  61. #:use-module (gnu packages bash)
  62. #:use-module (gnu packages code)
  63. #:use-module (gnu packages guile)
  64. #:use-module (gnu packages gtk)
  65. #:use-module (gnu packages gnome)
  66. #:use-module (gnu packages ncurses)
  67. #:use-module (gnu packages python)
  68. #:use-module (gnu packages tex)
  69. #:use-module (gnu packages texinfo)
  70. #:use-module (gnu packages tcl)
  71. #:use-module (gnu packages tls)
  72. #:use-module (gnu packages pkg-config)
  73. #:use-module (gnu packages xorg)
  74. #:use-module (gnu packages lesstif)
  75. #:use-module (gnu packages image)
  76. #:use-module (gnu packages linux)
  77. #:use-module (gnu packages version-control)
  78. #:use-module (gnu packages imagemagick)
  79. #:use-module (gnu packages w3m)
  80. #:use-module (gnu packages wget)
  81. #:use-module (gnu packages autotools)
  82. #:use-module (gnu packages base)
  83. #:use-module (gnu packages compression)
  84. #:use-module (gnu packages xml)
  85. #:use-module (gnu packages glib)
  86. #:use-module (gnu packages acl)
  87. #:use-module (gnu packages package-management)
  88. #:use-module (gnu packages perl)
  89. #:use-module (gnu packages pdf)
  90. #:use-module (gnu packages scheme)
  91. #:use-module (gnu packages statistics)
  92. #:use-module (gnu packages xiph)
  93. #:use-module (gnu packages mp3)
  94. #:use-module (gnu packages gettext)
  95. #:use-module (gnu packages fribidi)
  96. #:use-module (gnu packages gd)
  97. #:use-module (gnu packages fontutils)
  98. #:use-module (guix utils)
  99. #:use-module (srfi srfi-1)
  100. #:use-module (ice-9 match))
  101. (define-public emacs
  102. (package
  103. (name "emacs")
  104. (version "25.3")
  105. (source (origin
  106. (method url-fetch)
  107. (uri (string-append "mirror://gnu/emacs/emacs-"
  108. version ".tar.xz"))
  109. (sha256
  110. (base32
  111. "02y00y9q42g1iqgz5qhmsja75hwxd88yrn9zp14lanay0zkwafi5"))
  112. (patches (search-patches "emacs-exec-path.patch"
  113. "emacs-fix-scheme-indent-function.patch"
  114. "emacs-source-date-epoch.patch"))
  115. (modules '((guix build utils)))
  116. (snippet
  117. ;; Delete the bundled byte-compiled elisp files and
  118. ;; generated autoloads.
  119. '(with-directory-excursion "lisp"
  120. (for-each delete-file
  121. (append (find-files "." "\\.elc$")
  122. (find-files "." "loaddefs\\.el$")
  123. ;; This is the only "autoloads" file that
  124. ;; does not have "*loaddefs.el" name.
  125. '("eshell/esh-groups.el")))
  126. ;; Make sure Tramp looks for binaries in the right places on
  127. ;; remote GuixSD machines, where 'getconf PATH' returns
  128. ;; something bogus.
  129. (substitute* "net/tramp-sh.el"
  130. ;; Patch the line after "(defcustom tramp-remote-path".
  131. (("\\(tramp-default-remote-path")
  132. (format #f "(tramp-default-remote-path ~s ~s ~s ~s "
  133. "~/.guix-profile/bin" "~/.guix-profile/sbin"
  134. "/run/current-system/profile/bin"
  135. "/run/current-system/profile/sbin")))))))
  136. (build-system glib-or-gtk-build-system)
  137. (arguments
  138. `(#:phases
  139. (modify-phases %standard-phases
  140. (add-before 'configure 'fix-/bin/pwd
  141. (lambda _
  142. ;; Use `pwd', not `/bin/pwd'.
  143. (substitute* (find-files "." "^Makefile\\.in$")
  144. (("/bin/pwd")
  145. "pwd"))))
  146. (add-after 'install 'install-site-start
  147. ;; Use 'guix-emacs' in "site-start.el". This way, Emacs packages
  148. ;; provided by Guix and installed in
  149. ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSION are
  150. ;; automatically found.
  151. (lambda* (#:key inputs outputs #:allow-other-keys)
  152. (let* ((out (assoc-ref outputs "out"))
  153. (lisp-dir (string-append out "/share/emacs/site-lisp")))
  154. (copy-file (assoc-ref inputs "guix-emacs.el")
  155. (string-append lisp-dir "/guix-emacs.el"))
  156. (with-output-to-file (string-append lisp-dir "/site-start.el")
  157. (lambda ()
  158. (display
  159. (string-append "(when (require 'guix-emacs nil t)\n"
  160. " (guix-emacs-autoload-packages))\n"))))
  161. #t))))))
  162. (inputs
  163. `(("gnutls" ,gnutls)
  164. ("ncurses" ,ncurses)
  165. ;; TODO: Add the optional dependencies.
  166. ("libx11" ,libx11)
  167. ("gtk+" ,gtk+)
  168. ("libxft" ,libxft)
  169. ("libtiff" ,libtiff)
  170. ("giflib" ,giflib)
  171. ("libjpeg" ,libjpeg-8)
  172. ("imagemagick" ,imagemagick)
  173. ("acl" ,acl)
  174. ;; When looking for libpng `configure' links with `-lpng -lz', so we
  175. ;; must also provide zlib as an input.
  176. ("libpng" ,libpng)
  177. ("zlib" ,zlib)
  178. ("librsvg" ,librsvg)
  179. ("libxpm" ,libxpm)
  180. ("libxml2" ,libxml2)
  181. ("libice" ,libice)
  182. ("libsm" ,libsm)
  183. ("alsa-lib" ,alsa-lib)
  184. ("dbus" ,dbus)
  185. ;; multilingualization support
  186. ("libotf" ,libotf)
  187. ("m17n-lib" ,m17n-lib)))
  188. (native-inputs
  189. `(("guix-emacs.el" ,(search-auxiliary-file "emacs/guix-emacs.el"))
  190. ("pkg-config" ,pkg-config)
  191. ("texinfo" ,texinfo)))
  192. (native-search-paths
  193. (list (search-path-specification
  194. (variable "INFOPATH")
  195. (files '("share/info")))))
  196. (home-page "https://www.gnu.org/software/emacs/")
  197. (synopsis "The extensible, customizable, self-documenting text editor")
  198. (description
  199. "GNU Emacs is an extensible and highly customizable text editor. It is
  200. based on an Emacs Lisp interpreter with extensions for text editing. Emacs
  201. has been extended in essentially all areas of computing, giving rise to a
  202. vast array of packages supporting, e.g., email, IRC and XMPP messaging,
  203. spreadsheets, remote server editing, and much more. Emacs includes extensive
  204. documentation on all aspects of the system, from basic editing to writing
  205. large Lisp programs. It has full Unicode support for nearly all human
  206. languages.")
  207. (license license:gpl3+)))
  208. (define-public emacs-minimal
  209. ;; This is the version that you should use as an input to packages that just
  210. ;; need to byte-compile .el files.
  211. (package (inherit emacs)
  212. (name "emacs-minimal")
  213. (synopsis "The extensible text editor (used only for byte-compilation)")
  214. (build-system gnu-build-system)
  215. (arguments
  216. (substitute-keyword-arguments (package-arguments emacs)
  217. ((#:phases phases)
  218. `(modify-phases ,phases
  219. (delete 'install-site-start)))))
  220. (inputs
  221. `(("ncurses" ,ncurses)))
  222. (native-inputs
  223. `(("pkg-config" ,pkg-config)))))
  224. (define-public emacs-no-x
  225. (package (inherit emacs)
  226. (name "emacs-no-x")
  227. (synopsis "The extensible, customizable, self-documenting text
  228. editor (console only)")
  229. (build-system gnu-build-system)
  230. (inputs (fold alist-delete
  231. (package-inputs emacs)
  232. '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg"
  233. "libpng" "librsvg" "libxpm" "libice" "libsm"
  234. ;; D-Bus depends on libx11, so remove it as well.
  235. "dbus")))))
  236. (define-public emacs-no-x-toolkit
  237. (package (inherit emacs)
  238. (name "emacs-no-x-toolkit")
  239. (synopsis "The extensible, customizable, self-documenting text
  240. editor (without an X toolkit)" )
  241. (build-system gnu-build-system)
  242. (inputs (append `(("inotify-tools" ,inotify-tools))
  243. (alist-delete "gtk+" (package-inputs emacs))))
  244. (arguments (append '(#:configure-flags '("--with-x-toolkit=no"))
  245. (package-arguments emacs)))))
  246. (define-public guile-emacs
  247. (package (inherit emacs)
  248. (name "guile-emacs")
  249. (version "20150512.41120e0")
  250. (source (origin
  251. (method git-fetch)
  252. (uri (git-reference
  253. (url "git://git.hcoop.net/git/bpt/emacs.git")
  254. (commit "41120e0f595b16387eebfbf731fff70481de1b4b")))
  255. (sha256
  256. (base32
  257. "0lvcvsz0f4mawj04db35p1dvkffdqkz8pkhc0jzh9j9x2i63kcz6"))))
  258. (native-inputs
  259. `(("autoconf" ,autoconf)
  260. ("automake" ,automake)
  261. ("guile" ,guile-for-guile-emacs)
  262. ,@(package-native-inputs emacs)))
  263. (arguments
  264. (substitute-keyword-arguments `(;; Build fails if we allow parallel build.
  265. #:parallel-build? #f
  266. ;; Tests aren't passing for now.
  267. #:tests? #f
  268. ,@(package-arguments emacs))
  269. ((#:phases phases)
  270. `(modify-phases ,phases
  271. (add-after 'unpack 'autogen
  272. (lambda _
  273. (zero? (system* "sh" "autogen.sh"))))))))))
  274. ;;;
  275. ;;; Emacs hacking.
  276. ;;;
  277. (define-public geiser
  278. (package
  279. (name "geiser")
  280. (version "0.9")
  281. (source (origin
  282. (method url-fetch)
  283. (uri (string-append "mirror://savannah/geiser/" version
  284. "/geiser-" version ".tar.gz"))
  285. (sha256
  286. (base32
  287. "0phz9d8wjk4p13vqannv0003fwh8qqrp0gfzcs2hgq1mrmv1srss"))))
  288. (build-system gnu-build-system)
  289. (arguments
  290. '(#:phases (alist-cons-after
  291. 'install 'post-install
  292. (lambda* (#:key outputs #:allow-other-keys)
  293. (symlink "geiser-install.el"
  294. (string-append (assoc-ref outputs "out")
  295. "/share/emacs/site-lisp/"
  296. "geiser-autoloads.el")))
  297. %standard-phases)))
  298. (inputs `(("guile" ,guile-2.0)))
  299. (native-inputs `(("emacs" ,emacs-minimal)))
  300. (home-page "http://nongnu.org/geiser/")
  301. (synopsis "Collection of Emacs modes for Guile and Racket hacking")
  302. (description
  303. "Geiser is a collection of Emacs major and minor modes that conspire with
  304. one or more Scheme implementations to keep the Lisp Machine Spirit alive. The
  305. continuously running Scheme interpreter takes the center of the stage in
  306. Geiser. A bundle of Elisp shims orchestrates the dialog between the Scheme
  307. implementation, Emacs and, ultimately, the schemer, giving them access to live
  308. metadata.")
  309. (license license:bsd-3)))
  310. (define-public geiser-next
  311. ;; This has become "geiser".
  312. (deprecated-package "geiser-next" geiser))
  313. (define-public paredit
  314. (package
  315. (name "emacs-paredit")
  316. (version "24")
  317. (source (origin
  318. (method url-fetch)
  319. (uri (string-append "http://mumble.net/~campbell/emacs/paredit-"
  320. version ".el"))
  321. (sha256
  322. (base32
  323. "0pp3n8q6kc70blqsaw0zlzp6bc327dpgdrjr0cnh7hqg1lras7ka"))))
  324. (build-system emacs-build-system)
  325. (home-page "http://mumble.net/~campbell/emacs/paredit/")
  326. (synopsis "Emacs minor mode for editing parentheses")
  327. (description
  328. "ParEdit (paredit.el) is a minor mode for performing structured editing
  329. of S-expression data. The typical example of this would be Lisp or Scheme
  330. source code.
  331. ParEdit helps **keep parentheses balanced** and adds many keys for moving
  332. S-expressions and moving around in S-expressions. Its behavior can be jarring
  333. for those who may want transient periods of unbalanced parentheses, such as
  334. when typing parentheses directly or commenting out code line by line.")
  335. (license license:gpl3+)))
  336. (define-public paredit/old-name
  337. (deprecated-package "paredit" paredit))
  338. (define-public git-modes
  339. (package
  340. (name "git-modes")
  341. (version "1.2.4")
  342. (source (origin
  343. (method url-fetch)
  344. (uri (string-append
  345. "https://github.com/magit/git-modes/archive/"
  346. version ".tar.gz"))
  347. (file-name (string-append name "-" version ".tar.gz"))
  348. (sha256
  349. (base32
  350. "0xxrmf0jnyljxvllc22qa0v8lgi4k1ldnayjm5hf68m25jsr378l"))))
  351. (build-system emacs-build-system)
  352. (home-page "https://github.com/magit/git-modes")
  353. (synopsis "Emacs major modes for Git configuration files")
  354. (description
  355. "This package provides Emacs major modes for editing various Git
  356. configuration files, such as .gitattributes, .gitignore, and .git/config.")
  357. (license license:gpl3+)))
  358. (define-public emacs-with-editor
  359. (package
  360. (name "emacs-with-editor")
  361. (version "2.5.10")
  362. (source (origin
  363. (method url-fetch)
  364. (uri (string-append
  365. "https://github.com/magit/with-editor/archive/v"
  366. version ".tar.gz"))
  367. (file-name (string-append name "-" version ".tar.gz"))
  368. (sha256
  369. (base32
  370. "0lsxa1hghybkzvqhqvvym3hxbyp9vjcnnpb9j800z0vyhbnlka67"))))
  371. (build-system emacs-build-system)
  372. (propagated-inputs
  373. `(("emacs-dash" ,emacs-dash)))
  374. (home-page "https://github.com/magit/with-editor")
  375. (synopsis "Emacs library for using Emacsclient as EDITOR")
  376. (description
  377. "This package provides an Emacs library to use the Emacsclient as
  378. @code{$EDITOR} of child processes, making sure they know how to call home.
  379. For remote processes a substitute is provided, which communicates with Emacs
  380. on stdout instead of using a socket as the Emacsclient does.")
  381. (license license:gpl3+)))
  382. (define-public magit
  383. (package
  384. (name "magit")
  385. (version "2.10.3")
  386. (source (origin
  387. (method url-fetch)
  388. (uri (string-append
  389. "https://github.com/magit/magit/releases/download/"
  390. version "/" name "-" version ".tar.gz"))
  391. (sha256
  392. (base32
  393. "03ln65ss420gc3h4pi56dayd1p163xfxrxrd9fkb9xnkl8mjglqk"))))
  394. (build-system gnu-build-system)
  395. (native-inputs `(("texinfo" ,texinfo)
  396. ("emacs" ,emacs-minimal)))
  397. (inputs
  398. `(("git" ,git)
  399. ("perl" ,perl)))
  400. (propagated-inputs
  401. `(("dash" ,emacs-dash)
  402. ("with-editor" ,emacs-with-editor)))
  403. (arguments
  404. `(#:modules ((guix build gnu-build-system)
  405. (guix build utils)
  406. (guix build emacs-utils))
  407. #:imported-modules (,@%gnu-build-system-modules
  408. (guix build emacs-utils))
  409. #:test-target "test"
  410. #:tests? #f ; tests are not included in the release
  411. #:make-flags
  412. (list (string-append "PREFIX=" %output)
  413. ;; Don't put .el files in a sub-directory.
  414. (string-append "lispdir=" %output "/share/emacs/site-lisp")
  415. (string-append "DASH_DIR="
  416. (assoc-ref %build-inputs "dash")
  417. "/share/emacs/site-lisp/guix.d/dash-"
  418. ,(package-version emacs-dash))
  419. (string-append "WITH_EDITOR_DIR="
  420. (assoc-ref %build-inputs "with-editor")
  421. "/share/emacs/site-lisp/guix.d/with-editor-"
  422. ,(package-version emacs-with-editor)))
  423. #:phases
  424. (modify-phases %standard-phases
  425. (delete 'configure)
  426. (add-before
  427. 'build 'patch-exec-paths
  428. (lambda* (#:key inputs #:allow-other-keys)
  429. (let ((git (assoc-ref inputs "git"))
  430. (perl (assoc-ref inputs "perl")))
  431. (emacs-substitute-variables "lisp/magit-git.el"
  432. ("magit-git-executable" (string-append git "/bin/git")))
  433. (substitute* "lisp/magit-sequence.el"
  434. (("perl") (string-append perl "/bin/perl")))
  435. #t))))))
  436. (home-page "http://magit.github.io/")
  437. (synopsis "Emacs interface for the Git version control system")
  438. (description
  439. "With Magit, you can inspect and modify your Git repositories with Emacs.
  440. You can review and commit the changes you have made to the tracked files, for
  441. example, and you can browse the history of past changes. There is support for
  442. cherry picking, reverting, merging, rebasing, and other common Git
  443. operations.")
  444. (license license:gpl3+)))
  445. (define-public magit-svn
  446. (package
  447. (name "magit-svn")
  448. (version "2.1.1")
  449. (source (origin
  450. (method url-fetch)
  451. (uri (string-append
  452. "https://github.com/magit/magit-svn/archive/"
  453. version ".tar.gz"))
  454. (file-name (string-append name "-" version ".tar.gz"))
  455. (sha256
  456. (base32
  457. "04y88j7q9h8xjbx5dbick6n5nr1522sn9i1znp0qwk3vjb4b5mzz"))))
  458. (build-system trivial-build-system)
  459. (native-inputs `(("emacs" ,emacs-minimal)
  460. ("tar" ,tar)
  461. ("gzip" ,gzip)))
  462. (propagated-inputs `(("dash" ,emacs-dash)
  463. ("magit" ,magit)))
  464. (arguments
  465. `(#:modules ((guix build utils)
  466. (guix build emacs-utils))
  467. #:builder
  468. (begin
  469. (use-modules (guix build utils)
  470. (guix build emacs-utils))
  471. (let* ((tar (string-append (assoc-ref %build-inputs "tar")
  472. "/bin/tar"))
  473. (PATH (string-append (assoc-ref %build-inputs "gzip")
  474. "/bin"))
  475. (emacs (string-append (assoc-ref %build-inputs "emacs")
  476. "/bin/emacs"))
  477. (magit (string-append (assoc-ref %build-inputs "magit")
  478. "/share/emacs/site-lisp"))
  479. (dash (string-append (assoc-ref %build-inputs "dash")
  480. "/share/emacs/site-lisp/guix.d/dash-"
  481. ,(package-version emacs-dash)))
  482. (source (assoc-ref %build-inputs "source"))
  483. (lisp-dir (string-append %output "/share/emacs/site-lisp")))
  484. (setenv "PATH" PATH)
  485. (system* tar "xvf" source)
  486. (install-file (string-append ,name "-" ,version "/magit-svn.el")
  487. lisp-dir)
  488. (with-directory-excursion lisp-dir
  489. (parameterize ((%emacs emacs))
  490. (emacs-generate-autoloads ,name lisp-dir)
  491. (setenv "EMACSLOADPATH"
  492. (string-append ":" magit ":" dash))
  493. (emacs-batch-eval '(byte-compile-file "magit-svn.el"))))))))
  494. (home-page "https://github.com/magit/magit-svn")
  495. (synopsis "Git-SVN extension to Magit")
  496. (description
  497. "This package is an extension to Magit, the Git Emacs mode, providing
  498. support for Git-SVN.")
  499. (license license:gpl3+)))
  500. (define-public emacs-magit-popup
  501. (package
  502. (name "emacs-magit-popup")
  503. (version (package-version magit))
  504. (source (origin
  505. (method url-fetch)
  506. (uri (string-append
  507. "https://raw.githubusercontent.com/magit/magit/"
  508. version "/lisp/magit-popup.el"))
  509. (file-name (string-append "magit-popup-" version ".el"))
  510. (sha256
  511. (base32
  512. "08b6ypfiq8zavjfq0wcdh26xziwq7rqvvv3lfpib9101146kzx6d"))))
  513. (build-system emacs-build-system)
  514. (propagated-inputs
  515. `(("emacs-dash" ,emacs-dash)))
  516. (home-page "https://github.com/magit/magit")
  517. (synopsis "Define prefix-infix-suffix command combos")
  518. (description
  519. "This library implements a generic interface for toggling switches and
  520. setting options and then invoking an Emacs command which does something with
  521. these arguments. The prototypical use is for the command to call an external
  522. process, passing on the arguments as command line arguments.")
  523. (license license:gpl3+)))
  524. (define-public haskell-mode
  525. (package
  526. (name "haskell-mode")
  527. (version "16.1")
  528. (source (origin
  529. (method url-fetch)
  530. (file-name (string-append name "-" version ".tar.gz"))
  531. (uri (string-append
  532. "https://github.com/haskell/haskell-mode/archive/v"
  533. version ".tar.gz"))
  534. (sha256
  535. (base32 "0g6lcjw7lcgavv3yrd8xjcyqgfyjl787y32r1z14amw2f009m78h"))))
  536. (inputs
  537. `(("emacs-el-search" ,emacs-el-search) ; for tests
  538. ("emacs-stream" ,emacs-stream))) ; for tests
  539. (propagated-inputs
  540. `(("emacs-dash" ,emacs-dash)))
  541. (native-inputs
  542. `(("emacs" ,emacs-minimal)
  543. ("texinfo" ,texinfo)))
  544. (build-system gnu-build-system)
  545. (arguments
  546. `(#:make-flags (list (string-append "EMACS="
  547. (assoc-ref %build-inputs "emacs")
  548. "/bin/emacs"))
  549. #:modules ((ice-9 match)
  550. (srfi srfi-26)
  551. ,@%gnu-build-system-modules)
  552. #:phases
  553. (modify-phases %standard-phases
  554. (delete 'configure)
  555. (add-before
  556. 'build 'pre-build
  557. (lambda* (#:key inputs #:allow-other-keys)
  558. (define (el-dir store-dir)
  559. (match (find-files store-dir)
  560. ((f1 f2 ...) (dirname f1))
  561. (_ "")))
  562. (let ((sh (string-append (assoc-ref inputs "bash") "/bin/sh")))
  563. (define emacs-prefix? (cut string-prefix? "emacs-" <>))
  564. (setenv "SHELL" "sh")
  565. (setenv "EMACSLOADPATH"
  566. (string-concatenate
  567. (map (match-lambda
  568. (((? emacs-prefix? name) . dir)
  569. (string-append (el-dir dir) ":"))
  570. (_ ""))
  571. inputs)))
  572. (substitute* (find-files "." "\\.el") (("/bin/sh") sh))
  573. (substitute* "tests/haskell-code-conventions.el"
  574. ;; Function name recently changed in "emacs-el-search".
  575. (("el-search--search-pattern") "el-search-forward")
  576. ;; Don't contact home.
  577. (("\\(when \\(>= emacs-major-version 25\\)")
  578. "(require 'el-search) (when nil"))
  579. #t)))
  580. (replace
  581. 'install
  582. (lambda* (#:key outputs #:allow-other-keys)
  583. (let* ((out (assoc-ref outputs "out"))
  584. (el-dir (string-append out "/share/emacs/site-lisp"))
  585. (doc (string-append
  586. out "/share/doc/haskell-mode-" ,version))
  587. (info (string-append out "/share/info")))
  588. (define (copy-to-dir dir files)
  589. (for-each (lambda (f)
  590. (install-file f dir))
  591. files))
  592. (with-directory-excursion "doc"
  593. (unless (zero? (system* "makeinfo" "haskell-mode.texi"))
  594. (error "makeinfo failed"))
  595. (install-file "haskell-mode.info" info))
  596. (copy-to-dir doc '("CONTRIBUTING.md" "NEWS" "README.md"))
  597. (copy-to-dir el-dir (find-files "." "\\.elc?"))
  598. ;; These are part of other packages.
  599. (with-directory-excursion el-dir
  600. (for-each delete-file '("dash.el" "ert.el")))
  601. #t))))))
  602. (home-page "https://github.com/haskell/haskell-mode")
  603. (synopsis "Haskell mode for Emacs")
  604. (description
  605. "This is an Emacs mode for editing, debugging and developing Haskell
  606. programs.")
  607. (license license:gpl3+)))
  608. (define-public flycheck
  609. (package
  610. (name "emacs-flycheck")
  611. (version "30")
  612. (source (origin
  613. (method url-fetch)
  614. (uri (string-append
  615. "https://github.com/flycheck/flycheck/releases/download/"
  616. version "/flycheck-" version ".tar"))
  617. (sha256
  618. (base32
  619. "1rxzkaqsj48z3nska5wsgwafvwkam014dzqd32baycmxjl0jxvy7"))))
  620. (build-system emacs-build-system)
  621. (propagated-inputs
  622. `(("emacs-dash" ,emacs-dash)))
  623. (home-page "https://www.flycheck.org")
  624. (synopsis "On-the-fly syntax checking")
  625. (description
  626. "This package provides on-the-fly syntax checking for GNU Emacs. It is a
  627. replacement for the older Flymake extension which is part of GNU Emacs, with
  628. many improvements and additional features.
  629. Flycheck provides fully-automatic, fail-safe, on-the-fly background syntax
  630. checking for over 30 programming and markup languages with more than 70
  631. different tools. It highlights errors and warnings inline in the buffer, and
  632. provides an optional IDE-like error list.")
  633. (license license:gpl3+))) ;+GFDLv1.3+ for the manual
  634. ;;;
  635. ;;; Web browsing.
  636. ;;;
  637. (define-public emacs-w3m
  638. (package
  639. (name "emacs-w3m")
  640. (version "1.4.538+0.20141022")
  641. (source (origin
  642. (method url-fetch)
  643. (uri (string-append "mirror://debian/pool/main/w/w3m-el/w3m-el_"
  644. version ".orig.tar.gz"))
  645. (sha256
  646. (base32
  647. "0zfxmq86pwk64yv0426gnjrvhjrgrjqn08sdcdhmmjmfpmqvm79y"))))
  648. (build-system gnu-build-system)
  649. (native-inputs `(("autoconf" ,autoconf)
  650. ("emacs" ,emacs-minimal)))
  651. (inputs `(("w3m" ,w3m)
  652. ("imagemagick" ,imagemagick)))
  653. (arguments
  654. `(#:modules ((guix build gnu-build-system)
  655. (guix build utils)
  656. (guix build emacs-utils))
  657. #:imported-modules (,@%gnu-build-system-modules
  658. (guix build emacs-utils))
  659. #:configure-flags
  660. (let ((out (assoc-ref %outputs "out")))
  661. (list (string-append "--with-lispdir="
  662. out "/share/emacs/site-lisp")
  663. (string-append "--with-icondir="
  664. out "/share/images/emacs-w3m")
  665. ;; Leave .el files uncompressed, otherwise GC can't
  666. ;; identify run-time dependencies. See
  667. ;; <http://lists.gnu.org/archive/html/guix-devel/2015-12/msg00208.html>
  668. "--without-compress-install"))
  669. #:tests? #f ; no check target
  670. #:phases
  671. (modify-phases %standard-phases
  672. (add-after 'unpack 'autoconf
  673. (lambda _
  674. (zero? (system* "autoconf"))))
  675. (add-before 'build 'patch-exec-paths
  676. (lambda* (#:key inputs outputs #:allow-other-keys)
  677. (let ((out (assoc-ref outputs "out"))
  678. (w3m (assoc-ref inputs "w3m"))
  679. (imagemagick (assoc-ref inputs "imagemagick"))
  680. (coreutils (assoc-ref inputs "coreutils")))
  681. (emacs-substitute-variables "w3m.el"
  682. ("w3m-command" (string-append w3m "/bin/w3m"))
  683. ("w3m-touch-command"
  684. (string-append coreutils "/bin/touch"))
  685. ("w3m-image-viewer"
  686. (string-append imagemagick "/bin/display"))
  687. ("w3m-icon-directory"
  688. (string-append out "/share/images/emacs-w3m")))
  689. (emacs-substitute-variables "w3m-image.el"
  690. ("w3m-imagick-convert-program"
  691. (string-append imagemagick "/bin/convert"))
  692. ("w3m-imagick-identify-program"
  693. (string-append imagemagick "/bin/identify")))
  694. #t)))
  695. (replace 'install
  696. (lambda* (#:key outputs #:allow-other-keys)
  697. (and (zero? (system* "make" "install" "install-icons"))
  698. (with-directory-excursion
  699. (string-append (assoc-ref outputs "out")
  700. "/share/emacs/site-lisp")
  701. (for-each delete-file '("ChangeLog" "ChangeLog.1"))
  702. (symlink "w3m-load.el" "w3m-autoloads.el")
  703. #t)))))))
  704. (home-page "http://emacs-w3m.namazu.org/")
  705. (synopsis "Simple Web browser for Emacs based on w3m")
  706. (description
  707. "Emacs-w3m is an emacs interface for the w3m web browser.")
  708. (license license:gpl2+)))
  709. (define-public emacs-wget
  710. (package
  711. (name "emacs-wget")
  712. (version "0.5.0")
  713. (source (origin
  714. (method url-fetch)
  715. (uri (string-append "mirror://debian/pool/main/w/wget-el/wget-el_"
  716. version ".orig.tar.gz"))
  717. (sha256
  718. (base32 "10byvyv9dk0ib55gfqm7bcpxmx2qbih1jd03gmihrppr2mn52nff"))))
  719. (build-system gnu-build-system)
  720. (inputs `(("wget" ,wget)))
  721. (native-inputs `(("emacs" ,emacs-minimal)))
  722. (arguments
  723. `(#:modules ((guix build gnu-build-system)
  724. (guix build utils)
  725. (guix build emacs-utils))
  726. #:imported-modules (,@%gnu-build-system-modules
  727. (guix build emacs-utils))
  728. #:tests? #f ; no check target
  729. #:phases
  730. (alist-replace
  731. 'configure
  732. (lambda* (#:key outputs #:allow-other-keys)
  733. (substitute* "Makefile"
  734. (("/usr/local") (assoc-ref outputs "out"))
  735. (("/site-lisp/emacs-wget") "/site-lisp")))
  736. (alist-cons-before
  737. 'build 'patch-exec-paths
  738. (lambda* (#:key inputs outputs #:allow-other-keys)
  739. (let ((wget (assoc-ref inputs "wget")))
  740. (emacs-substitute-variables "wget.el"
  741. ("wget-command" (string-append wget "/bin/wget")))))
  742. (alist-cons-after
  743. 'install 'post-install
  744. (lambda* (#:key outputs #:allow-other-keys)
  745. (emacs-generate-autoloads
  746. "wget" (string-append (assoc-ref outputs "out")
  747. "/share/emacs/site-lisp/")))
  748. %standard-phases)))))
  749. (home-page "http://www.emacswiki.org/emacs/EmacsWget")
  750. (synopsis "Simple file downloader for Emacs based on wget")
  751. (description
  752. "Emacs-wget is an emacs interface for the wget file downloader.")
  753. (license license:gpl2+)))
  754. ;;;
  755. ;;; Multimedia.
  756. ;;;
  757. (define-public emms
  758. (package
  759. (name "emacs-emms")
  760. (version "4.3")
  761. (source (origin
  762. (method url-fetch)
  763. (uri (string-append "mirror://gnu/emms/emms-"
  764. version ".tar.gz"))
  765. (sha256
  766. (base32
  767. "0dicgkl8l83n4cah5vk7c242abbwpyzlih451blgw37f3rijs480"))
  768. (modules '((guix build utils)))
  769. (snippet
  770. '(substitute* "Makefile"
  771. (("/usr/bin/install-info")
  772. ;; No need to use 'install-info' since it would create a
  773. ;; useless 'dir' file.
  774. "true")
  775. (("^INFODIR=.*")
  776. ;; Install Info files to $out/share/info, not $out/info.
  777. "INFODIR := $(PREFIX)/share/info\n")
  778. (("/site-lisp/emms")
  779. ;; Install directly in share/emacs/site-lisp, not in a
  780. ;; sub-directory.
  781. "/site-lisp")
  782. (("^all: (.*)\n" _ rest)
  783. ;; Build 'emms-print-metadata'.
  784. (string-append "all: " rest " emms-print-metadata\n"))))))
  785. (build-system gnu-build-system)
  786. (arguments
  787. `(#:modules ((guix build gnu-build-system)
  788. (guix build utils)
  789. (guix build emacs-utils))
  790. #:imported-modules (,@%gnu-build-system-modules
  791. (guix build emacs-utils))
  792. #:phases
  793. (modify-phases %standard-phases
  794. (replace 'configure
  795. (lambda* (#:key inputs outputs #:allow-other-keys)
  796. (let ((out (assoc-ref outputs "out"))
  797. (flac (assoc-ref inputs "flac"))
  798. (vorbis (assoc-ref inputs "vorbis-tools"))
  799. (alsa (assoc-ref inputs "alsa-utils"))
  800. (mpg321 (assoc-ref inputs "mpg321"))
  801. (mp3info (assoc-ref inputs "mp3info")))
  802. ;; Specify the installation directory.
  803. (substitute* "Makefile"
  804. (("PREFIX=.*$")
  805. (string-append "PREFIX := " out "\n")))
  806. (setenv "SHELL" (which "sh"))
  807. (setenv "CC" "gcc")
  808. ;; Specify the absolute file names of the various
  809. ;; programs so that everything works out-of-the-box.
  810. (with-directory-excursion "lisp"
  811. (emacs-substitute-variables
  812. "emms-player-mpg321-remote.el"
  813. ("emms-player-mpg321-remote-command"
  814. (string-append mpg321 "/bin/mpg321")))
  815. (substitute* "emms-player-simple.el"
  816. (("\"ogg123\"")
  817. (string-append "\"" vorbis "/bin/ogg123\"")))
  818. (substitute* "emms-player-simple.el"
  819. (("\"mpg321\"")
  820. (string-append "\"" mpg321 "/bin/mpg321\"")))
  821. (emacs-substitute-variables "emms-info-ogginfo.el"
  822. ("emms-info-ogginfo-program-name"
  823. (string-append vorbis "/bin/ogginfo")))
  824. (emacs-substitute-variables "emms-info-libtag.el"
  825. ("emms-info-libtag-program-name"
  826. (string-append out "/bin/emms-print-metadata")))
  827. (emacs-substitute-variables "emms-info-mp3info.el"
  828. ("emms-info-mp3info-program-name"
  829. (string-append mp3info "/bin/mp3info")))
  830. (emacs-substitute-variables "emms-info-metaflac.el"
  831. ("emms-info-metaflac-program-name"
  832. (string-append flac "/bin/metaflac")))
  833. (emacs-substitute-variables "emms-source-file.el"
  834. ("emms-source-file-gnu-find" (which "find")))
  835. (substitute* "emms-volume-amixer.el"
  836. (("\"amixer\"")
  837. (string-append "\"" alsa "/bin/amixer\"")))
  838. (substitute* "emms-tag-editor.el"
  839. (("\"mp3info\"")
  840. (string-append "\"" mp3info "/bin/mp3info\"")))))))
  841. (add-before 'install 'pre-install
  842. (lambda* (#:key outputs #:allow-other-keys)
  843. ;; The 'install' rule expects the target directories to exist.
  844. (let* ((out (assoc-ref outputs "out"))
  845. (bin (string-append out "/bin"))
  846. (man1 (string-append out "/share/man/man1")))
  847. (mkdir-p bin)
  848. (mkdir-p man1)
  849. #t)))
  850. (add-after 'install 'post-install
  851. (lambda* (#:key outputs #:allow-other-keys)
  852. (let ((out (assoc-ref outputs "out")))
  853. (symlink "emms-auto.el"
  854. (string-append out "/share/emacs/site-lisp/"
  855. "emms-autoloads.el"))))))
  856. #:tests? #f))
  857. (native-inputs `(("emacs" ,emacs-minimal) ;for (guix build emacs-utils)
  858. ("texinfo" ,texinfo)))
  859. (inputs `(("alsa-utils" ,alsa-utils)
  860. ("flac" ,flac) ;for metaflac
  861. ("vorbis-tools" ,vorbis-tools)
  862. ("mpg321" ,mpg321)
  863. ("taglib" ,taglib)
  864. ("mp3info" ,mp3info)))
  865. (properties '((upstream-name . "emms")))
  866. (synopsis "Emacs Multimedia System")
  867. (description
  868. "EMMS is the Emacs Multimedia System. It is a small front-end which
  869. can control one of the supported external players. Thus, it supports
  870. whatever formats are supported by your music player. It also
  871. supports tagging and playlist management, all behind a clean and
  872. light user interface.")
  873. (home-page "https://www.gnu.org/software/emms/")
  874. (license license:gpl3+)))
  875. (define-public emacs-emms-player-mpv
  876. (package
  877. (name "emacs-emms-player-mpv")
  878. (version "0.0.10")
  879. (source
  880. (origin
  881. (method url-fetch)
  882. (uri (string-append "https://github.com/dochang/emms-player-mpv/archive/"
  883. version ".tar.gz"))
  884. (file-name (string-append name "-" version ".tar.gz"))
  885. (sha256
  886. (base32
  887. "1q81fpmwr8hpdgq71vbdai2nml4yyqbmk4ffdyl4irlwph8gfjyq"))))
  888. (build-system emacs-build-system)
  889. (propagated-inputs
  890. `(("emms" ,emms)))
  891. (home-page "https://github.com/dochang/emms-player-mpv/")
  892. (synopsis "Mpv support for EMMS")
  893. (description
  894. "This package provides an EMMS player that uses mpv. It supports pause
  895. and seeking.")
  896. (license license:gpl3+)))
  897. (define-public emacs-emms-mode-line-cycle
  898. (package
  899. (name "emacs-emms-mode-line-cycle")
  900. (version "0.2.5")
  901. (source
  902. (origin
  903. (method url-fetch)
  904. (uri (string-append "https://github.com/momomo5717/emms-mode-line-cycle"
  905. "/archive/" version ".tar.gz"))
  906. (file-name (string-append name "-" version ".tar.gz"))
  907. (sha256
  908. (base32
  909. "0ifszi930pnaxk1x8pcydmvnp06868gc7nfx14q17zbajbx735k6"))))
  910. (build-system emacs-build-system)
  911. (propagated-inputs
  912. `(("emms" ,emms)))
  913. (home-page "https://github.com/momomo5717/emms-mode-line-cycle")
  914. (synopsis "Display the EMMS mode line as a ticker")
  915. (description
  916. "This is a minor mode for updating the EMMS mode-line string cyclically
  917. within a specified width. It is useful for displaying long track titles.")
  918. (license license:gpl3+)))
  919. ;;;
  920. ;;; Miscellaneous.
  921. ;;;
  922. (define-public bbdb
  923. (package
  924. (name "bbdb")
  925. (version "3.1.2")
  926. (source (origin
  927. (method url-fetch)
  928. (uri (string-append "mirror://savannah/bbdb/bbdb-"
  929. version ".tar.gz"))
  930. (sha256
  931. (base32
  932. "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05"))
  933. (modules '((guix build utils)))
  934. (snippet
  935. ;; We don't want to build and install the PDF.
  936. '(substitute* "doc/Makefile.in"
  937. (("^doc_DATA = .*$")
  938. "doc_DATA =\n")))))
  939. (build-system gnu-build-system)
  940. (arguments
  941. '(#:phases (alist-cons-after
  942. 'install 'post-install
  943. (lambda* (#:key outputs #:allow-other-keys)
  944. ;; Add an autoloads file with the right name for guix.el.
  945. (let* ((out (assoc-ref outputs "out"))
  946. (site (string-append out "/share/emacs/site-lisp")))
  947. (with-directory-excursion site
  948. (symlink "bbdb-loaddefs.el" "bbdb-autoloads.el"))))
  949. %standard-phases)))
  950. (native-inputs `(("emacs" ,emacs-minimal)))
  951. (home-page "http://savannah.nongnu.org/projects/bbdb/")
  952. (synopsis "Contact management utility for Emacs")
  953. (description
  954. "BBDB is the Insidious Big Brother Database for GNU Emacs. It provides
  955. an address book for email and snail mail addresses, phone numbers and the
  956. like. It can be linked with various Emacs mail clients (Message and Mail
  957. mode, Rmail, Gnus, MH-E, and VM). BBDB is fully customizable.")
  958. (license license:gpl3+)))
  959. (define-public emacs-aggressive-indent
  960. (package
  961. (name "emacs-aggressive-indent")
  962. (version "1.8.3")
  963. (source (origin
  964. (method url-fetch)
  965. (uri (string-append "https://elpa.gnu.org/packages/"
  966. "aggressive-indent-" version ".el"))
  967. (sha256
  968. (base32
  969. "0jnzccl50x0wapprgwxinp99pwwa6j43q6msn4gv437j7swy8wnj"))))
  970. (build-system emacs-build-system)
  971. (home-page "https://elpa.gnu.org/packages/aggressive-indent.html")
  972. (synopsis "Minor mode to aggressively keep your code always indented")
  973. (description
  974. "@code{aggressive-indent-mode} is a minor mode that keeps your code
  975. always indented. It reindents after every change, making it more reliable
  976. than @code{electric-indent-mode}.")
  977. (license license:gpl2+)))
  978. (define-public emacs-ag
  979. (package
  980. (name "emacs-ag")
  981. (version "0.47")
  982. (source (origin
  983. (method url-fetch)
  984. (uri (string-append
  985. "https://github.com/Wilfred/ag.el/archive/"
  986. version ".tar.gz"))
  987. (file-name (string-append name "-" version ".tar.gz"))
  988. (sha256
  989. (base32
  990. "1rlmp6wnyhqfg86dbz17r914msp58favn4kd4yrdwyia265a4lar"))))
  991. (build-system emacs-build-system)
  992. (arguments
  993. `(#:phases
  994. (modify-phases %standard-phases
  995. (add-before 'install 'make-info
  996. (lambda _
  997. (with-directory-excursion "docs"
  998. (zero? (system* "make" "info")))))
  999. (add-after 'install 'install-info
  1000. (lambda* (#:key outputs #:allow-other-keys)
  1001. (let* ((out (assoc-ref outputs "out"))
  1002. (info (string-append out "/share/info")))
  1003. (install-file "docs/_build/texinfo/agel.info" info)
  1004. #t))))))
  1005. (native-inputs
  1006. `(("python-sphinx" ,python-sphinx)
  1007. ("texinfo" ,texinfo)))
  1008. (propagated-inputs
  1009. `(("dash" ,emacs-dash)
  1010. ("s" ,emacs-s)
  1011. ;; We need to use 'ag' as the executable on remote systems.
  1012. ("the-silver-searcher" ,the-silver-searcher)))
  1013. (home-page "https://github.com/Wilfred/ag.el")
  1014. (synopsis "Front-end for ag (the-silver-searcher) for Emacs")
  1015. (description "This package provides the ability to use the silver
  1016. searcher, a code searching tool, sometimes abbreviated to @code{ag}. Features
  1017. include version control system awareness, use of Perl compatible regular
  1018. expressions, editing the search results directly and searching file names
  1019. rather than the contents of files.")
  1020. (license license:gpl3+)))
  1021. (define-public emacs-async
  1022. (package
  1023. (name "emacs-async")
  1024. (version "1.9.2")
  1025. (source (origin
  1026. (method url-fetch)
  1027. (uri (string-append "https://elpa.gnu.org/packages/async-"
  1028. version ".tar"))
  1029. (sha256
  1030. (base32
  1031. "17fnvrj7jww29sav6a6jpizclg4w2962m6h37akpii71gf0vrffw"))))
  1032. (build-system emacs-build-system)
  1033. (home-page "https://elpa.gnu.org/packages/async.html")
  1034. (synopsis "Asynchronous processing in Emacs")
  1035. (description
  1036. "This package provides the ability to call asynchronous functions and
  1037. processes. For example, it can be used to run dired commands (for copying,
  1038. moving, etc.) asynchronously using @code{dired-async-mode}. Also it is used
  1039. as a library for other Emacs packages.")
  1040. (license license:gpl3+)))
  1041. (define-public emacs-auctex
  1042. (package
  1043. (name "emacs-auctex")
  1044. (version "11.91.0")
  1045. (source
  1046. (origin
  1047. (method url-fetch)
  1048. (uri (string-append
  1049. "https://elpa.gnu.org/packages/auctex-"
  1050. version
  1051. ".tar"))
  1052. (sha256
  1053. (base32
  1054. "1yh182mxgngjmwpkyv2n9km3vyq95bqfq8mnly3dbv78nwk7f2l3"))))
  1055. (build-system emacs-build-system)
  1056. ;; We use 'emacs' because AUCTeX requires dbus at compile time
  1057. ;; ('emacs-minimal' does not provide dbus).
  1058. (arguments
  1059. `(#:emacs ,emacs
  1060. #:include '("\\.el$" "^images/" "^latex/" "\\.info$")
  1061. #:exclude '("^tests/" "^latex/README")))
  1062. (native-inputs
  1063. `(("perl" ,perl)))
  1064. (home-page "https://www.gnu.org/software/auctex/")
  1065. (synopsis "Integrated environment for TeX")
  1066. (description
  1067. "AUCTeX is a comprehensive customizable integrated environment for
  1068. writing input files for TeX, LaTeX, ConTeXt, Texinfo, and docTeX using Emacs
  1069. or XEmacs.")
  1070. (license license:gpl3+)))
  1071. (define-public emacs-autothemer
  1072. (package
  1073. (name "emacs-autothemer")
  1074. (version "0.2.2")
  1075. (source
  1076. (origin
  1077. (method url-fetch)
  1078. (uri (string-append "https://github.com/sebastiansturm/autothemer/archive/"
  1079. version ".tar.gz"))
  1080. (file-name (string-append name "-" version ".tar.gz"))
  1081. (sha256
  1082. (base32
  1083. "0rd28r9wfrbll212am4ih9hrvypx785aff76va2cbfxdwm9kixsa"))))
  1084. (build-system emacs-build-system)
  1085. (propagated-inputs
  1086. `(("emacs-dash" ,emacs-dash)))
  1087. (home-page "https://github.com/sebastiansturm/autothemer")
  1088. (synopsis "Conveniently create Emacs themes")
  1089. (description
  1090. "Autothemer provides a thin layer on top of @code{deftheme} and
  1091. @code{custom-theme-set-faces} that creates a new custom color theme, based on
  1092. a set of simplified face specifications and a user-supplied color palette")
  1093. (license license:gpl3+)))
  1094. (define-public emacs-calfw
  1095. (package
  1096. (name "emacs-calfw")
  1097. (version "1.5")
  1098. (source
  1099. (origin
  1100. (method url-fetch)
  1101. (uri (string-append
  1102. "https://github.com/kiwanami/emacs-calfw/archive/v"
  1103. version ".tar.gz"))
  1104. (file-name (string-append name "-" version ".tar.gz"))
  1105. (sha256
  1106. (base32
  1107. "17ssg8gx66yp63nhygjq2r6kgl4h45cacmrxsxs9f0lrfcx37k0l"))))
  1108. (build-system emacs-build-system)
  1109. (home-page "https://github.com/kiwanami/emacs-calfw/")
  1110. (synopsis "Calendar framework for Emacs")
  1111. (description
  1112. "This package displays a calendar view with various schedule data in the
  1113. Emacs buffer.")
  1114. (license license:gpl3+)))
  1115. (define-public emacs-direnv
  1116. (package
  1117. (name "emacs-direnv")
  1118. (version "1.2.0")
  1119. (source
  1120. (origin
  1121. (method url-fetch)
  1122. (uri (string-append
  1123. "https://github.com/wbolster/emacs-direnv/archive/"
  1124. version ".tar.gz"))
  1125. (file-name (string-append name "-" version ".tar.gz"))
  1126. (sha256
  1127. (base32
  1128. "0m9nxawklhiiysyibzzhh2zkxgq1fskqvaqb06f7r8dnhabfy9fr"))))
  1129. (build-system emacs-build-system)
  1130. (propagated-inputs
  1131. `(("dash" ,emacs-dash)
  1132. ("with-editor" ,emacs-with-editor)))
  1133. (home-page "https://github.com/wbolster/emacs-direnv")
  1134. (synopsis "Direnv integration for Emacs")
  1135. (description
  1136. "This package provides support for invoking direnv to get the environment
  1137. for the current file and updating the environment within Emacs to match.
  1138. Direnv can be invoked manually, and a global minor mode is included that will
  1139. update the environment when the active buffer changes.
  1140. Using emacs-direnv means that programs started from Emacs will use the
  1141. environment set through Direnv.")
  1142. (license license:gpl3+)))
  1143. (define-public emacs-go-mode
  1144. (package
  1145. (name "emacs-go-mode")
  1146. (version "1.5.0")
  1147. (source (origin
  1148. (method url-fetch)
  1149. (uri (string-append "https://github.com/dominikh/go-mode.el/"
  1150. "archive/v" version ".tar.gz"))
  1151. (file-name (string-append name "-" version ".tar.gz"))
  1152. (sha256
  1153. (base32
  1154. "1adngbjyb8qnwg7n6r2y31djw9j6qf3b9fi63zd85035q7x4ljnm"))))
  1155. (build-system emacs-build-system)
  1156. (home-page "https://github.com/dominikh/go-mode.el")
  1157. (synopsis "Go mode for Emacs")
  1158. (description
  1159. "This package provides go-mode, an Emacs mode for working with software
  1160. written in the Go programming language.")
  1161. (license license:bsd-3)))
  1162. (define-public emacs-google-maps
  1163. (package
  1164. (name "emacs-google-maps")
  1165. (version "1.0.0")
  1166. (source (origin
  1167. (method url-fetch)
  1168. (uri (string-append "https://github.com/jd/google-maps.el/"
  1169. "archive/" version ".tar.gz"))
  1170. (file-name (string-append name "-" version ".tar.gz"))
  1171. (sha256
  1172. (base32
  1173. "014bxapm4d8vjxbzrfjdpsavxyfx981mlcb10aq5rmigr6il8ybs"))))
  1174. (build-system emacs-build-system)
  1175. (home-page "https://github.com/jd/google-maps.el")
  1176. (synopsis "Access Google Maps from Emacs")
  1177. (description "The @code{google-maps} package allows to display Google
  1178. Maps directly inside Emacs.")
  1179. (license license:gpl3+)))
  1180. (define-public emacs-mmm-mode
  1181. (package
  1182. (name "emacs-mmm-mode")
  1183. (version "0.5.4")
  1184. (source
  1185. (origin
  1186. (method url-fetch)
  1187. (uri (string-append
  1188. "https://github.com/purcell/mmm-mode/archive/"
  1189. version ".tar.gz"))
  1190. (file-name (string-append name "-" version ".tar.gz"))
  1191. (sha256
  1192. (base32
  1193. "10kwslnflbjqm62wkrq420crqzdqalzfflp9pqk1i12zm6dm4mfv"))))
  1194. (build-system gnu-build-system)
  1195. (arguments
  1196. '(#:phases
  1197. (modify-phases %standard-phases
  1198. (add-after 'unpack 'autogen
  1199. (lambda _
  1200. (zero? (system* "sh" "autogen.sh")))))))
  1201. (native-inputs
  1202. `(("autoconf" ,autoconf)
  1203. ("automake" ,automake)
  1204. ("emacs" ,emacs-minimal)
  1205. ("texinfo" ,texinfo)))
  1206. (home-page "https://github.com/purcell/mmm-mode")
  1207. (synopsis "Allow multiple major modes in an Emacs buffer")
  1208. (description
  1209. "MMM Mode is a minor mode that allows multiple major modes to coexist in a
  1210. single buffer.")
  1211. (license license:gpl3+)))
  1212. (define-public emacs-tablist
  1213. (package
  1214. (name "emacs-tablist")
  1215. (version "0.70")
  1216. (source (origin
  1217. (method url-fetch)
  1218. (uri (string-append
  1219. "https://github.com/politza/tablist/archive/v"
  1220. version ".tar.gz"))
  1221. (file-name (string-append name "-" version ".tar.gz"))
  1222. (sha256
  1223. (base32
  1224. "177d6s7ym1mwz1nhnl09r14z3n093g9a2szm97xsaig0c204xz9c"))))
  1225. (build-system emacs-build-system)
  1226. (home-page "https://github.com/politza/tablist")
  1227. (synopsis "Extension for @code{tabulated-list-mode}")
  1228. (description "Tablist is the Emacs package that provides several
  1229. additional features to @code{tabulated-list-mode}: it adds marks,
  1230. filters, new key bindings and faces. It can be enabled by
  1231. @code{tablist-mode} or @code{tablist-minor-mode} commands.")
  1232. (license license:gpl3+)))
  1233. (define-public emacs-pdf-tools
  1234. (package
  1235. (name "emacs-pdf-tools")
  1236. (version "0.80")
  1237. (source (origin
  1238. (method url-fetch)
  1239. (uri (string-append
  1240. "https://github.com/politza/pdf-tools/archive/v"
  1241. version ".tar.gz"))
  1242. (file-name (string-append name "-" version ".tar.gz"))
  1243. (sha256
  1244. (base32
  1245. "06imydn3a92vr57azpn1zhqc14kxyyslmyi9ldsyphan9b724gb6"))))
  1246. (build-system gnu-build-system)
  1247. (arguments
  1248. `(#:tests? #f ; there are no tests
  1249. #:modules ((guix build gnu-build-system)
  1250. ((guix build emacs-build-system) #:prefix emacs:)
  1251. (guix build utils)
  1252. (guix build emacs-utils))
  1253. #:imported-modules (,@%gnu-build-system-modules
  1254. (guix build emacs-build-system)
  1255. (guix build emacs-utils))
  1256. #:phases
  1257. (modify-phases %standard-phases
  1258. ;; Build server side using 'gnu-build-system'.
  1259. (add-after 'unpack 'enter-server-dir
  1260. (lambda _ (chdir "server") #t))
  1261. (add-after 'enter-server-dir 'autogen
  1262. (lambda _
  1263. (zero? (system* "bash" "autogen.sh"))))
  1264. ;; Build emacs side using 'emacs-build-system'.
  1265. (add-after 'compress-documentation 'enter-lisp-dir
  1266. (lambda _ (chdir "../lisp") #t))
  1267. (add-after 'enter-lisp-dir 'emacs-patch-variables
  1268. (lambda* (#:key outputs #:allow-other-keys)
  1269. ;; Set path to epdfinfo program.
  1270. (emacs-substitute-variables "pdf-info.el"
  1271. ("pdf-info-epdfinfo-program"
  1272. (string-append (assoc-ref outputs "out")
  1273. "/bin/epdfinfo")))
  1274. ;; Set 'pdf-tools-handle-upgrades' to nil to avoid "auto
  1275. ;; upgrading" that pdf-tools tries to perform.
  1276. (emacs-substitute-variables "pdf-tools.el"
  1277. ("pdf-tools-handle-upgrades" '()))))
  1278. (add-after 'emacs-patch-variables 'emacs-install
  1279. (assoc-ref emacs:%standard-phases 'install))
  1280. (add-after 'emacs-install 'emacs-build
  1281. (assoc-ref emacs:%standard-phases 'build))
  1282. (add-after 'emacs-install 'emacs-make-autoloads
  1283. (assoc-ref emacs:%standard-phases 'make-autoloads)))))
  1284. (native-inputs `(("autoconf" ,autoconf)
  1285. ("automake" ,automake)
  1286. ("pkg-config" ,pkg-config)
  1287. ("emacs" ,emacs-minimal)))
  1288. (inputs `(("poppler" ,poppler)
  1289. ("cairo" ,cairo)
  1290. ("glib" ,glib)
  1291. ("libpng" ,libpng)
  1292. ("zlib" ,zlib)))
  1293. (propagated-inputs `(("tablist" ,emacs-tablist)))
  1294. (synopsis "Emacs support library for PDF files")
  1295. (description
  1296. "PDF Tools is, among other things, a replacement of DocView for PDF
  1297. files. The key difference is that pages are not pre-rendered by
  1298. e.g. ghostscript and stored in the file-system, but rather created on-demand
  1299. and stored in memory.")
  1300. (home-page "https://github.com/politza/pdf-tools")
  1301. (license license:gpl3+)))
  1302. (define-public emacs-dash
  1303. (package
  1304. (name "emacs-dash")
  1305. (version "2.13.0")
  1306. (source (origin
  1307. (method url-fetch)
  1308. (uri (string-append
  1309. "https://github.com/magnars/dash.el/archive/"
  1310. version ".tar.gz"))
  1311. (file-name (string-append name "-" version ".tar.gz"))
  1312. (sha256
  1313. (base32
  1314. "1pjlkrzr8n45bnp3xs3dybvy0nz3gwamrfc7vsi1nhpkkw99ihhb"))))
  1315. (build-system emacs-build-system)
  1316. (arguments
  1317. `(#:phases
  1318. (modify-phases %standard-phases
  1319. (add-before 'install 'check
  1320. (lambda _
  1321. (zero? (system* "./run-tests.sh")))))))
  1322. (home-page "https://github.com/magnars/dash.el")
  1323. (synopsis "Modern list library for Emacs")
  1324. (description "This package provides a modern list API library for Emacs.")
  1325. (license license:gpl3+)))
  1326. (define-public emacs-bui
  1327. (package
  1328. (name "emacs-bui")
  1329. (version "1.1.0")
  1330. (source (origin
  1331. (method url-fetch)
  1332. (uri (string-append
  1333. "https://github.com/alezost/bui.el/archive/v"
  1334. version ".tar.gz"))
  1335. (file-name (string-append name "-" version ".tar.gz"))
  1336. (sha256
  1337. (base32
  1338. "112k0mq6xpy0r47vk66miw7rxbkv3d06pv3pd0vcmrhcnhnnk486"))))
  1339. (build-system emacs-build-system)
  1340. (propagated-inputs
  1341. `(("dash" ,emacs-dash)))
  1342. (home-page "https://github.com/alezost/bui.el")
  1343. (synopsis "Buffer interface library for Emacs")
  1344. (description
  1345. "BUI (Buffer User Interface) is a library for making @code{list} and
  1346. @code{info} interfaces to display an arbitrary data of the same
  1347. type, for example: packages, buffers, files, etc.")
  1348. (license license:gpl3+)))
  1349. (define-public emacs-guix
  1350. (package
  1351. (name "emacs-guix")
  1352. (version "0.3.3")
  1353. (source (origin
  1354. (method url-fetch)
  1355. (uri (string-append "https://github.com/alezost/guix.el"
  1356. "/releases/download/v" version
  1357. "/emacs-guix-" version ".tar.gz"))
  1358. (sha256
  1359. (base32
  1360. "0mjb2yb454389ds2kr5rkjkl21r78z4c0f88ivf4g471yzg279mc"))))
  1361. (build-system gnu-build-system)
  1362. (arguments
  1363. `(#:configure-flags
  1364. (let ((guix (assoc-ref %build-inputs "guix"))
  1365. (geiser (assoc-ref %build-inputs "geiser"))
  1366. (dash (assoc-ref %build-inputs "dash"))
  1367. (bui (assoc-ref %build-inputs "bui"))
  1368. (magit-popup (assoc-ref %build-inputs "magit-popup"))
  1369. (site-lisp "/share/emacs/site-lisp"))
  1370. (list (string-append "--with-guix-site-dir="
  1371. (car (find-files (string-append guix
  1372. "/share/guile/site")
  1373. (lambda (file stat)
  1374. (string-prefix?
  1375. "2."
  1376. (basename file)))
  1377. #:directories? #t)))
  1378. (string-append "--with-guix-site-ccache-dir="
  1379. (car (find-files (string-append guix "/lib/guile")
  1380. (lambda (file stat)
  1381. (string-prefix?
  1382. "2." (basename file)))
  1383. #:directories? #t))
  1384. "/site-ccache")
  1385. (string-append "--with-geiser-lispdir=" geiser site-lisp)
  1386. (string-append "--with-dash-lispdir="
  1387. dash site-lisp "/guix.d/dash-"
  1388. ,(package-version emacs-dash))
  1389. (string-append "--with-bui-lispdir="
  1390. bui site-lisp "/guix.d/bui-"
  1391. ,(package-version emacs-bui))
  1392. (string-append "--with-popup-lispdir="
  1393. magit-popup site-lisp "/guix.d/magit-popup-"
  1394. ,(package-version emacs-magit-popup))))))
  1395. (native-inputs
  1396. `(("pkg-config" ,pkg-config)
  1397. ("emacs" ,emacs-minimal)))
  1398. (inputs
  1399. `(("guile" ,guile-2.2)
  1400. ("guix" ,guix)))
  1401. (propagated-inputs
  1402. `(("geiser" ,geiser)
  1403. ("dash" ,emacs-dash)
  1404. ("bui" ,emacs-bui)
  1405. ("magit-popup" ,emacs-magit-popup)))
  1406. (home-page "https://alezost.github.io/guix.el/")
  1407. (synopsis "Emacs interface for GNU Guix")
  1408. (description
  1409. "Emacs-Guix provides a visual interface, tools and features for the GNU
  1410. Guix package manager. Particularly, it allows you to do various package
  1411. management tasks from Emacs. To begin with, run @code{M-x guix-about} or
  1412. @code{M-x guix-help} command.")
  1413. (license license:gpl3+)))
  1414. (define-public emacs-d-mode
  1415. (package
  1416. (name "emacs-d-mode")
  1417. (version "2.0.8")
  1418. (source (origin
  1419. (method url-fetch)
  1420. (uri (string-append
  1421. "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/"
  1422. "archive/" version ".tar.gz"))
  1423. (sha256
  1424. (base32
  1425. "0knpgi55jm09282aqf8pv55zillpnpzf9f4sgm6gwsmvxf17xaw0"))))
  1426. (build-system emacs-build-system)
  1427. (propagated-inputs
  1428. `(("emacs-undercover" ,emacs-undercover)))
  1429. (home-page "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode")
  1430. (synopsis "Emacs major mode for editing D code")
  1431. (description "This package provides an Emacs major mode for highlighting
  1432. code written in the D programming language. This mode is currently known to
  1433. work with Emacs 24 and 25.")
  1434. (license license:gpl2+)))
  1435. (define-public emacs-keyfreq
  1436. (package
  1437. (name "emacs-keyfreq")
  1438. (version "20160516.716")
  1439. (source
  1440. (origin
  1441. (method url-fetch)
  1442. (uri (string-append "http://melpa.org/packages/keyfreq-"
  1443. version ".el"))
  1444. (sha256
  1445. (base32
  1446. "008hd7d06qskc3mx0bbdgpgy2pwxr8185fzlyqf9qjg49y74p6g8"))))
  1447. (build-system emacs-build-system)
  1448. (home-page "https://github.com/dacap/keyfreq")
  1449. (synopsis "Track Emacs command frequencies")
  1450. (description "@code{emacs-keyfeq} tracks and shows how many times you used
  1451. a command.")
  1452. (license license:gpl3+)))
  1453. (define-public emacs-olivetti
  1454. (package
  1455. (name "emacs-olivetti")
  1456. (version "1.5.7")
  1457. (source (origin
  1458. (method url-fetch)
  1459. (uri (string-append
  1460. "https://stable.melpa.org/packages/olivetti-"
  1461. version ".el"))
  1462. (sha256
  1463. (base32
  1464. "1yj2ylg46q0pw1xzlv2b0fv9x8p56x25284s9v2smwjr4vf0nwcj"))))
  1465. (build-system emacs-build-system)
  1466. (home-page "https://github.com/rnkn/olivetti")
  1467. (synopsis "Emacs minor mode for a nice writing environment")
  1468. (description "This package provides an Emacs minor mode that puts writing
  1469. in the center.")
  1470. (license license:gpl3+)))
  1471. (define-public emacs-undo-tree
  1472. (package
  1473. (name "emacs-undo-tree")
  1474. (version "0.6.4")
  1475. (source (origin
  1476. (method git-fetch)
  1477. (uri (git-reference
  1478. (url "http://dr-qubit.org/git/undo-tree.git")
  1479. (commit "release/0.6.4")))
  1480. (file-name (string-append name "-" version "-checkout"))
  1481. (sha256
  1482. (base32
  1483. "0b6hnv6bq1g5np5q2yw9r9aj1cxpp14akm21br7vpb7wp01fv4b3"))))
  1484. (build-system emacs-build-system)
  1485. (home-page "http://www.dr-qubit.org/emacs.php")
  1486. (synopsis "Treat undo history as a tree")
  1487. (description "Tree-like interface to Emacs undo system, providing
  1488. graphical tree presentation of all previous states of buffer that
  1489. allows easily move between them.")
  1490. (license license:gpl3+)))
  1491. (define-public emacs-s
  1492. (package
  1493. (name "emacs-s")
  1494. (version "1.11.0")
  1495. (source (origin
  1496. (method url-fetch)
  1497. (uri (string-append
  1498. "https://github.com/magnars/s.el/archive/"
  1499. version ".tar.gz"))
  1500. (file-name (string-append name "-" version ".tar.gz"))
  1501. (sha256
  1502. (base32
  1503. "0krq5nz3llfx0vwdqn18pmq777ja0fac185w0h9qymppb1j1hvc2"))))
  1504. (build-system emacs-build-system)
  1505. (arguments
  1506. `(#:phases
  1507. (modify-phases %standard-phases
  1508. (add-before 'install 'check
  1509. (lambda _
  1510. (zero? (system* "./run-tests.sh")))))))
  1511. (home-page "https://github.com/magnars/s.el")
  1512. (synopsis "Emacs string manipulation library")
  1513. (description "This package provides an Emacs library for manipulating
  1514. strings.")
  1515. (license license:gpl3+)))
  1516. (define-public emacs-symon
  1517. (package
  1518. (name "emacs-symon")
  1519. (version "20160630")
  1520. (source
  1521. (origin
  1522. (method url-fetch)
  1523. (uri (string-append "https://github.com/zk-phi/symon/archive/"
  1524. version ".tar.gz"))
  1525. (file-name (string-append name "-" version ".tar.gz"))
  1526. (sha256
  1527. (base32
  1528. "0h4jcgdnq98wc9rj72nwyazq8498yg55jfljiij5qwbn1xf1g5zz"))))
  1529. (build-system emacs-build-system)
  1530. (home-page "https://github.com/zk-phi/symon")
  1531. (synopsis "Tiny graphical system monitor")
  1532. (description
  1533. "Tiny graphical system monitor for the Emacs minibuffer when idle.")
  1534. (license license:gpl2+)))
  1535. (define-public emacs-sx
  1536. (package
  1537. (name "emacs-sx")
  1538. (version "0.4")
  1539. (source (origin
  1540. (method url-fetch)
  1541. (uri (string-append "https://github.com/vermiculus/sx.el/"
  1542. "archive/v" version ".tar.gz"))
  1543. (file-name (string-append name "-" version ".tar.gz"))
  1544. (sha256
  1545. (base32
  1546. "1w0xghfljqg31axcnv8gzlrd8pw25nji6idnrhflq0af9qh1dw03"))))
  1547. (build-system emacs-build-system)
  1548. (propagated-inputs
  1549. `(("emacs-markdown-mode" ,emacs-markdown-mode)))
  1550. (home-page "https://github.com/vermiculus/sx.el/")
  1551. (synopsis "Emacs StackExchange client")
  1552. (description
  1553. "Emacs StackExchange client. Ask and answer questions on
  1554. Stack Overflow, Super User, and other StackExchange sites.")
  1555. (license license:gpl3+)))
  1556. (define-public emacs-f
  1557. (package
  1558. (name "emacs-f")
  1559. (version "0.18.2")
  1560. (source (origin
  1561. (method url-fetch)
  1562. (uri (string-append
  1563. "https://github.com/rejeep/f.el/archive/v"
  1564. version ".tar.gz"))
  1565. (file-name (string-append name "-" version ".tar.gz"))
  1566. (sha256
  1567. (base32
  1568. "1926shh2ymdsgz05c6q181mzzz1rci99ch568j151xi865jinyg5"))))
  1569. (build-system emacs-build-system)
  1570. (propagated-inputs
  1571. `(("emacs-s" ,emacs-s)
  1572. ("emacs-dash" ,emacs-dash)))
  1573. (home-page "https://github.com/rejeep/f.el")
  1574. (synopsis "Emacs API for working with files and directories")
  1575. (description "This package provides an Emacs library for working with
  1576. files and directories.")
  1577. (license license:gpl3+)))
  1578. (define-public emacs-git-gutter
  1579. (package
  1580. (name "emacs-git-gutter")
  1581. (version "0.90")
  1582. (source (origin
  1583. (method url-fetch)
  1584. (uri (string-append
  1585. "https://github.com/syohex/" name "/archive/"
  1586. version ".tar.gz"))
  1587. (file-name (string-append name "-" version ".tar.gz"))
  1588. (sha256
  1589. (base32
  1590. "1nmhvhpq1l56mj2yq3ag23rw3x4xgnsy8szp30s26l0yjnkhc4qg"))))
  1591. (build-system emacs-build-system)
  1592. (home-page "https://github.com/syohex/emacs-git-gutter")
  1593. (synopsis "See and manage hunks of text in a version control system")
  1594. (description
  1595. "This package is an Emacs minor mode for displaying and interacting with
  1596. hunks of text managed in a version control system. Added modified and deleted
  1597. areas can be indicated with symbols on the edge of the buffer, and commands
  1598. can be used to move between and perform actions on these hunks.
  1599. Git, Mercurial, Subversion and Bazaar are supported, and many parts of the
  1600. display and behaviour is easily customisable.")
  1601. (license license:gpl3+)))
  1602. (define-public emacs-git-timemachine
  1603. (package
  1604. (name "emacs-git-timemachine")
  1605. (version "3.0")
  1606. (source
  1607. (origin
  1608. (method url-fetch)
  1609. (uri (string-append "https://github.com/pidu/git-timemachine/"
  1610. "archive/" version ".tar.gz"))
  1611. (file-name (string-append name "-" version ".tar.gz"))
  1612. (sha256
  1613. (base32
  1614. "1l4g0r69wfrnjsywv03v4bpdd53byg6zdx6mzabfxyymss3kvisa"))))
  1615. (build-system emacs-build-system)
  1616. (home-page "https://github.com/pidu/git-timemachine")
  1617. (synopsis "Step through historic versions of Git-controlled files")
  1618. (description "This package enables you to step through historic versions
  1619. of files under Git version control from within Emacs.")
  1620. (license license:gpl3+)))
  1621. (define-public emacs-minitest
  1622. (package
  1623. (name "emacs-minitest")
  1624. (version "0.8.0")
  1625. (source (origin
  1626. (method url-fetch)
  1627. (uri (string-append
  1628. "https://github.com/arthurnn/minitest-emacs/archive/v"
  1629. version ".tar.gz"))
  1630. (file-name (string-append name "-" version ".tar.gz"))
  1631. (sha256
  1632. (base32
  1633. "1dsb7kzvs1x6g4sgqmq73jqacb7wzm0wfkiq5m9dqdzq8mppgiqs"))))
  1634. (build-system emacs-build-system)
  1635. (arguments
  1636. '(#:include (cons "^snippets\\/minitest-mode\\/" %default-include)
  1637. #:exclude (delete "^[^/]*tests?\\.el$" %default-exclude)))
  1638. (propagated-inputs
  1639. `(("emacs-dash" ,emacs-dash)
  1640. ("emacs-f" ,emacs-f)))
  1641. (home-page "https://github.com/arthurnn/minitest-emacs")
  1642. (synopsis "Emacs minitest mode")
  1643. (description
  1644. "The minitest mode provides commands to run the tests for the current
  1645. file or line, as well as rerunning the previous tests, or all the tests for a
  1646. project.
  1647. This package also includes relevant snippets for yasnippet.")
  1648. (license license:expat)))
  1649. (define-public emacs-el-mock
  1650. (package
  1651. (name "emacs-el-mock")
  1652. (version "1.25.1")
  1653. (source
  1654. (origin
  1655. (method url-fetch)
  1656. (uri (string-append "https://github.com/rejeep/el-mock.el/"
  1657. "archive/v" version ".tar.gz"))
  1658. (file-name (string-append name "-" version ".tar.gz"))
  1659. (sha256
  1660. (base32
  1661. "16xw94n58xxn3zvgyj72bmzs0k5lkvswjmzs79ws9n7rzdivb38b"))))
  1662. (build-system emacs-build-system)
  1663. (home-page "https://github.com/rejeep/el-mock.el")
  1664. (synopsis "Tiny mock and stub framework in Emacs Lisp")
  1665. (description
  1666. "Emacs Lisp Mock is a library for mocking and stubbing using readable
  1667. syntax. Most commonly Emacs Lisp Mock is used in conjunction with Emacs Lisp
  1668. Expectations, but it can be used in other contexts.")
  1669. (license license:gpl3+)))
  1670. (define-public emacs-espuds
  1671. (package
  1672. (name "emacs-espuds")
  1673. (version "0.3.3")
  1674. (source
  1675. (origin
  1676. (method url-fetch)
  1677. (uri (string-append "https://github.com/ecukes/espuds/"
  1678. "archive/v" version ".tar.gz"))
  1679. (file-name (string-append name "-" version ".tar.gz"))
  1680. (sha256
  1681. (base32
  1682. "0xv551376pbmh735a3zjwc9z4qdx6ngj1vpq3xqjpn0a1rwjyn4k"))))
  1683. (build-system emacs-build-system)
  1684. (propagated-inputs
  1685. `(("emacs-s" ,emacs-s)
  1686. ("emacs-dash" ,emacs-dash)
  1687. ("emacs-f" ,emacs-f)))
  1688. (home-page "https://github.com/ecukes/espuds")
  1689. (synopsis "Common step definitions for Ecukes")
  1690. (description "Espuds is a collection of the most commonly used step
  1691. definitions for testing with the Ecukes framework.")
  1692. (license license:gpl3+)))
  1693. (define-public emacs-es-mode
  1694. (package
  1695. (name "emacs-es-mode")
  1696. (version "4.2.0")
  1697. (source (origin
  1698. (method url-fetch)
  1699. (uri (string-append
  1700. "https://github.com/dakrone/es-mode/archive/"
  1701. version ".tar.gz"))
  1702. (file-name (string-append name "-" version ".tar.gz"))
  1703. (sha256
  1704. (base32
  1705. "02as82clm553yss7jfjac888308zr1h2229cch4z1yij70j25c8y"))))
  1706. (build-system emacs-build-system)
  1707. (propagated-inputs
  1708. ;; The version of org in Emacs 24.5 is not sufficient, and causes tables
  1709. ;; to be rendered incorrectly
  1710. `(("emacs-org" ,emacs-org)))
  1711. (home-page "https://github.com/dakrone/es-mode")
  1712. (synopsis "Major mode for editing Elasticsearch queries")
  1713. (description "@code{es-mode} includes highlighting, completion and
  1714. indentation support for Elasticsearch queries. Also supported are
  1715. @code{es-mode} blocks in @code{org-mode}, for which the results of queries can
  1716. be processed through @code{jq}, or in the case of aggregations, can be
  1717. rendered in to a table. In addition, there is an @code{es-command-center}
  1718. mode, which displays information about Elasticsearch clusters.")
  1719. (license license:gpl3+)))
  1720. (define-public emacs-expand-region
  1721. (package
  1722. (name "emacs-expand-region")
  1723. (version "0.11.0")
  1724. (source
  1725. (origin
  1726. (method url-fetch)
  1727. (uri (string-append "https://github.com/magnars/expand-region.el"
  1728. "/archive/" version ".tar.gz"))
  1729. (file-name (string-append name "-" version ".tar.gz"))
  1730. (sha256
  1731. (base32
  1732. "08dy1f411sh9wwww53rjw80idcf3vpki6ba2arl4hl5jcw9651g0"))))
  1733. (build-system emacs-build-system)
  1734. (home-page "https://github.com/magnars/expand-region.el")
  1735. (synopsis "Increase selected region by semantic units")
  1736. (description
  1737. "Expand region increases the selected region by semantic units. Just
  1738. keep pressing the key until it selects what you want. There's also
  1739. @code{er/contract-region} if you expand too far.")
  1740. (license license:gpl3+)))
  1741. (define-public emacs-fill-column-indicator
  1742. (package
  1743. (name "emacs-fill-column-indicator")
  1744. (version "1.81")
  1745. (source
  1746. (origin
  1747. (method url-fetch)
  1748. (uri (string-append "https://github.com/alpaker/Fill-Column-Indicator"
  1749. "/archive/v" version ".tar.gz"))
  1750. (file-name (string-append name "-" version ".tar.gz"))
  1751. (sha256
  1752. (base32
  1753. "1xwyqbjbbicmvhlb85vg4j5snwy1vd7rfk89ws4viws5ljkhhyg8"))))
  1754. (build-system emacs-build-system)
  1755. (home-page "https://www.emacswiki.org/emacs/FillColumnIndicator")
  1756. (synopsis "Graphically indicate the fill column")
  1757. (description
  1758. "Fill-column-indicator graphically indicates the location of the fill
  1759. column by drawing a thin line down the length of the editing window.")
  1760. (license license:gpl3+)))
  1761. (define-public emacs-inf-ruby
  1762. (package
  1763. (name "emacs-inf-ruby")
  1764. (version "2.5.1")
  1765. (source
  1766. (origin
  1767. (method url-fetch)
  1768. (uri (string-append "https://github.com/nonsequitur/inf-ruby/"
  1769. "archive/" version ".tar.gz"))
  1770. (file-name (string-append name "-" version ".tar.gz"))
  1771. (sha256
  1772. (base32
  1773. "0m7323k649ckxql1grsdnf71bjhys7l4qb8wbpphb1mr1q8i4066"))))
  1774. (build-system emacs-build-system)
  1775. (home-page "https://github.com/nonsequitur/inf-ruby")
  1776. (synopsis "Provides a REPL buffer connected to a Ruby subprocess in Emacs")
  1777. (description
  1778. "@code{inf-ruby} provides a Read Eval Print Loop (REPL) buffer, allowing
  1779. for easy interaction with a ruby subprocess. Features include support for
  1780. detecting specific uses of Ruby, e.g. when using rails, and using a
  1781. appropriate console.")
  1782. (license license:gpl3+)))
  1783. (define-public emacs-znc
  1784. (package
  1785. (name "emacs-znc")
  1786. (version "0.0.2")
  1787. (source
  1788. (origin
  1789. (method url-fetch)
  1790. (uri (string-append "https://marmalade-repo.org/packages/znc-"
  1791. version ".el"))
  1792. (sha256
  1793. (base32
  1794. "1d8lqvybgyazin5z0g1c4l3rg1vzrrvf0saqs53jr1zcdg0lianh"))))
  1795. (build-system emacs-build-system)
  1796. (home-page "https://github.com/sshirokov/ZNC.el")
  1797. (synopsis "Make ERC and ZNC get along better")
  1798. (description
  1799. "This is a thin wrapper around @code{erc} that enables one to use the ZNC
  1800. IRC bouncer with ERC.")
  1801. (license license:expat)))
  1802. (define-public emacs-shut-up
  1803. (package
  1804. (name "emacs-shut-up")
  1805. (version "0.3.2")
  1806. (source
  1807. (origin
  1808. (method url-fetch)
  1809. (uri (string-append "https://github.com/cask/shut-up/"
  1810. "archive/v" version ".tar.gz"))
  1811. (file-name (string-append name "-" version ".tar.gz"))
  1812. (sha256
  1813. (base32
  1814. "09kzrjdkb569iviyg7ydwq44yh84m3f9hkl7jizfrlk0w4gz67d1"))))
  1815. (build-system emacs-build-system)
  1816. (home-page "https://github.com/cask/shut-up")
  1817. (synopsis "Silence Emacs")
  1818. (description "This package silences most output of Emacs when running an
  1819. Emacs shell script.")
  1820. (license license:expat)))
  1821. (define-public emacs-undercover
  1822. (package
  1823. (name "emacs-undercover")
  1824. (version "0.6.0")
  1825. (source
  1826. (origin
  1827. (method url-fetch)
  1828. (uri (string-append "https://github.com/sviridov/undercover.el/"
  1829. "archive/v" version ".tar.gz"))
  1830. (file-name (string-append name "-" version ".tar.gz"))
  1831. (sha256
  1832. (base32
  1833. "0f48fi0xnbsqs382rgh85m9mq1wdnr0yib7as9xhwzvq0hsr5m0a"))))
  1834. (build-system emacs-build-system)
  1835. (propagated-inputs
  1836. `(("emacs-dash" ,emacs-dash)
  1837. ("emacs-shut-up" ,emacs-shut-up)))
  1838. (home-page "https://github.com/sviridov/undercover.el")
  1839. (synopsis "Test coverage library for Emacs Lisp")
  1840. (description
  1841. "Undercover is a test coverage library for software written in Emacs
  1842. Lisp.")
  1843. (license license:expat)))
  1844. (define-public emacs-paren-face
  1845. (package
  1846. (name "emacs-paren-face")
  1847. (version "1.0.0")
  1848. (source
  1849. (origin
  1850. (method url-fetch)
  1851. (uri (string-append "https://github.com/tarsius/paren-face/archive/"
  1852. version ".tar.gz"))
  1853. (file-name (string-append name "-" version ".tar.gz"))
  1854. (sha256
  1855. (base32
  1856. "0y4qrhxa9332vsvr999jg7qj1ymnfgwpf591yi4a4jgg90pm7qnn"))))
  1857. (build-system emacs-build-system)
  1858. (home-page "https://github.com/tarsius/paren-face")
  1859. (synopsis "Face for parentheses in lisp modes")
  1860. (description
  1861. "This library defines a face named @code{parenthesis} used just for
  1862. parentheses. The intended purpose of this face is to make parentheses less
  1863. visible in Lisp code by dimming them. Lispers probably don't need to be
  1864. constantly made aware of the existence of the parentheses. Dimming them might
  1865. be even more useful for people new to lisp who have not yet learned to
  1866. subconsciously blend out the parentheses.")
  1867. (license license:gpl3+)))
  1868. (define-public emacs-page-break-lines
  1869. (package
  1870. (name "emacs-page-break-lines")
  1871. (version "0.11")
  1872. (source
  1873. (origin
  1874. (method url-fetch)
  1875. (uri (string-append "https://github.com/purcell/page-break-lines/"
  1876. "archive/" version ".tar.gz"))
  1877. (file-name (string-append name "-" version ".tar.gz"))
  1878. (sha256
  1879. (base32
  1880. "1zzhziq5kbrm9rxk30kx2glz455fp1blqxg8cpcf6l8xl3w8z4pg"))))
  1881. (build-system emacs-build-system)
  1882. (home-page "https://github.com/purcell/page-break-lines")
  1883. (synopsis "Display page breaks as tidy horizontal lines")
  1884. (description
  1885. "This library provides a global mode which displays form feed characters
  1886. as horizontal rules.")
  1887. (license license:gpl3+)))
  1888. (define-public emacs-simple-httpd
  1889. (package
  1890. (name "emacs-simple-httpd")
  1891. (version "1.4.6")
  1892. (source
  1893. (origin
  1894. (method url-fetch)
  1895. (uri (string-append "https://github.com/skeeto/emacs-web-server/"
  1896. "archive/" version ".tar.gz"))
  1897. (file-name (string-append name "-" version ".tar.gz"))
  1898. (sha256
  1899. (base32
  1900. "01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
  1901. (build-system emacs-build-system)
  1902. (home-page "https://github.com/skeeto/emacs-http-server")
  1903. (synopsis "HTTP server in pure Emacs Lisp")
  1904. (description
  1905. "This package provides a simple HTTP server written in Emacs Lisp to
  1906. serve files and directory listings.")
  1907. (license license:unlicense)))
  1908. (define-public emacs-skewer-mode
  1909. (package
  1910. (name "emacs-skewer-mode")
  1911. (version "1.6.2")
  1912. (source
  1913. (origin
  1914. (method url-fetch)
  1915. (uri (string-append "https://github.com/skeeto/skewer-mode/archive/"
  1916. version ".tar.gz"))
  1917. (file-name (string-append name "-" version ".tar.gz"))
  1918. (sha256
  1919. (base32
  1920. "07jpz374j0j964szy3zznrkyja2kpdl3xa87wh7349mzxivqxdx0"))))
  1921. (build-system emacs-build-system)
  1922. (propagated-inputs
  1923. `(("emacs-simple-httpd" ,emacs-simple-httpd)
  1924. ("emacs-js2-mode" ,emacs-js2-mode)))
  1925. (arguments '(#:include '("\\.el$" "\\.js$" "\\.html$")))
  1926. (home-page "https://github.com/skeeto/skewer-mode")
  1927. (synopsis "Live web development in Emacs")
  1928. (description
  1929. "Skewer-mode provides live interaction with JavaScript, CSS, and HTML in
  1930. a web browser. Expressions are sent on-the-fly from an editing buffer to be
  1931. evaluated in the browser, just like Emacs does with an inferior Lisp process
  1932. in Lisp modes.")
  1933. (license license:unlicense)))
  1934. (define-public emacs-stripe-buffer
  1935. (package
  1936. (name "emacs-stripe-buffer")
  1937. (version "0.2.5")
  1938. (source
  1939. (origin
  1940. (method url-fetch)
  1941. (uri (string-append "https://github.com/sabof/stripe-buffer/"
  1942. "archive/" version ".tar.gz"))
  1943. (file-name (string-append name "-" version ".tar.gz"))
  1944. (sha256
  1945. (base32
  1946. "1p515dq7raly5hw94kiwm3vzsfih0d8af622q4ipvvljsm98aiik"))))
  1947. (build-system emacs-build-system)
  1948. (home-page "https://github.com/sabof/stripe-buffer/")
  1949. (synopsis "Add stripes to list buffers")
  1950. (description
  1951. "This Emacs package adds faces to add stripes to list buffers and org
  1952. tables.")
  1953. (license license:gpl2+)))
  1954. (define-public emacs-rich-minority
  1955. (package
  1956. (name "emacs-rich-minority")
  1957. (version "1.0.1")
  1958. (source
  1959. (origin
  1960. (method url-fetch)
  1961. (uri (string-append "https://github.com/Malabarba/rich-minority/"
  1962. "archive/" version ".tar.gz"))
  1963. (file-name (string-append name "-" version ".tar.gz"))
  1964. (sha256
  1965. (base32
  1966. "1l0cb0q7kyi88nwfqd542psnkgwnjklpzc5rx32gzd3lkwkrbr8v"))))
  1967. (build-system emacs-build-system)
  1968. (home-page "https://github.com/Malabarba/rich-minority")
  1969. (synopsis "Clean-up and beautify the list of minor modes")
  1970. (description
  1971. "This Emacs package hides and/or highlights minor modes in the
  1972. mode-line.")
  1973. (license license:gpl2+)))
  1974. (define-public emacs-rspec
  1975. (package
  1976. (name "emacs-rspec")
  1977. (version "1.11")
  1978. (source
  1979. (origin
  1980. (method url-fetch)
  1981. (uri (string-append "https://github.com/pezra/rspec-mode/"
  1982. "archive/v" version ".tar.gz"))
  1983. (file-name (string-append name "-" version ".tar.gz"))
  1984. (sha256
  1985. (base32
  1986. "1j0a7ms5516nlg60qfyn730pfxys6acm0rgyxh5xfkpi6jafgpvw"))))
  1987. (build-system emacs-build-system)
  1988. (home-page "https://github.com/pezra/rspec-mode")
  1989. (synopsis "Provides a rspec mode for working with RSpec")
  1990. (description
  1991. "The Emacs RSpec mode provides keybindings for Ruby source files, e.g. to
  1992. verify the spec associated with the current buffer, or entire project, as well
  1993. as moving between the spec files, and coresponding code files.
  1994. Also included are keybindings for spec files and Dired buffers, as well as
  1995. snippets for yasnippet.")
  1996. (license license:gpl3+)))
  1997. (define-public emacs-smart-mode-line
  1998. (package
  1999. (name "emacs-smart-mode-line")
  2000. (version "2.10.1")
  2001. (source
  2002. (origin
  2003. (method url-fetch)
  2004. (uri (string-append "https://github.com/Malabarba/smart-mode-line/"
  2005. "archive/" version ".tar.gz"))
  2006. (file-name (string-append name "-" version ".tar.gz"))
  2007. (sha256
  2008. (base32
  2009. "0i9wajabrrsjzwd842q0m2611kf0q31p9hg1pdj81177gynkw8l8"))))
  2010. (build-system emacs-build-system)
  2011. (propagated-inputs
  2012. `(("emacs-rich-minority" ,emacs-rich-minority)))
  2013. (home-page "https://github.com/Malabarba/smart-mode-line")
  2014. (synopsis "Color-coded smart mode-line")
  2015. (description
  2016. "Smart Mode Line is a mode-line theme for Emacs. It aims to be easy to
  2017. read from small to large monitors by using colors, a prefix feature, and smart
  2018. truncation.")
  2019. (license license:gpl2+)))
  2020. (define-public emacs-sr-speedbar
  2021. (package
  2022. (name "emacs-sr-speedbar")
  2023. (version "20140914.2339")
  2024. (source
  2025. (origin
  2026. (method url-fetch)
  2027. (uri (string-append
  2028. "https://github.com/emacsorphanage/sr-speedbar/archive/"
  2029. version ".tar.gz"))
  2030. (file-name (string-append name "-" version ".tar.gz"))
  2031. (sha256
  2032. (base32
  2033. "15xwwc6kgvmk4wdhx1j8w6m6ivxvc94028ppgdpa2m51a8c9vjm9"))))
  2034. (build-system emacs-build-system)
  2035. (home-page "https://www.emacswiki.org/emacs/SrSpeedbar")
  2036. (synopsis "Same frame Emacs @code{speedbar}")
  2037. (description
  2038. "This Emacs package allows you to show @code{M-x speedbar} in the
  2039. same frame (in an extra window). You can customize the initial width of
  2040. the speedbar window.")
  2041. (license license:gpl3+)))
  2042. (define-public emacs-shell-switcher
  2043. (package
  2044. (name "emacs-shell-switcher")
  2045. (version "1.0.1")
  2046. (source
  2047. (origin
  2048. (method url-fetch)
  2049. (uri (string-append "https://github.com/DamienCassou/shell-switcher"
  2050. "/archive/v" version ".tar.gz"))
  2051. (file-name (string-append name "-" version ".tar.gz"))
  2052. (sha256
  2053. (base32
  2054. "1c23mfkdqz2g9rixd9smm323vzlvhzz3ng34ambcqjfq309qb2nz"))))
  2055. (build-system emacs-build-system)
  2056. (home-page "https://github.com/DamienCassou/shell-switcher")
  2057. (synopsis "Provide fast switching between shell buffers")
  2058. (description
  2059. "This package provides commands to quickly switch between shell buffers.")
  2060. (license license:gpl3+)))
  2061. (define-public emacs-ob-ipython
  2062. (package
  2063. (name "emacs-ob-ipython")
  2064. (version "20150704.8807064693")
  2065. (source (origin
  2066. (method git-fetch)
  2067. (uri (git-reference
  2068. (commit "880706469338ab59b5bb7dbe8460016f89755364")
  2069. (url "https://github.com/gregsexton/ob-ipython.git")))
  2070. (sha256
  2071. (base32
  2072. "1scf25snbds9ymagpny30ijbsg479r3nm0ih01dy4m9d0g7qryb7"))))
  2073. (build-system emacs-build-system)
  2074. (propagated-inputs
  2075. `(("emacs-f" ,emacs-f)))
  2076. (home-page "http://www.gregsexton.org")
  2077. (synopsis "Org-Babel functions for IPython evaluation")
  2078. (description "This package adds support to Org-Babel for evaluating Python
  2079. source code using IPython.")
  2080. (license license:gpl3+)))
  2081. (define-public emacs-debbugs
  2082. (package
  2083. (name "emacs-debbugs")
  2084. (version "0.14")
  2085. (source (origin
  2086. (method url-fetch)
  2087. (uri (string-append "https://elpa.gnu.org/packages/debbugs-"
  2088. version ".tar"))
  2089. (sha256
  2090. (base32
  2091. "07wgcvg038l88gxvjr0gjpjhyk743w22x1rqghz3gkmif0g70say"))))
  2092. (build-system emacs-build-system)
  2093. (arguments '(#:include '("\\.el$" "\\.wsdl$" "\\.info$")))
  2094. (propagated-inputs
  2095. `(("emacs-async" ,emacs-async)))
  2096. (home-page "https://elpa.gnu.org/packages/debbugs.html")
  2097. (synopsis "Access the Debbugs bug tracker in Emacs")
  2098. (description
  2099. "This package lets you access the @uref{http://bugs.gnu.org,GNU Bug
  2100. Tracker} from within Emacs.
  2101. For instance, it defines the command @code{M-x debbugs-gnu} for listing bugs,
  2102. and the command @code{M-x debbugs-gnu-search} for bug searching. If you
  2103. prefer the listing of bugs as TODO items of @code{org-mode}, you could use
  2104. @code{M-x debbugs-org} and related commands.
  2105. A minor mode @code{debbugs-browse-mode} let you browse URLs to the GNU Bug
  2106. Tracker as well as bug identifiers prepared for @code{bug-reference-mode}.")
  2107. (license license:gpl3+)))
  2108. (define-public emacs-deferred
  2109. (package
  2110. (name "emacs-deferred")
  2111. (version "0.3.2")
  2112. (home-page "https://github.com/kiwanami/emacs-deferred")
  2113. (source (origin
  2114. (method git-fetch)
  2115. (uri (git-reference
  2116. (url home-page)
  2117. (commit (string-append "v" version))))
  2118. (sha256
  2119. (base32
  2120. "0059jy01ni5irpgrj9fa81ayd9j25nvmjjm79ms3210ysx4pgqdr"))
  2121. (file-name (string-append name "-" version))))
  2122. (build-system emacs-build-system)
  2123. ;; FIXME: Would need 'el-expectations' to actually run tests.
  2124. (synopsis "Simple asynchronous functions for Emacs Lisp")
  2125. (description
  2126. "The @code{deferred.el} library provides support for asynchronous tasks.
  2127. The API is almost the same as that of
  2128. @uref{https://github.com/cho45/jsdeferred, JSDeferred}, a JavaScript library
  2129. for asynchronous tasks.")
  2130. (license license:gpl3+)))
  2131. (define-public butler
  2132. (package
  2133. (name "emacs-butler")
  2134. (version "0.2.4")
  2135. (home-page "https://github.com/AshtonKem/Butler")
  2136. (source (origin
  2137. (method git-fetch)
  2138. (uri (git-reference
  2139. (url home-page)
  2140. (commit version)))
  2141. (sha256
  2142. (base32
  2143. "1pii9dw4skq7nr4na6qxqasl36av8cwjp71bf1fgppqpcd9z8skj"))
  2144. (file-name (string-append name "-" version))))
  2145. (build-system emacs-build-system)
  2146. (propagated-inputs
  2147. `(("emacs-deferred" ,emacs-deferred)))
  2148. (synopsis "Emacs client for Jenkins")
  2149. (description
  2150. "Butler provides an interface to connect to Jenkins continuous
  2151. integration servers. Users can specify a list of server in the
  2152. @code{butler-server-list} variable and then use @code{M-x butler-status} to
  2153. view the build status of those servers' build jobs, and possibly to trigger
  2154. build jobs.")
  2155. (license license:gpl3+)))
  2156. (define-public emacs-company
  2157. (package
  2158. (name "emacs-company")
  2159. (version "0.9.3")
  2160. (source
  2161. (origin
  2162. (method url-fetch)
  2163. (uri (string-append "https://github.com/company-mode/company-mode/archive/"
  2164. version ".tar.gz"))
  2165. (file-name (string-append name "-" version ".tar.gz"))
  2166. (sha256
  2167. (base32
  2168. "1fyrpchpdmvszssy1qmsw41aqpv6q5rybvs1bw00nv9xdhiaq4vh"))))
  2169. (build-system emacs-build-system)
  2170. (arguments
  2171. `(#:phases
  2172. (modify-phases %standard-phases
  2173. (add-before 'install 'check
  2174. (lambda _
  2175. ;; The company-files-candidates-normal-root test looks
  2176. ;; for the /bin directory, but the build environment has
  2177. ;; no /bin directory. Modify the test to look for the
  2178. ;; /tmp directory.
  2179. (substitute* "test/files-tests.el"
  2180. (("/bin/") "/tmp/"))
  2181. (zero? (system* "make" "test-batch")))))))
  2182. (home-page "http://company-mode.github.io/")
  2183. (synopsis "Modular text completion framework")
  2184. (description
  2185. "Company is a modular completion mechanism. Modules for retrieving
  2186. completion candidates are called back-ends, modules for displaying them are
  2187. front-ends. Company comes with many back-ends, e.g. @code{company-elisp}.
  2188. These are distributed in separate files and can be used individually.")
  2189. (license license:gpl3+)))
  2190. (define-public emacs-multiple-cursors
  2191. (package
  2192. (name "emacs-multiple-cursors")
  2193. (version "1.4.0")
  2194. (source
  2195. (origin
  2196. (method url-fetch)
  2197. (uri (string-append "https://github.com/magnars/multiple-cursors.el/"
  2198. "archive/" version ".tar.gz"))
  2199. (file-name (string-append name "-" version ".tar.gz"))
  2200. (sha256
  2201. (base32
  2202. "0hihihlvcvzayg5fnqzcg45fhvlmq6xlq58syy00rjwbry9w389k"))))
  2203. (build-system emacs-build-system)
  2204. (home-page "https://github.com/magnars/multiple-cursors.el")
  2205. (synopsis "Multiple cursors for Emacs")
  2206. (description
  2207. "This package adds support to Emacs for editing text with multiple
  2208. simultaneous cursors.")
  2209. (license license:gpl3+)))
  2210. (define-public typo
  2211. (package
  2212. (name "emacs-typo")
  2213. (version "1.1")
  2214. (home-page "https://github.com/jorgenschaefer/typoel")
  2215. (source (origin
  2216. (method git-fetch)
  2217. (uri (git-reference
  2218. (url home-page)
  2219. (commit (string-append "v" version))))
  2220. (sha256
  2221. (base32
  2222. "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
  2223. (file-name (string-append name "-" version))))
  2224. (build-system emacs-build-system)
  2225. (synopsis "Minor mode for typographic editing")
  2226. (description
  2227. "This package provides two Emacs modes, @code{typo-mode} and
  2228. @code{typo-global-mode}. These modes automatically insert Unicode characters
  2229. for quotation marks, dashes, and ellipses. For example, typing @kbd{\"}
  2230. automatically inserts a Unicode opening or closing quotation mark, depending
  2231. on context.")
  2232. (license license:gpl3+)))
  2233. (define-public emacs-scheme-complete
  2234. (let ((commit "9b5cf224bf2a5994bc6d5b152ff487517f1a9bb5"))
  2235. (package
  2236. (name "emacs-scheme-complete")
  2237. (version (string-append "20151223." (string-take commit 8)))
  2238. (source
  2239. (origin
  2240. (file-name (string-append name "-" version))
  2241. (method git-fetch)
  2242. (uri (git-reference
  2243. (url "https://github.com/ashinn/scheme-complete.git")
  2244. (commit commit)))
  2245. (sha256
  2246. (base32
  2247. "141wn9l0m33w0g3dqmx8nxbfdny1r5xbr6ak61rsz21bk0qafs7x"))
  2248. (patches
  2249. (search-patches "emacs-scheme-complete-scheme-r5rs-info.patch"))))
  2250. (build-system emacs-build-system)
  2251. (home-page "https://github.com/ashinn/scheme-complete")
  2252. (synopsis "Smart tab completion for Scheme in Emacs")
  2253. (description
  2254. "This file provides a single function, @code{scheme-smart-complete},
  2255. which you can use for intelligent, context-sensitive completion for any Scheme
  2256. implementation in Emacs. To use it just load this file and bind that function
  2257. to a key in your preferred mode.")
  2258. (license license:public-domain))))
  2259. (define-public emacs-mit-scheme-doc
  2260. (package
  2261. (name "emacs-mit-scheme-doc")
  2262. (version "20140203")
  2263. (source
  2264. (origin
  2265. (modules '((guix build utils)))
  2266. (snippet
  2267. ;; keep only file of interest
  2268. '(begin
  2269. (for-each delete-file '("dot-emacs.el" "Makefile"))
  2270. (install-file "6.945-config/mit-scheme-doc.el" ".")
  2271. (delete-file-recursively "6.945-config")))
  2272. (file-name (string-append name "-" version ".tar.bz2"))
  2273. (method url-fetch)
  2274. (uri (string-append "http://groups.csail.mit.edu/mac/users/gjs/"
  2275. "6.945/dont-panic/emacs-basic-config.tar.bz2"))
  2276. (sha256
  2277. (base32
  2278. "0dqidg2bd66pawqfarvwca93w5gqf9mikn1k2a2rmd9ymfjpziq1"))))
  2279. (build-system emacs-build-system)
  2280. (inputs `(("mit-scheme" ,mit-scheme)))
  2281. (arguments
  2282. `(#:phases
  2283. (modify-phases %standard-phases
  2284. (add-after 'unpack 'configure-doc
  2285. (lambda* (#:key inputs #:allow-other-keys)
  2286. (let* ((mit-scheme-dir (assoc-ref inputs "mit-scheme"))
  2287. (doc-dir (string-append mit-scheme-dir "/share/doc/"
  2288. "mit-scheme-"
  2289. ,(package-version mit-scheme))))
  2290. (substitute* "mit-scheme-doc.el"
  2291. (("http://www\\.gnu\\.org/software/mit-scheme/documentation/mit-scheme-ref/")
  2292. (string-append "file:" doc-dir "/mit-scheme-ref/")))))))))
  2293. (home-page "http://groups.csail.mit.edu/mac/users/gjs/6.945/dont-panic/")
  2294. (synopsis "MIT-Scheme documentation lookup for Emacs")
  2295. (description
  2296. "This package provides a set of Emacs functions to search definitions of
  2297. identifiers in the MIT-Scheme documentation.")
  2298. (license license:gpl2+)))
  2299. (define-public emacs-constants
  2300. (package
  2301. (name "emacs-constants")
  2302. (version "2.6")
  2303. (home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
  2304. (source
  2305. (origin
  2306. (file-name (string-append name "-" version ".tar.gz"))
  2307. (method url-fetch)
  2308. (uri (string-append "https://github.com/fedeinthemix/emacs-constants"
  2309. "/archive/v" version ".tar.gz"))
  2310. (sha256
  2311. (base32
  2312. "0pnrpmmxq8mh5h2hbrp5vcym0j0fh6dv3s7c5ccn18wllhzg9g7n"))))
  2313. (build-system emacs-build-system)
  2314. (synopsis "Enter definition of constants into an Emacs buffer")
  2315. (description
  2316. "This package provides functions for inserting the definition of natural
  2317. constants and units into an Emacs buffer.")
  2318. (license license:gpl2+)))
  2319. (define-public emacs-tagedit
  2320. (package
  2321. (name "emacs-tagedit")
  2322. (version "1.4.0")
  2323. (source
  2324. (origin
  2325. (method url-fetch)
  2326. (uri (string-append "https://github.com/magnars/tagedit/"
  2327. "archive/" version ".tar.gz"))
  2328. (file-name (string-append name "-" version ".tar.gz"))
  2329. (sha256
  2330. (base32
  2331. "1apfnann4qklfdsmdi7icjsj18x7gwx8d83iqr4z25clszz95xfq"))))
  2332. (build-system emacs-build-system)
  2333. (propagated-inputs
  2334. `(("emacs-s" ,emacs-s)
  2335. ("emacs-dash" ,emacs-dash)))
  2336. (home-page "https://github.com/magnars/tagedit")
  2337. (synopsis "Some paredit-like features for html-mode")
  2338. (description
  2339. "This package provides a collection of paredit-like functions for editing
  2340. in @code{html-mode}.")
  2341. (license license:gpl3+)))
  2342. (define-public emacs-slime
  2343. (package
  2344. (name "emacs-slime")
  2345. (version "2.20")
  2346. (source
  2347. (origin
  2348. (file-name (string-append name "-" version ".tar.gz"))
  2349. (method url-fetch)
  2350. (uri (string-append
  2351. "https://github.com/slime/slime/archive/v"
  2352. version ".tar.gz"))
  2353. (sha256
  2354. (base32
  2355. "086lq5y4pvj9wihy0si02xxvyzpzz8mcg3hz1cvy9zxlyjwzr1gk"))))
  2356. (build-system emacs-build-system)
  2357. (native-inputs
  2358. `(("texinfo" ,texinfo)))
  2359. (arguments
  2360. `(#:include '("\\.el$" "\\.lisp$" "\\.asd$" "contrib")
  2361. #:exclude '("^slime-tests.el" "^contrib/test/"
  2362. "^contrib/Makefile$" "^contrib/README.md$")
  2363. #:phases
  2364. (modify-phases %standard-phases
  2365. (add-before 'install 'configure
  2366. (lambda* _
  2367. (emacs-substitute-variables "slime.el"
  2368. ("inferior-lisp-program" "sbcl"))
  2369. #t))
  2370. (add-before 'install 'install-doc
  2371. (lambda* (#:key outputs #:allow-other-keys)
  2372. (let* ((out (assoc-ref outputs "out"))
  2373. (info-dir (string-append out "/share/info"))
  2374. (doc-dir (string-append out "/share/doc/"
  2375. ,name "-" ,version))
  2376. (doc-files '("doc/slime-refcard.pdf"
  2377. "README.md" "NEWS" "PROBLEMS"
  2378. "CONTRIBUTING.md")))
  2379. (with-directory-excursion "doc"
  2380. (substitute* "Makefile"
  2381. (("infodir=/usr/local/info")
  2382. (string-append "infodir=" info-dir)))
  2383. (system* "make" "html/index.html")
  2384. (system* "make" "slime.info")
  2385. (install-file "slime.info" info-dir)
  2386. (copy-recursively "html" (string-append doc-dir "/html")))
  2387. (for-each (lambda (f)
  2388. (install-file f doc-dir)
  2389. (delete-file f))
  2390. doc-files)
  2391. (delete-file-recursively "doc")
  2392. #t))))))
  2393. (home-page "https://github.com/slime/slime")
  2394. (synopsis "Superior Lisp Interaction Mode for Emacs")
  2395. (description
  2396. "SLIME extends Emacs with support for interactive programming in
  2397. Common Lisp. The features are centered around @{slime-mode}, an Emacs
  2398. minor mode that complements the standard @{lisp-mode}. While lisp-mode
  2399. supports editing Lisp source files, @{slime-mode} adds support for
  2400. interacting with a running Common Lisp process for compilation,
  2401. debugging, documentation lookup, and so on.")
  2402. (license license:gpl2+)))
  2403. (define-public emacs-popup
  2404. (package
  2405. (name "emacs-popup")
  2406. (version "0.5.3")
  2407. (source (origin
  2408. (method url-fetch)
  2409. (uri (string-append
  2410. "https://github.com/auto-complete/popup-el/archive/v"
  2411. version ".tar.gz"))
  2412. (file-name (string-append name "-" version ".tar.gz"))
  2413. (sha256
  2414. (base32
  2415. "1yrgfj8y69xmcb6kwgplhq68ndm9410qwh7sd2knnd1gchpphdc0"))))
  2416. (build-system emacs-build-system)
  2417. (home-page "https://github.com/auto-complete/popup-el")
  2418. (synopsis "Visual Popup User Interface for Emacs")
  2419. (description
  2420. "Popup.el is a visual popup user interface library for Emacs.
  2421. This provides a basic API and common UI widgets such as popup tooltips
  2422. and popup menus.")
  2423. (license license:gpl3+)))
  2424. (define-public emacs-god-mode
  2425. (let ((commit "6cf0807b6555eb6fcf8387a4e3b667071ef38964")
  2426. (revision "1"))
  2427. (package
  2428. (name "emacs-god-mode")
  2429. (version (string-append "20151005.925."
  2430. revision "-" (string-take commit 9)))
  2431. (source
  2432. (origin
  2433. (method git-fetch)
  2434. (uri (git-reference
  2435. (url "https://github.com/chrisdone/god-mode.git")
  2436. (commit commit)))
  2437. (file-name (string-append name "-" version "-checkout"))
  2438. (sha256
  2439. (base32
  2440. "1am415k4xxcva6y3vbvyvknzc6bma49pq3p85zmpjsdmsp18qdix"))))
  2441. (build-system emacs-build-system)
  2442. (home-page "https://github.com/chrisdone/god-mode")
  2443. (synopsis "Minor mode for entering commands without modifier keys")
  2444. (description
  2445. "This package provides a global minor mode for entering Emacs commands
  2446. without modifier keys. It's similar to Vim's separation of commands and
  2447. insertion mode. When enabled all keys are implicitly prefixed with
  2448. @samp{C-} (among other helpful shortcuts).")
  2449. (license license:gpl3+))))
  2450. (define-public emacs-jinja2-mode
  2451. (package
  2452. (name "emacs-jinja2-mode")
  2453. (version "0.2")
  2454. (source
  2455. (origin
  2456. (method url-fetch)
  2457. (uri (string-append "https://github.com/paradoxxxzero/jinja2-mode/"
  2458. "archive/v" version ".tar.gz"))
  2459. (file-name (string-append name "-" version ".tar.gz"))
  2460. (sha256
  2461. (base32
  2462. "0cgxjab1kla2zc2fj7bzib6i7snp08zshandmp9kqcm85l262xpn"))))
  2463. (build-system emacs-build-system)
  2464. (home-page "https://github.com/paradoxxxzero/jinja2-mode")
  2465. (synopsis "Major mode for jinja2")
  2466. (description
  2467. "Emacs major mode for jinja2 with: syntax highlighting,
  2468. sgml/html integration, and indentation (working with sgml).")
  2469. (license license:gpl3+)))
  2470. (define-public emacs-rfcview
  2471. (package
  2472. (name "emacs-rfcview")
  2473. (version "0.13")
  2474. (home-page "http://www.loveshack.ukfsn.org/emacs")
  2475. (source (origin
  2476. (method url-fetch)
  2477. (uri "http://www.loveshack.ukfsn.org/emacs/rfcview.el")
  2478. (sha256
  2479. (base32
  2480. "0ympj5rxig383zl2jf0pzdsa80nnq0dpvjiriq0ivfi98fj7kxbz"))))
  2481. (build-system emacs-build-system)
  2482. (synopsis "Prettify Request for Comments (RFC) documents")
  2483. (description "The Internet Engineering Task Force (IETF) and the Internet
  2484. Society (ISOC) publish various Internet-related protocols and specifications
  2485. as \"Request for Comments\" (RFC) documents and Internet Standard (STD)
  2486. documents. RFCs and STDs are published in a simple text form. This package
  2487. provides an Emacs major mode, rfcview-mode, which makes it more pleasant to
  2488. read these documents in Emacs. It prettifies the text and adds
  2489. hyperlinks/menus for easier navigation. It also provides functions for
  2490. browsing the index of RFC documents and fetching them from remote servers or
  2491. local directories.")
  2492. (license license:gpl3+)))
  2493. (define-public emacs-ffap-rfc-space
  2494. (package
  2495. (name "emacs-ffap-rfc-space")
  2496. (version "12")
  2497. (home-page "http://user42.tuxfamily.org/ffap-rfc-space/index.html")
  2498. (source (origin
  2499. (method url-fetch)
  2500. (uri "http://download.tuxfamily.org/user42/ffap-rfc-space.el")
  2501. (sha256
  2502. (base32
  2503. "1iv61dv57a73mdps7rn6zmgz7nqh14v0ninidyrasy45b1nv6gck"))))
  2504. (build-system emacs-build-system)
  2505. (synopsis "Make ffap recognize an RFC with a space before its number")
  2506. (description "The Internet Engineering Task Force (IETF) and the
  2507. Internet Society (ISOC) publish various Internet-related protocols and
  2508. specifications as \"Request for Comments\" (RFC) documents. The
  2509. built-in Emacs module \"ffap\" (Find File at Point) has the ability to
  2510. recognize names at point which look like \"RFC1234\" and \"RFC-1234\"
  2511. and load the appropriate RFC from a remote server. However, it fails
  2512. to recognize a name like \"RFC 1234\". This package enhances ffap so
  2513. that it correctly finds RFCs even when a space appears before the
  2514. number.")
  2515. (license license:gpl3+)))
  2516. (define-public emacs-org-bullets
  2517. (package
  2518. (name "emacs-org-bullets")
  2519. (version "0.2.4")
  2520. (source
  2521. (origin
  2522. (method url-fetch)
  2523. (uri (string-append "https://github.com/sabof/org-bullets/archive/"
  2524. version ".tar.gz"))
  2525. (file-name (string-append name "-" version ".tar.gz"))
  2526. (sha256
  2527. (base32
  2528. "1dyxvpb73vj80v8br2q9rf255hfphrgaw91fbvwdcd735np9pcnh"))))
  2529. (build-system emacs-build-system)
  2530. (home-page "https://github.com/sabof/org-bullets")
  2531. (synopsis "Show bullets in org-mode as UTF-8 characters")
  2532. (description
  2533. "This package provides an Emacs minor mode causing bullets in
  2534. @code{org-mode} to be rendered as UTF-8 characters.")
  2535. (license license:gpl3+)))
  2536. (define-public emacs-org-pomodoro
  2537. (package
  2538. (name "emacs-org-pomodoro")
  2539. (version "2.1.0")
  2540. (source
  2541. (origin
  2542. (method url-fetch)
  2543. (uri (string-append
  2544. "https://github.com/lolownia/org-pomodoro/archive/"
  2545. version ".tar.gz"))
  2546. (file-name (string-append name "-" version ".tar.gz"))
  2547. (sha256
  2548. (base32
  2549. "1jalsggw3q5kvj353f84x4nl04a5vmq07h75ggppy1627lb31zm4"))))
  2550. (build-system emacs-build-system)
  2551. (propagated-inputs
  2552. `(("emacs-alert" ,emacs-alert)))
  2553. (home-page "https://github.com/lolownia/org-pomodoro")
  2554. (synopsis "Pomodoro technique for org-mode")
  2555. (description "@code{emacs-org-pomodoro} adds very basic support for
  2556. Pomodoro technique in Emacs org-mode.
  2557. Run @code{M-x org-pomodoro} for the task at point or select one of the
  2558. last tasks that you clocked time for. Each clocked-in pomodoro starts
  2559. a timer of 25 minutes and after each pomodoro a break timer of 5
  2560. minutes is started automatically. Every 4 breaks a long break is
  2561. started with 20 minutes. All values are customizable.")
  2562. (license license:gpl3+)))
  2563. (define-public emacs-org-trello
  2564. (package
  2565. (name "emacs-org-trello")
  2566. (version "0.7.9")
  2567. (source (origin
  2568. (method url-fetch)
  2569. (uri (string-append
  2570. "https://github.com/org-trello/org-trello/archive/"
  2571. version ".tar.gz"))
  2572. (file-name (string-append name "-" version ".tar.gz"))
  2573. (sha256
  2574. (base32
  2575. "074dka8g673bj1ck5vavbjaij5jyniygdlw51mdds005wd2br9wf"))))
  2576. (build-system emacs-build-system)
  2577. (propagated-inputs
  2578. `(("emacs-deferred" ,emacs-deferred)
  2579. ("emacs-request" ,emacs-request)
  2580. ("emacs-dash" ,emacs-dash)
  2581. ("emacs-s" ,emacs-s)))
  2582. (home-page "https://org-trello.github.io")
  2583. (synopsis "Emacs minor mode for interacting with Trello")
  2584. (description "This package provides an Emacs minor mode to extend
  2585. @code{org-mode} with Trello abilities. Trello is an online project
  2586. organizer.")
  2587. (license license:gpl3+)))
  2588. (define-public emacs-zenburn-theme
  2589. (package
  2590. (name "emacs-zenburn-theme")
  2591. (version "2.5")
  2592. (source (origin
  2593. (method url-fetch)
  2594. (uri (string-append
  2595. "https://github.com/bbatsov/zenburn-emacs/archive/v"
  2596. version ".tar.gz"))
  2597. (file-name (string-append name "-" version ".tar.gz"))
  2598. (sha256
  2599. (base32
  2600. "03kfhzgbbbl8ivpzzky6qxw4j9mmp452m1sk7wikxmcalfnix0gn"))))
  2601. (build-system emacs-build-system)
  2602. (home-page "https://github.com/bbatsov/zenburn-emacs")
  2603. (synopsis "Low contrast color theme for Emacs")
  2604. (description
  2605. "Zenburn theme is a port of the popular Vim Zenburn theme for Emacs.
  2606. It is built on top of the custom theme support in Emacs 24 or later.")
  2607. (license license:gpl3+)))
  2608. (define-public emacs-solarized-theme
  2609. (package
  2610. (name "emacs-solarized-theme")
  2611. (version "1.2.2")
  2612. (source (origin
  2613. (method url-fetch)
  2614. (uri (string-append "https://github.com/bbatsov/solarized-emacs/"
  2615. "archive/v" version ".tar.gz"))
  2616. (file-name (string-append name "-" version ".tar.gz"))
  2617. (sha256
  2618. (base32
  2619. "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx"))))
  2620. (build-system emacs-build-system)
  2621. (propagated-inputs
  2622. `(("emacs-dash" ,emacs-dash)))
  2623. (home-page "https://github.com/bbatsov/solarized-emacs")
  2624. (synopsis "Port of the Solarized theme for Emacs")
  2625. (description
  2626. "Solarized for Emacs is a port of the Solarized theme for Vim. This
  2627. package provides a light and a dark variant.")
  2628. (license license:gpl3+)))
  2629. (define-public emacs-ahungry-theme
  2630. (package
  2631. (name "emacs-ahungry-theme")
  2632. (version "1.4.0")
  2633. (source
  2634. (origin (method url-fetch)
  2635. (uri (string-append "https://elpa.gnu.org/packages/ahungry-theme-"
  2636. version ".tar"))
  2637. (sha256
  2638. (base32
  2639. "1n8k12mfn01f20j0pyd7ycj77x0y3a008xc94frklaaqjc0v26s4"))))
  2640. (build-system emacs-build-system)
  2641. (home-page "https://github.com/ahungry/color-theme-ahungry")
  2642. (synopsis "Ahungry color theme for Emacs")
  2643. (description "Ahungry theme for Emacs provides bright and bold colors.
  2644. If you load it from a terminal, you will be able to make use of the
  2645. transparent background. If you load it from a GUI, it will default to a
  2646. dark background.")
  2647. (license license:gpl3+)))
  2648. (define-public emacs-2048-game
  2649. (package
  2650. (name "emacs-2048-game")
  2651. (version "20151026.1233")
  2652. (source
  2653. (origin
  2654. (method url-fetch)
  2655. (uri (string-append "https://melpa.org/packages/2048-game-"
  2656. version ".el"))
  2657. (sha256
  2658. (base32
  2659. "0gy2pvz79whpavp4jmz8h9krzn7brmvv3diixi1d4w51pcdvaldd"))))
  2660. (build-system emacs-build-system)
  2661. (home-page "https://bitbucket.org/zck/2048.el")
  2662. (synopsis "Implementation of the game 2048 in Emacs Lisp")
  2663. (description
  2664. "This program is an implementation of 2048 for Emacs.
  2665. The goal of this game is to create a tile with value 2048. The size of the
  2666. board and goal value can be customized.")
  2667. (license license:gpl3+)))
  2668. (define-public emacs-base16-theme
  2669. (package
  2670. (name "emacs-base16-theme")
  2671. (version "2.1")
  2672. (source
  2673. (origin
  2674. (method url-fetch)
  2675. (uri (string-append "https://stable.melpa.org/packages/base16-theme-"
  2676. version ".tar"))
  2677. (sha256
  2678. (base32
  2679. "0z6hrwz2jlz6jbr381rcqcqvx6hss5cad352klx07rark7zccacj"))))
  2680. (build-system emacs-build-system)
  2681. (home-page "https://github.com/belak/base16-emacs")
  2682. (synopsis "Base16 color themes for Emacs")
  2683. (description
  2684. "Base16 provides carefully chosen syntax highlighting and a default set
  2685. of sixteen colors suitable for a wide range of applications. Base16 is not a
  2686. single theme but a set of guidelines with numerous implementations.")
  2687. (license license:expat)))
  2688. (define-public emacs-smartparens
  2689. (package
  2690. (name "emacs-smartparens")
  2691. (version "1.10.1")
  2692. (source (origin
  2693. (method url-fetch)
  2694. (uri (string-append
  2695. "https://github.com/Fuco1/smartparens/archive/"
  2696. version ".tar.gz"))
  2697. (file-name (string-append name "-" version ".tar.gz"))
  2698. (sha256
  2699. (base32
  2700. "1nwsi6fbbxjq3r22r6knmx71la3g0lmwfb95i9q4k138gn0m2l3i"))))
  2701. (build-system emacs-build-system)
  2702. (propagated-inputs `(("emacs-dash" ,emacs-dash)))
  2703. (home-page "https://github.com/Fuco1/smartparens")
  2704. (synopsis "Paredit-like insertion, wrapping and navigation with user
  2705. defined pairs")
  2706. (description
  2707. "Smartparens is a minor mode for Emacs that deals with parens pairs
  2708. and tries to be smart about it. It started as a unification effort to
  2709. combine functionality of several existing packages in a single,
  2710. compatible and extensible way to deal with parentheses, delimiters, tags
  2711. and the like. Some of these packages include autopair, textmate,
  2712. wrap-region, electric-pair-mode, paredit and others. With the basic
  2713. features found in other packages it also brings many improvements as
  2714. well as completely new features.")
  2715. (license license:gpl3+)))
  2716. (define-public emacs-highlight-symbol
  2717. (package
  2718. (name "emacs-highlight-symbol")
  2719. (version "1.3")
  2720. (source (origin
  2721. (method url-fetch)
  2722. (uri (string-append
  2723. "https://github.com/nschum/highlight-symbol.el/archive/"
  2724. version ".tar.gz"))
  2725. (file-name (string-append name "-" version ".tar.gz"))
  2726. (sha256
  2727. (base32
  2728. "1n7k1qns0fn0jsyc0hrjac5nzk21xw48yc30vyrhwvc51h0b9g90"))))
  2729. (build-system emacs-build-system)
  2730. (home-page "https://nschum.de/src/emacs/highlight-symbol")
  2731. (synopsis "Automatic and manual symbol highlighting for Emacs")
  2732. (description
  2733. "Use @code{highlight-symbol} to toggle highlighting of the symbol at
  2734. point throughout the current buffer. Use @code{highlight-symbol-mode} to keep
  2735. the symbol at point highlighted.
  2736. The functions @code{highlight-symbol-next}, @code{highlight-symbol-prev},
  2737. @code{highlight-symbol-next-in-defun} and
  2738. @code{highlight-symbol-prev-in-defun} allow for cycling through the locations
  2739. of any symbol at point. Use @code{highlight-symbol-nav-mode} to enable key
  2740. bindings @code{M-p} and @code{M-p} for navigation. When
  2741. @code{highlight-symbol-on-navigation-p} is set, highlighting is triggered
  2742. regardless of @code{highlight-symbol-idle-delay}.
  2743. @code{highlight-symbol-query-replace} can be used to replace the symbol. ")
  2744. (license license:gpl2+)))
  2745. (define-public emacs-hl-todo
  2746. (package
  2747. (name "emacs-hl-todo")
  2748. (version "1.7.4")
  2749. (source (origin
  2750. (method url-fetch)
  2751. (uri (string-append
  2752. "https://raw.githubusercontent.com/tarsius/hl-todo/"
  2753. version "/hl-todo.el"))
  2754. (file-name (string-append "hl-todo-" version ".el"))
  2755. (sha256
  2756. (base32
  2757. "016ivl4s0ysrm1xbfi86j5xcs759fcb0mkspxw81x8mpi3yb46ya"))))
  2758. (build-system emacs-build-system)
  2759. (home-page "https://github.com/tarsius/hl-todo")
  2760. (synopsis "Emacs mode to highlight TODO and similar keywords")
  2761. (description
  2762. "This package provides an Emacs mode to highlight TODO and similar
  2763. keywords in comments and strings. This package also provides commands for
  2764. moving to the next or previous keyword and to invoke @code{occur} with a
  2765. regexp that matches all known keywords.")
  2766. (license license:gpl3+)))
  2767. (define-public emacs-perspective
  2768. (package
  2769. (name "emacs-perspective")
  2770. (version "1.12")
  2771. (source
  2772. (origin
  2773. (method url-fetch)
  2774. (uri (string-append "https://github.com/nex3/perspective-el/"
  2775. "archive/" version ".tar.gz"))
  2776. (file-name (string-append name "-" version ".tar.gz"))
  2777. (sha256
  2778. (base32
  2779. "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
  2780. (build-system emacs-build-system)
  2781. (home-page "https://github.com/nex3/perspective-el")
  2782. (synopsis "Switch between named \"perspectives\"")
  2783. (description
  2784. "This package provides tagged workspaces in Emacs, similar to workspaces in
  2785. windows managers such as Awesome and XMonad. @code{perspective.el} provides
  2786. multiple workspaces (or \"perspectives\") for each Emacs frame. Each
  2787. perspective is composed of a window configuration and a set of buffers.
  2788. Switching to a perspective activates its window configuration, and when in a
  2789. perspective only its buffers are available by default.")
  2790. ;; This package is released under the same license as Emacs (GPLv3+) or
  2791. ;; the Expat license.
  2792. (license license:gpl3+)))
  2793. (define-public emacs-request
  2794. (package
  2795. (name "emacs-request")
  2796. (version "0.2.0")
  2797. (source (origin
  2798. (method url-fetch)
  2799. (uri (string-append
  2800. "https://github.com/tkf/emacs-request/archive/v"
  2801. version ".tar.gz"))
  2802. (file-name (string-append name "-" version ".tar.gz"))
  2803. (sha256
  2804. (base32 "0sll9g9x15jxrdr58pdxx4iz74rnjd43q521iqm890i6hmkrgwap"))))
  2805. (build-system emacs-build-system)
  2806. (home-page "https://github.com/tkf/emacs-request")
  2807. (synopsis "Package for speaking HTTP in Emacs Lisp")
  2808. (description "This package provides a HTTP request library with multiple
  2809. backends. It supports url.el which is shipped with Emacs and the curl command
  2810. line program.")
  2811. (license license:gpl3+)))
  2812. (define-public emacs-rudel
  2813. (package
  2814. (name "emacs-rudel")
  2815. (version "0.3.1")
  2816. (source
  2817. (origin
  2818. (method url-fetch)
  2819. (uri (string-append "http://elpa.gnu.org/packages/rudel-"
  2820. version ".tar"))
  2821. (sha256
  2822. (base32
  2823. "0glqa68g509p0s2vcc0i8kzlddnc9brd9jqhnm5rzxz4i050cvnz"))))
  2824. (build-system emacs-build-system)
  2825. (home-page "http://rudel.sourceforge.net/")
  2826. (synopsis "Collaborative editing framework")
  2827. (description
  2828. "Rudel is a collaborative editing environment for GNU Emacs. Its purpose
  2829. is to share buffers with other users in order to edit the contents of those
  2830. buffers collaboratively. Rudel supports multiple backends to enable
  2831. communication with other collaborative editors using different protocols,
  2832. though currently Obby (for use with the Gobby editor) is the only
  2833. fully-functional one.")
  2834. (license license:gpl3+)))
  2835. (define-public emacs-hydra
  2836. (package
  2837. (name "emacs-hydra")
  2838. (version "0.13.6")
  2839. (source
  2840. (origin
  2841. (method url-fetch)
  2842. (uri (string-append "https://github.com/abo-abo/hydra/archive/"
  2843. version ".tar.gz"))
  2844. (file-name (string-append name "-" version ".tar.gz"))
  2845. (sha256
  2846. (base32
  2847. "0575vh858gm35p57s49dy6pc2ij46dmj9zaa4z0cp98sqra3j3l0"))))
  2848. (build-system emacs-build-system)
  2849. (home-page "https://github.com/abo-abo/hydra")
  2850. (synopsis "Make Emacs bindings that stick around")
  2851. (description
  2852. "This package can be used to tie related commands into a family of short
  2853. bindings with a common prefix---a Hydra. Once you summon the Hydra (through
  2854. the prefixed binding), all the heads can be called in succession with only a
  2855. short extension. Any binding that isn't the Hydra's head vanquishes the
  2856. Hydra. Note that the final binding, besides vanquishing the Hydra, will still
  2857. serve its original purpose, calling the command assigned to it. This makes
  2858. the Hydra very seamless; it's like a minor mode that disables itself
  2859. automatically.")
  2860. (license license:gpl3+)))
  2861. (define-public emacs-ivy
  2862. (package
  2863. (name "emacs-ivy")
  2864. (version "0.9.1")
  2865. (source
  2866. (origin
  2867. (method url-fetch)
  2868. (uri (string-append "https://github.com/abo-abo/swiper/archive/"
  2869. version ".tar.gz"))
  2870. (file-name (string-append name "-" version ".tar.gz"))
  2871. (sha256
  2872. (base32
  2873. "1abi1rvjarwfxxylpx8qlhck0kbavnj0nmlaaizk9q5zr02xfx1j"))))
  2874. (build-system emacs-build-system)
  2875. (propagated-inputs
  2876. `(("emacs-hydra" ,emacs-hydra)))
  2877. (home-page "http://oremacs.com/swiper/")
  2878. (synopsis "Incremental vertical completion for Emacs")
  2879. (description
  2880. "This package provides @code{ivy-read} as an alternative to
  2881. @code{completing-read} and similar functions. No attempt is made to determine
  2882. the best candidate. Instead, the user can navigate candidates with
  2883. @code{ivy-next-line} and @code{ivy-previous-line}. The matching is done by
  2884. splitting the input text by spaces and re-building it into a regular
  2885. expression.")
  2886. (license license:gpl3+)))
  2887. (define-public emacs-avy
  2888. (package
  2889. (name "emacs-avy")
  2890. (version "0.4.0")
  2891. (source
  2892. (origin
  2893. (method url-fetch)
  2894. (uri (string-append "https://github.com/abo-abo/avy/archive/"
  2895. version ".tar.gz"))
  2896. (file-name (string-append name "-" version ".tar.gz"))
  2897. (sha256
  2898. (base32
  2899. "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
  2900. (build-system emacs-build-system)
  2901. (home-page "https://github.com/abo-abo/avy")
  2902. (synopsis "Tree-based completion for Emacs")
  2903. (description
  2904. "This package provides a generic completion method based on building a
  2905. balanced decision tree with each candidate being a leaf. To traverse the tree
  2906. from the root to a desired leaf, typically a sequence of @code{read-key} can
  2907. be used.
  2908. In order for @code{read-key} to make sense, the tree needs to be visualized
  2909. appropriately, with a character at each branch node. So this completion
  2910. method works only for things that you can see on your screen, all at once,
  2911. such as the positions of characters, words, line beginnings, links, or
  2912. windows.")
  2913. (license license:gpl3+)))
  2914. (define-public emacs-ace-window
  2915. (package
  2916. (name "emacs-ace-window")
  2917. (version "0.9.0")
  2918. (source
  2919. (origin
  2920. (method url-fetch)
  2921. (uri (string-append "https://github.com/abo-abo/ace-window/archive/"
  2922. version ".tar.gz"))
  2923. (file-name (string-append name "-" version ".tar.gz"))
  2924. (sha256
  2925. (base32
  2926. "1p2sgfl5dml4zbd6ldql6lm2m9vmd236ah996ni32x254s48j5pn"))))
  2927. (build-system emacs-build-system)
  2928. (propagated-inputs
  2929. `(("emacs-avy" ,emacs-avy)))
  2930. (home-page "https://github.com/abo-abo/ace-window")
  2931. (synopsis "Quickly switch windows in Emacs")
  2932. (description
  2933. "@code{ace-window} is meant to replace @code{other-window}.
  2934. In fact, when there are only two windows present, @code{other-window} is
  2935. called. If there are more, each window will have its first character
  2936. highlighted. Pressing that character will switch to that window.")
  2937. (license license:gpl3+)))
  2938. (define-public emacs-iedit
  2939. (package
  2940. (name "emacs-iedit")
  2941. (version "0.9.9.9")
  2942. (source
  2943. (origin
  2944. (method url-fetch)
  2945. (uri (string-append "https://github.com/victorhge/iedit/archive/v"
  2946. version ".tar.gz"))
  2947. (file-name (string-append name "-" version ".tar.gz"))
  2948. (sha256
  2949. (base32
  2950. "1hv8q6pr85ss9g3158l1fqv3m62vsq8rslsi86jicr2dcxyascr0"))))
  2951. (build-system emacs-build-system)
  2952. (home-page "http://www.emacswiki.org/emacs/Iedit")
  2953. (synopsis "Edit multiple regions in the same way simultaneously")
  2954. (description
  2955. "This package is an Emacs minor mode and allows you to edit one
  2956. occurrence of some text in a buffer (possibly narrowed) or region, and
  2957. simultaneously have other occurrences edited in the same way.
  2958. You can also use Iedit mode as a quick way to temporarily show only the buffer
  2959. lines that match the current text being edited. This gives you the effect of
  2960. a temporary @code{keep-lines} or @code{occur}.")
  2961. (license license:gpl3+)))
  2962. (define-public emacs-lispy
  2963. (package
  2964. (name "emacs-lispy")
  2965. (version "0.26.0")
  2966. (source
  2967. (origin
  2968. (method url-fetch)
  2969. (uri (string-append "https://github.com/abo-abo/lispy/archive/"
  2970. version ".tar.gz"))
  2971. (file-name (string-append name "-" version ".tar.gz"))
  2972. (sha256
  2973. (base32
  2974. "15gig95cvamw5zlw99cxggd27c18b9scznjj97gvjn2zbljcaqzl"))))
  2975. (build-system emacs-build-system)
  2976. (propagated-inputs
  2977. `(("emacs-ace-window" ,emacs-ace-window)
  2978. ("emacs-iedit" ,emacs-iedit)
  2979. ("emacs-ivy" ,emacs-ivy)
  2980. ("emacs-hydra" ,emacs-hydra)))
  2981. (home-page "https://github.com/abo-abo/lispy")
  2982. (synopsis "Modal S-expression editing")
  2983. (description
  2984. "Due to the structure of Lisp syntax it's very rare for the programmer to
  2985. want to insert characters right before \"(\" or right after \")\". Thus
  2986. unprefixed printable characters can be used to call commands when the point is
  2987. at one of these special locations. Lispy provides unprefixed keybindings for
  2988. S-expression editing when point is at the beginning or end of an
  2989. S-expression.")
  2990. (license license:gpl3+)))
  2991. (define-public emacs-clojure-mode
  2992. (package
  2993. (name "emacs-clojure-mode")
  2994. (version "5.4.0")
  2995. (source (origin
  2996. (method url-fetch)
  2997. (uri (string-append
  2998. "https://github.com/clojure-emacs/clojure-mode/archive/"
  2999. version ".tar.gz"))
  3000. (file-name (string-append name "-" version ".tar.gz"))
  3001. (sha256
  3002. (base32
  3003. "117mvjqh4nm8mvmwmmvy4qmkdg23ldlzk08y91g8b8ac8kxwqg81"))))
  3004. (build-system emacs-build-system)
  3005. (native-inputs
  3006. `(("emacs-dash" ,emacs-dash)
  3007. ("emacs-s" ,emacs-s)
  3008. ("ert-runner" ,ert-runner)))
  3009. (arguments
  3010. `(#:phases
  3011. (modify-phases %standard-phases
  3012. (add-after 'install 'check
  3013. (lambda _
  3014. (zero? (system* "ert-runner")))))))
  3015. (home-page "https://github.com/clojure-emacs/clojure-mode")
  3016. (synopsis "Major mode for Clojure code")
  3017. (description
  3018. "This Emacs package provides font-lock, indentation, navigation and basic
  3019. refactoring for the @uref{http://clojure.org, Clojure programming language}.
  3020. It is recommended to use @code{clojure-mode} with paredit or smartparens.")
  3021. (license license:gpl3+)))
  3022. (define-public emacs-epl
  3023. (package
  3024. (name "emacs-epl")
  3025. (version "0.8")
  3026. (source (origin
  3027. (method url-fetch)
  3028. (uri (string-append
  3029. "https://github.com/cask/epl/archive/"
  3030. version ".tar.gz"))
  3031. (sha256
  3032. (base32
  3033. "1511n3a3f5gvaf2b4nh018by61ciyzi3y3603fzqma7p9hrckarc"))))
  3034. (build-system emacs-build-system)
  3035. (home-page "https://github.com/cask/epl")
  3036. (synopsis "Emacs Package Library")
  3037. (description
  3038. "A package management library for Emacs, based on @code{package.el}.
  3039. The purpose of this library is to wrap all the quirks and hassle of
  3040. @code{package.el} into a sane API.")
  3041. (license license:gpl3+)))
  3042. (define-public emacs-queue
  3043. (package
  3044. (name "emacs-queue")
  3045. (version "0.1.1")
  3046. (source (origin
  3047. (method url-fetch)
  3048. (uri (string-append "https://elpa.gnu.org/packages/queue-"
  3049. version ".el"))
  3050. (sha256
  3051. (base32
  3052. "0jw24fxqnf9qcaf2nh09cnds1kqfk7hal35dw83x1ari95say391"))))
  3053. (build-system emacs-build-system)
  3054. (home-page "http://www.dr-qubit.org/tags/computing-code-emacs.html")
  3055. (synopsis "Queue data structure for Emacs")
  3056. (description
  3057. "This Emacs library provides queue data structure. These queues can be
  3058. used both as a first-in last-out (FILO) and as a first-in first-out (FIFO)
  3059. stack, i.e. elements can be added to the front or back of the queue, and can
  3060. be removed from the front. This type of data structure is sometimes called an
  3061. \"output-restricted deque\".")
  3062. (license license:gpl3+)))
  3063. (define-public emacs-pkg-info
  3064. (package
  3065. (name "emacs-pkg-info")
  3066. (version "0.6")
  3067. (source (origin
  3068. (method url-fetch)
  3069. (uri (string-append
  3070. "https://github.com/lunaryorn/pkg-info.el/archive/"
  3071. version ".tar.gz"))
  3072. (file-name (string-append name "-" version ".tar.gz"))
  3073. (sha256
  3074. (base32
  3075. "1gy1jks5mmm02gg1c8gcyr4f8a9s5ggzhk56gv33b9mzjqzi5rd5"))))
  3076. (build-system emacs-build-system)
  3077. (propagated-inputs `(("emacs-epl" ,emacs-epl)))
  3078. (home-page "https://github.com/lunaryorn/pkg-info.el")
  3079. (synopsis "Information about Emacs packages")
  3080. (description
  3081. "This library extracts information from the installed Emacs packages.")
  3082. (license license:gpl3+)))
  3083. (define-public emacs-spinner
  3084. (package
  3085. (name "emacs-spinner")
  3086. (version "1.7.3")
  3087. (source (origin
  3088. (method url-fetch)
  3089. (uri (string-append "https://elpa.gnu.org/packages/spinner-"
  3090. version ".el"))
  3091. (sha256
  3092. (base32
  3093. "19kp1mmndbmw11sgvv2ggfjl4pyf5zrsbh3871f0965pw9z8vahd"))))
  3094. (build-system emacs-build-system)
  3095. (home-page "https://github.com/Malabarba/spinner.el")
  3096. (synopsis "Emacs mode-line spinner for operations in progress")
  3097. (description
  3098. "This Emacs package adds spinners and progress-bars to the mode-line for
  3099. ongoing operations.")
  3100. (license license:gpl3+)))
  3101. (define-public emacs-sparql-mode
  3102. (package
  3103. (name "emacs-sparql-mode")
  3104. (version "2.0.1")
  3105. (source (origin
  3106. (method url-fetch)
  3107. (uri (string-append "https://github.com/ljos/sparql-mode/archive/"
  3108. "v" version ".tar.gz"))
  3109. (file-name (string-append name "-" version ".tar.gz"))
  3110. (sha256
  3111. (base32
  3112. "1s93mkllxnhy7fw616cnnc2danacdlarys0g3cn89drh0llh53cv"))))
  3113. (build-system emacs-build-system)
  3114. (home-page "https://github.com/ljos/sparql-mode")
  3115. (synopsis "SPARQL mode for Emacs")
  3116. (description "This package provides a major mode for Emacs that provides
  3117. syntax highlighting for SPARQL. It also provides a way to execute queries
  3118. against a SPARQL HTTP endpoint, such as is provided by Fuseki. It is also
  3119. possible to query other endpoints like DBPedia.")
  3120. (license license:gpl3+)))
  3121. (define-public emacs-better-defaults
  3122. (package
  3123. (name "emacs-better-defaults")
  3124. (version "0.1.3")
  3125. (source
  3126. (origin
  3127. (method url-fetch)
  3128. (uri (string-append "https://github.com/technomancy/better-defaults"
  3129. "/archive/" version ".tar.gz"))
  3130. (file-name (string-append name "-" version ".tar.gz"))
  3131. (sha256
  3132. (base32
  3133. "08fg4zslzlxbvyil5g4gwvwd22fh4zsgqprs5wh9hv1rgc6757m2"))))
  3134. (build-system emacs-build-system)
  3135. (home-page "https://github.com/technomancy/better-defaults")
  3136. (synopsis "Better defaults for Emacs")
  3137. (description
  3138. "Better defaults attempts to address the most obvious deficiencies of the
  3139. Emacs default configuration in uncontroversial ways that nearly everyone can
  3140. agree upon.")
  3141. (license license:gpl3+)))
  3142. (define-public emacs-eprime
  3143. (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
  3144. (package
  3145. (name "emacs-eprime")
  3146. (version (string-append "20140513-" (string-take commit 7)))
  3147. (source (origin
  3148. (method url-fetch)
  3149. (uri (string-append "https://raw.githubusercontent.com"
  3150. "/AndrewHynes/eprime-mode/"
  3151. commit "/eprime-mode.el"))
  3152. (file-name (string-append "eprime-" version ".el"))
  3153. (sha256
  3154. (base32
  3155. "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
  3156. (build-system emacs-build-system)
  3157. (home-page "https://github.com/AndrewHynes/eprime-mode")
  3158. (synopsis "E-prime checking mode for Emacs")
  3159. (description "This package provides an E-prime checking mode for Emacs
  3160. that highlights non-conforming text. The subset of the English language called
  3161. E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
  3162. (license license:gpl3+))))
  3163. (define-public emacs-ess
  3164. (package
  3165. (name "emacs-ess")
  3166. (version "16.04")
  3167. (source (origin
  3168. (method url-fetch)
  3169. (uri (string-append "http://ess.r-project.org/downloads/ess/ess-"
  3170. version ".tgz"))
  3171. (sha256
  3172. (base32
  3173. "0w7mbbajn377gdmvnd21mpyr368b2ia46gq6cb99y4y5rspf9pcg"))))
  3174. (build-system gnu-build-system)
  3175. (arguments
  3176. (let ((base-directory "/share/emacs/site-lisp/guix.d/ess"))
  3177. `(#:tests? #f ; There is no test suite.
  3178. #:make-flags (list (string-append "PREFIX=" %output)
  3179. (string-append "ETCDIR=" %output "/"
  3180. ,base-directory "/etc")
  3181. (string-append "LISPDIR=" %output "/"
  3182. ,base-directory))
  3183. #:phases
  3184. (modify-phases %standard-phases
  3185. (delete 'configure)
  3186. (add-before 'build 'more-shebang-patching
  3187. (lambda* (#:key inputs #:allow-other-keys)
  3188. (substitute* "Makeconf"
  3189. (("SHELL = /bin/sh")
  3190. (string-append "SHELL = " (which "sh"))))))
  3191. ;; FIXME: the texlive-union insists on regenerating fonts. It stores
  3192. ;; them in HOME, so it needs to be writeable.
  3193. (add-before 'build 'set-HOME
  3194. (lambda _ (setenv "HOME" "/tmp") #t))))))
  3195. (inputs
  3196. `(("emacs" ,emacs-minimal)
  3197. ("r-minimal" ,r-minimal)))
  3198. (native-inputs
  3199. `(("perl" ,perl)
  3200. ("texinfo" ,texinfo)
  3201. ("texlive" ,(texlive-union (list texlive-latex-natbib
  3202. texlive-latex-seminar
  3203. texlive-latex-hyperref
  3204. texlive-tex-texinfo)))))
  3205. (home-page "http://ess.r-project.org/")
  3206. (synopsis "Emacs mode for statistical analysis programs")
  3207. (description "Emacs Speaks Statistics (ESS) is an add-on package for GNU
  3208. Emacs. It is designed to support editing of scripts and interaction with
  3209. various statistical analysis programs such as R and OpenBUGS.")
  3210. (license license:gpl2+)))
  3211. (define-public emacs-smex
  3212. (package
  3213. (name "emacs-smex")
  3214. (version "3.0")
  3215. (source (origin
  3216. (method url-fetch)
  3217. (uri (string-append "https://raw.githubusercontent.com"
  3218. "/nonsequitur/smex/" version "/smex.el"))
  3219. (file-name (string-append "smex-" version ".el"))
  3220. (sha256
  3221. (base32
  3222. "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp"))))
  3223. (build-system emacs-build-system)
  3224. (home-page "https://github.com/nonsequitur/smex/")
  3225. (synopsis "M-x interface with Ido-style fuzzy matching")
  3226. (description
  3227. "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a
  3228. convenient interface to your recently and most frequently used commands. And
  3229. to all the other commands, too.")
  3230. (license license:gpl3+)))
  3231. (define-public emacs-js2-mode
  3232. (package
  3233. (name "emacs-js2-mode")
  3234. (version "20150909")
  3235. (source (origin
  3236. (method url-fetch)
  3237. (uri (string-append "https://github.com/mooz/js2-mode/archive/"
  3238. version ".tar.gz"))
  3239. (file-name (string-append name "-" version ".tar.gz"))
  3240. (sha256
  3241. (base32
  3242. "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
  3243. (build-system emacs-build-system)
  3244. (home-page "https://github.com/mooz/js2-mode/")
  3245. (synopsis "Improved JavaScript editing mode for Emacs")
  3246. (description
  3247. "Js2-mode provides a JavaScript major mode for Emacs that is more
  3248. advanced than the built-in javascript-mode. Features include accurate syntax
  3249. highlighting using a recursive-descent parser, on-the-fly reporting of syntax
  3250. errors and strict-mode warnings, smart line-wrapping within comments and
  3251. strings, and code folding.")
  3252. (license license:gpl3+)))
  3253. (define-public emacs-markdown-mode
  3254. (package
  3255. (name "emacs-markdown-mode")
  3256. (version "2.3")
  3257. (source (origin
  3258. (method url-fetch)
  3259. (uri (string-append "https://raw.githubusercontent.com/jrblevin"
  3260. "/markdown-mode/v" version
  3261. "/markdown-mode.el"))
  3262. (file-name (string-append "markdown-mode-" version ".el"))
  3263. (sha256
  3264. (base32
  3265. "152whyrq3dqlqy5wv4mdd94kmal19hs5kwaxjcp2gp2r97lsmdmi"))))
  3266. (build-system emacs-build-system)
  3267. (home-page "http://jblevins.org/projects/markdown-mode/")
  3268. (synopsis "Emacs Major mode for Markdown files")
  3269. (description
  3270. "Markdown-mode is a major mode for editing Markdown-formatted text files
  3271. in Emacs.")
  3272. (license license:gpl3+)))
  3273. (define-public emacs-projectile
  3274. (package
  3275. (name "emacs-projectile")
  3276. (version "0.14.0")
  3277. (source (origin
  3278. (method url-fetch)
  3279. (uri (string-append "https://raw.githubusercontent.com/bbatsov"
  3280. "/projectile/v" version "/projectile.el"))
  3281. (file-name (string-append "projectile-" version ".el"))
  3282. (sha256
  3283. (base32
  3284. "1ql1wnzhblbwnv66hf2y0wq45g71hh6s9inc090lmhm1vgylbd1f"))))
  3285. (build-system emacs-build-system)
  3286. (propagated-inputs
  3287. `(("emacs-dash" ,emacs-dash)
  3288. ("emacs-pkg-info" ,emacs-pkg-info)))
  3289. (home-page "https://github.com/bbatsov/projectile")
  3290. (synopsis "Manage and navigate projects in Emacs easily")
  3291. (description
  3292. "This library provides easy project management and navigation. The
  3293. concept of a project is pretty basic - just a folder containing special file.
  3294. Currently git, mercurial and bazaar repos are considered projects by default.
  3295. If you want to mark a folder manually as a project just create an empty
  3296. .projectile file in it.")
  3297. (license license:gpl3+)))
  3298. (define-public emacs-elfeed
  3299. (package
  3300. (name "emacs-elfeed")
  3301. (version "2.1.1")
  3302. (source (origin
  3303. (method url-fetch)
  3304. (uri (string-append "https://github.com/skeeto/elfeed/archive/"
  3305. version ".tar.gz"))
  3306. (file-name (string-append name "-" version ".tar.gz"))
  3307. (sha256
  3308. (base32
  3309. "1wlwc8fbkg6w1c8p856ikc20xm72f51clnzz419p0g8cavy27npw"))))
  3310. (build-system emacs-build-system)
  3311. (arguments
  3312. `(#:phases
  3313. (modify-phases %standard-phases
  3314. (add-before 'install 'check
  3315. (lambda _
  3316. (zero? (system* "make" "test")))))))
  3317. (home-page "https://github.com/skeeto/elfeed")
  3318. (synopsis "Atom/RSS feed reader for Emacs")
  3319. (description
  3320. "Elfeed is an extensible web feed reader for Emacs, supporting both Atom
  3321. and RSS, with a user interface inspired by notmuch.")
  3322. (license license:gpl3+)))
  3323. (define-public emacs-rainbow-delimiters
  3324. (package
  3325. (name "emacs-rainbow-delimiters")
  3326. (version "2.1.3")
  3327. (source (origin
  3328. (method url-fetch)
  3329. (uri (string-append "https://raw.githubusercontent.com/Fanael"
  3330. "/rainbow-delimiters/" version
  3331. "/rainbow-delimiters.el"))
  3332. (file-name (string-append "rainbow-delimiters-" version ".el"))
  3333. (sha256
  3334. (base32
  3335. "1b3kampwsjabhcqdp0khgff13wc5jqhy3rbvaa12vnv7qy22l9ck"))))
  3336. (build-system emacs-build-system)
  3337. (home-page "https://github.com/Fanael/rainbow-delimiters")
  3338. (synopsis "Highlight brackets according to their depth")
  3339. (description
  3340. "Rainbow-delimiters is a \"rainbow parentheses\"-like mode for Emacs which
  3341. highlights parentheses, brackets, and braces according to their depth. Each
  3342. successive level is highlighted in a different color, making it easy to spot
  3343. matching delimiters, orient yourself in the code, and tell which statements
  3344. are at a given level.")
  3345. (license license:gpl3+)))
  3346. (define-public emacs-rainbow-identifiers
  3347. (package
  3348. (name "emacs-rainbow-identifiers")
  3349. (version "0.2.2")
  3350. (source (origin
  3351. (method url-fetch)
  3352. (uri (string-append "https://raw.githubusercontent.com/Fanael"
  3353. "/rainbow-identifiers/" version
  3354. "/rainbow-identifiers.el"))
  3355. (file-name (string-append "rainbow-identifiers-" version ".el"))
  3356. (sha256
  3357. (base32
  3358. "0325abxj47k0g1i8nqrq70w2wr6060ckhhf92krv1s072b3jzm31"))))
  3359. (build-system emacs-build-system)
  3360. (home-page "https://github.com/Fanael/rainbow-identifiers")
  3361. (synopsis "Highlight identifiers in source code")
  3362. (description
  3363. "Rainbow identifiers mode is an Emacs minor mode providing highlighting of
  3364. identifiers based on their names. Each identifier gets a color based on a hash
  3365. of its name.")
  3366. (license license:bsd-2)))
  3367. (define-public emacs-rainbow-mode
  3368. (package
  3369. (name "emacs-rainbow-mode")
  3370. (version "0.13")
  3371. (source (origin
  3372. (method url-fetch)
  3373. (uri (string-append
  3374. "http://elpa.gnu.org/packages/rainbow-mode-" version ".el"))
  3375. (sha256
  3376. (base32
  3377. "1d3aamx6qgqqpqijwsr02ggwrh67gfink1bir0692alfkm3zdddl"))))
  3378. (build-system emacs-build-system)
  3379. (home-page "http://elpa.gnu.org/packages/rainbow-mode.html")
  3380. (synopsis "Colorize color names in buffers")
  3381. (description
  3382. "This minor mode sets background color to strings that match color
  3383. names, e.g. #0000ff is displayed in white with a blue background.")
  3384. (license license:gpl3+)))
  3385. (define-public emacs-visual-fill-column
  3386. (package
  3387. (name "emacs-visual-fill-column")
  3388. (version "1.11")
  3389. (source (origin
  3390. (method url-fetch)
  3391. (uri (string-append "https://codeload.github.com/joostkremers/"
  3392. "visual-fill-column/tar.gz/" version))
  3393. (file-name (string-append name "-" version ".tar.gz"))
  3394. (sha256
  3395. (base32
  3396. "13jnviakp607zcms7f8ams56mr8wffnq1pghlc6fvqs39663pgwh"))))
  3397. (build-system emacs-build-system)
  3398. (home-page "https://github.com/joostkremers/visual-fill-column")
  3399. (synopsis "Fill-column for visual-line-mode")
  3400. (description
  3401. "@code{visual-fill-column-mode} is a small Emacs minor mode that mimics
  3402. the effect of @code{fill-column} in @code{visual-line-mode}. Instead of
  3403. wrapping lines at the window edge, which is the standard behaviour of
  3404. @code{visual-line-mode}, it wraps lines at @code{fill-column}. If
  3405. @code{fill-column} is too large for the window, the text is wrapped at the
  3406. window edge.")
  3407. (license license:gpl3+)))
  3408. (define-public emacs-writeroom
  3409. (package
  3410. (name "emacs-writeroom")
  3411. (version "3.7")
  3412. (source (origin
  3413. (method url-fetch)
  3414. (uri (string-append
  3415. "https://github.com/joostkremers/writeroom-mode/archive/"
  3416. version ".tar.gz"))
  3417. (file-name (string-append name "-" version ".tar.gz"))
  3418. (sha256
  3419. (base32
  3420. "0yqgp5h3kvvpgva4azakb2wnjl7gsyh45glf75crspv3xyq57f2r"))))
  3421. (build-system emacs-build-system)
  3422. (propagated-inputs
  3423. `(("emacs-visual-fill-column" ,emacs-visual-fill-column)))
  3424. (home-page "https://github.com/joostkremers/writeroom-mode")
  3425. (synopsis "Distraction-free writing for Emacs")
  3426. (description
  3427. "This package defines a minor mode for distraction-free writing. Some of
  3428. the default effects include entering fullscreen, deleting other windows of the
  3429. current frame, disabling the mode line, and adding margins to the buffer that
  3430. restrict the text width to 80 characters.")
  3431. (license license:bsd-3)))
  3432. (define-public emacs-ido-completing-read+
  3433. (package
  3434. (name "emacs-ido-completing-read+")
  3435. (version "3.12")
  3436. (source (origin
  3437. (method url-fetch)
  3438. (uri (string-append "https://raw.githubusercontent.com"
  3439. "/DarwinAwardWinner/ido-ubiquitous/v"
  3440. version "/ido-completing-read+.el"))
  3441. (file-name (string-append "ido-completing-read+-" version ".el"))
  3442. (sha256
  3443. (base32
  3444. "1cyalb0p7nfsm4n6n9q6rjmvn6adqc0fq8ybnlj3n41n289dkfjf"))))
  3445. (build-system emacs-build-system)
  3446. (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
  3447. (synopsis "Replacement for completing-read using ido")
  3448. (description
  3449. "The ido-completing-read+ function is a wrapper for ido-completing-read.
  3450. Importantly, it detects edge cases that ordinary ido cannot handle and either
  3451. adjusts them so ido can handle them, or else simply falls back to the standard
  3452. Emacs completion function instead.")
  3453. (license license:gpl3+)))
  3454. (define-public emacs-ido-ubiquitous
  3455. (package
  3456. (name "emacs-ido-ubiquitous")
  3457. (version "3.12")
  3458. (source (origin
  3459. (method url-fetch)
  3460. (uri (string-append "https://raw.githubusercontent.com"
  3461. "/DarwinAwardWinner/ido-ubiquitous/v"
  3462. version "/ido-ubiquitous.el"))
  3463. (file-name (string-append "ido-ubiquitous-" version ".el"))
  3464. (sha256
  3465. (base32
  3466. "197ypji0fb6jsdcq40rpnknwlh3imas6s6jbsvkfm0pz9988c3q2"))))
  3467. (build-system emacs-build-system)
  3468. (propagated-inputs
  3469. `(("emacs-ido-completing-read+" ,emacs-ido-completing-read+)))
  3470. (home-page "https://github.com/DarwinAwardWinner/ido-ubiquitous")
  3471. (synopsis "Use ido (nearly) everywhere")
  3472. (description
  3473. "Ido-ubiquitous enables ido-style completion for almost every function
  3474. that uses the standard completion function completing-read.")
  3475. (license license:gpl3+)))
  3476. (define-public emacs-yaml-mode
  3477. (package
  3478. (name "emacs-yaml-mode")
  3479. (version "0.0.13")
  3480. (source (origin
  3481. (method url-fetch)
  3482. (uri (string-append "https://raw.githubusercontent.com/yoshiki"
  3483. "/yaml-mode/v" version "/yaml-mode.el"))
  3484. (file-name (string-append "yaml-mode-" version ".el"))
  3485. (sha256
  3486. (base32
  3487. "0im88sk9dqw03x6d6zaspgvg9i0pfpgb8f2zygrmbifh2w4pwmvj"))))
  3488. (build-system emacs-build-system)
  3489. (home-page "https://github.com/yoshiki/yaml-mode")
  3490. (synopsis "Major mode for editing YAML files")
  3491. (description
  3492. "Yaml-mode is an Emacs major mode for editing files in the YAML data
  3493. serialization format. It was initially developed by Yoshiki Kurihara and many
  3494. features were added by Marshall Vandegrift. As YAML and Python share the fact
  3495. that indentation determines structure, this mode provides indentation and
  3496. indentation command behavior very similar to that of python-mode.")
  3497. (license license:gpl3+)))
  3498. (define-public emacs-web-mode
  3499. (package
  3500. (name "emacs-web-mode")
  3501. (version "14")
  3502. (source (origin
  3503. (method url-fetch)
  3504. (uri (string-append "https://raw.githubusercontent.com/fxbois"
  3505. "/web-mode/v" version "/web-mode.el"))
  3506. (file-name (string-append "web-mode-" version ".el"))
  3507. (sha256
  3508. (base32
  3509. "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
  3510. (build-system emacs-build-system)
  3511. (synopsis "Major mode for editing web templates")
  3512. (description "Web-mode is an Emacs major mode for editing web templates
  3513. aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
  3514. client/server side engines). Web-mode is compatible with many template
  3515. engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
  3516. Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
  3517. Dust.js, React/JSX, Angularjs, ejs, etc.")
  3518. (home-page "http://web-mode.org/")
  3519. (license license:gpl3+)))
  3520. (define-public emacs-wgrep
  3521. (package
  3522. (name "emacs-wgrep")
  3523. (version "2.1.10")
  3524. (source (origin
  3525. (method url-fetch)
  3526. (uri (string-append
  3527. "https://github.com/mhayashi1120/Emacs-wgrep/archive/"
  3528. version ".tar.gz"))
  3529. (file-name (string-append name "-" version ".tar.gz"))
  3530. (sha256
  3531. (base32
  3532. "1r2bpypar70xg6dsx12x1k74f39ww930rday7rgqpyknzsx1k4l1"))))
  3533. (build-system emacs-build-system)
  3534. (home-page "https://github.com/mhayashi1120/Emacs-wgrep")
  3535. (synopsis "Edit a grep buffer and apply those changes to the files")
  3536. (description
  3537. "Emacs wgrep allows you to edit a grep buffer and apply those changes to
  3538. the file buffer.")
  3539. (license license:gpl3+)))
  3540. (define-public emacs-helm
  3541. (package
  3542. (name "emacs-helm")
  3543. (version "2.7.1")
  3544. (source (origin
  3545. (method url-fetch)
  3546. (uri (string-append
  3547. "https://github.com/" name "/helm/archive/v"
  3548. version ".tar.gz"))
  3549. (file-name (string-append name "-" version ".tar.gz"))
  3550. (sha256
  3551. (base32
  3552. "0pay8pi3fszykgskfbxsp4byad497cgfz4m886mxnkba1naxf6h7"))))
  3553. (build-system emacs-build-system)
  3554. (propagated-inputs
  3555. `(("emacs-async" ,emacs-async)
  3556. ("emacs-popup" ,emacs-popup)))
  3557. (home-page "https://emacs-helm.github.io/helm/")
  3558. (synopsis "Incremental completion and selection narrowing
  3559. framework for Emacs")
  3560. (description "Helm is incremental completion and selection narrowing
  3561. framework for Emacs. It will help steer you in the right direction when
  3562. you're looking for stuff in Emacs (like buffers, files, etc). Helm is a fork
  3563. of @code{anything.el} originally written by Tamas Patrovic and can be
  3564. considered to be its successor. Helm sets out to clean up the legacy code in
  3565. @code{anything.el} and provide a cleaner, leaner and more modular tool, that's
  3566. not tied in the trap of backward compatibility.")
  3567. (license license:gpl3+)))
  3568. (define-public emacs-helm-swoop
  3569. (package
  3570. (name "emacs-helm-swoop")
  3571. (version "1.7.2")
  3572. (source (origin
  3573. (method url-fetch)
  3574. (uri (string-append
  3575. "https://github.com/ShingoFukuyama/helm-swoop/archive/"
  3576. version
  3577. ".tar.gz"))
  3578. (file-name (string-append name "-" version ".tar.gz"))
  3579. (sha256
  3580. (base32
  3581. "1z34pfi0gsk054pxr906ilaalaw0xz3s536163gf9ykkwmc2356d"))))
  3582. (build-system emacs-build-system)
  3583. (propagated-inputs
  3584. `(("emacs-helm" ,emacs-helm)))
  3585. (home-page "https://github.com/ShingoFukuyama/helm-swoop")
  3586. (synopsis "Filter and jump to lines in an Emacs buffer using Helm")
  3587. (description
  3588. "This package builds on the Helm interface to provide several commands
  3589. for search-based navigation of buffers.")
  3590. (license license:gpl2+)))
  3591. (define-public emacs-helm-projectile
  3592. (package
  3593. (name "emacs-helm-projectile")
  3594. (version "0.14.0")
  3595. (source (origin
  3596. (method url-fetch)
  3597. (uri (string-append
  3598. "https://github.com/bbatsov/helm-projectile/archive/v"
  3599. version
  3600. ".tar.gz"))
  3601. (file-name (string-append name "-" version ".tar.gz"))
  3602. (sha256
  3603. (base32
  3604. "19cfmilqh8kbab3b2hmx6lyrj73q6vfmn3p730x95g23iz16mnd5"))))
  3605. (build-system emacs-build-system)
  3606. (propagated-inputs
  3607. `(("emacs-dash" ,emacs-dash)
  3608. ("emacs-helm" ,emacs-helm)
  3609. ("emacs-projectile" ,emacs-projectile)))
  3610. (home-page "https://github.com/bbatsov/helm-projectile")
  3611. (synopsis "Helm integration for Projectile")
  3612. (description
  3613. "This Emacs library provides a Helm interface for Projectile.")
  3614. (license license:gpl3+)))
  3615. (define-public emacs-cider
  3616. (package
  3617. (name "emacs-cider")
  3618. (version "0.15.0")
  3619. (source (origin
  3620. (method url-fetch)
  3621. (uri (string-append
  3622. "https://github.com/clojure-emacs/cider/archive/v"
  3623. version ".tar.gz"))
  3624. (file-name (string-append name "-" version ".tar.gz"))
  3625. (sha256
  3626. (base32
  3627. "0j7qjcslh8mnxrr2m8qrscyq9ry240j5jd9dysbvih126lxisf12"))))
  3628. (build-system emacs-build-system)
  3629. (arguments
  3630. '(#:exclude ; Don't exclude 'cider-test.el'.
  3631. '("^\\.dir-locals\\.el$" "^test/")))
  3632. (propagated-inputs
  3633. `(("emacs-clojure-mode" ,emacs-clojure-mode)
  3634. ("emacs-spinner" ,emacs-spinner)
  3635. ("emacs-pkg-info" ,emacs-pkg-info)
  3636. ("emacs-queue" ,emacs-queue)))
  3637. (home-page "https://cider.readthedocs.org/")
  3638. (synopsis "Clojure development environment for Emacs")
  3639. (description
  3640. "CIDER (Clojure Interactive Development Environment that Rocks) aims to
  3641. provide an interactive development experience similar to the one you'd get
  3642. when programming in Emacs Lisp, Common Lisp (with SLIME or Sly), Scheme (with
  3643. Geiser) and Smalltalk.
  3644. CIDER is the successor to the now deprecated combination of using SLIME +
  3645. swank-clojure for Clojure development.
  3646. There are plenty of differences between CIDER and SLIME, but the core ideas
  3647. are pretty much the same (and SLIME served as the principle inspiration for
  3648. CIDER).")
  3649. (license license:gpl3+)))
  3650. (define-public emacs-lua-mode
  3651. (let ((commit "652e299cb967fccca827dda381d61a9c144d97de")
  3652. (revision "1"))
  3653. (package
  3654. (name "emacs-lua-mode")
  3655. (version (string-append "20151025." revision "-" (string-take commit 9)))
  3656. (home-page "https://github.com/immerrr/lua-mode/")
  3657. (source (origin
  3658. (method git-fetch)
  3659. (uri (git-reference
  3660. (url home-page)
  3661. (commit commit)))
  3662. (file-name (string-append name "-" version ".checkout"))
  3663. (sha256
  3664. (base32
  3665. "053025k930wh0lak6rc1973ynfrmm8zsyzfqhhd39x7abkl41hc9"))))
  3666. (build-system emacs-build-system)
  3667. (synopsis "Major mode for lua")
  3668. (description
  3669. "This Emacs package provides a mode for @uref{https://www.lua.org/,
  3670. Lua programing language}.")
  3671. (license license:gpl2+))))
  3672. (define-public emacs-ebuild-mode
  3673. (package
  3674. (name "emacs-ebuild-mode")
  3675. (version "1.37")
  3676. (source (origin
  3677. (method url-fetch)
  3678. (uri (string-append
  3679. "https://dev.gentoo.org/~ulm/emacs/ebuild-mode"
  3680. "-" version ".tar.xz"))
  3681. (file-name (string-append name "-" version ".tar.xz"))
  3682. (sha256
  3683. (base32
  3684. "07dzrdjjczkxdfdgi60h4jjkvzi4p0k9rij2wpfp8s03ay3qldpp"))))
  3685. (build-system emacs-build-system)
  3686. (home-page "https://devmanual.gentoo.org")
  3687. (synopsis "Major modes for Gentoo package files")
  3688. (description
  3689. "This Emacs package provides modes for ebuild, eclass, eblit, GLEP42
  3690. news items, openrc and runscripts.")
  3691. (license license:gpl2+)))
  3692. (define-public emacs-evil
  3693. (package
  3694. (name "emacs-evil")
  3695. (version "1.2.12")
  3696. (source
  3697. (origin
  3698. (method url-fetch)
  3699. (uri (string-append "https://bitbucket.org/lyro/evil/get/"
  3700. version ".tar.bz2"))
  3701. (file-name (string-append name "-" version ".tar.bz2"))
  3702. (sha256
  3703. (base32
  3704. "17cda9fnbq3gmjcxs3lyq64gxswrf37y864bm53rldwsk3khq2yi"))))
  3705. (build-system emacs-build-system)
  3706. (propagated-inputs
  3707. `(("emacs-undo-tree" ,emacs-undo-tree)
  3708. ("emacs-goto-chg" ,emacs-goto-chg)))
  3709. (home-page "https://bitbucket.com/lyro/evil")
  3710. (synopsis "Extensible Vi layer for Emacs")
  3711. (description
  3712. "Evil is an extensible vi layer for Emacs. It emulates the
  3713. main features of Vim, and provides facilities for writing custom
  3714. extensions.")
  3715. (license license:gpl3+)))
  3716. (define-public emacs-goto-chg
  3717. (package
  3718. (name "emacs-goto-chg")
  3719. (version "1.6")
  3720. (source
  3721. (origin
  3722. (method url-fetch)
  3723. ;; There is no versioned source.
  3724. (uri "https://www.emacswiki.org/emacs/download/goto-chg.el")
  3725. (file-name (string-append "goto-chg-" version ".el"))
  3726. (sha256
  3727. (base32
  3728. "078d6p4br5vips7b9x4v6cy0wxf6m5ij9gpqd4g33bryn22gnpij"))))
  3729. (build-system emacs-build-system)
  3730. ;; There is no other home page.
  3731. (home-page "https://www.emacswiki.org/emacs/goto-chg.el")
  3732. (synopsis "Go to the last change in the Emacs buffer")
  3733. (description
  3734. "This package provides @code{M-x goto-last-change} command that goes to
  3735. the point of the most recent edit in the current Emacs buffer. When repeated,
  3736. go to the second most recent edit, etc. Negative argument, @kbd{C-u -}, is
  3737. used for reverse direction.")
  3738. (license license:gpl2+)))
  3739. (define-public emacs-monroe
  3740. (package
  3741. (name "emacs-monroe")
  3742. (version "0.3.1")
  3743. (source
  3744. (origin
  3745. (method url-fetch)
  3746. (uri (string-append "https://github.com/sanel/monroe/archive/"
  3747. version ".tar.gz"))
  3748. (file-name (string-append name "-" version ".tar.gz"))
  3749. (sha256
  3750. (base32
  3751. "0icdx8shkd951phlnmcq1vqaxp1l667q5rjscskc5r22aylakh4w"))))
  3752. (build-system emacs-build-system)
  3753. (home-page "https://github.com/sanel/monroe")
  3754. (synopsis "Clojure nREPL client for Emacs")
  3755. (description
  3756. "Monroe is a nREPL client for Emacs, focused on simplicity and easy
  3757. distribution, primarily targeting Clojure users")
  3758. (license license:gpl3+)))
  3759. (define-public emacs-writegood-mode
  3760. (package
  3761. (name "emacs-writegood-mode")
  3762. (version "2.0.2")
  3763. (home-page "https://github.com/bnbeckwith/writegood-mode")
  3764. (source (origin
  3765. (method git-fetch)
  3766. (uri (git-reference
  3767. (url home-page)
  3768. (commit (string-append "v" version))))
  3769. (sha256
  3770. (base32
  3771. "1nnjn1r669hvvzfycllwap4w04m8rfsk4nzcg8057m1f263kj31b"))
  3772. (file-name (string-append name "-checkout"))))
  3773. (build-system emacs-build-system)
  3774. (synopsis "Polish up poor writing on the fly")
  3775. (description
  3776. "This minor mode tries to find and highlight problems with your writing
  3777. in English as you type. It primarily detects \"weasel words\" and abuse of
  3778. passive voice.")
  3779. (license license:gpl3+)))
  3780. (define-public emacs-neotree
  3781. (package
  3782. (name "emacs-neotree")
  3783. (version "0.2.1")
  3784. (home-page "https://github.com/jaypei/emacs-neotree")
  3785. (source (origin
  3786. (method url-fetch)
  3787. (uri (string-append
  3788. "https://github.com/jaypei/" name
  3789. "/archive/v" version ".tar.gz"))
  3790. (sha256
  3791. (base32
  3792. "0cr37pdkwjgfijfws5bjskfh1rq9rfngxblcj6v5383vpmn83q7s"))
  3793. (file-name (string-append name "-" version ".tar.gz"))))
  3794. (build-system emacs-build-system)
  3795. (synopsis "Folder tree view for Emacs")
  3796. (description "This Emacs package provides a folder tree view.")
  3797. (license license:gpl3+)))
  3798. (define-public emacs-org
  3799. (package
  3800. (name "emacs-org")
  3801. (version "20170917")
  3802. (source (origin
  3803. (method url-fetch)
  3804. (uri (string-append "http://elpa.gnu.org/packages/org-"
  3805. version ".tar"))
  3806. (sha256
  3807. (base32
  3808. "0qyis5ph3h99zn9kx7sgraddz41c1cf6yjkwi4im6ikwxk9x8cgc"))))
  3809. (build-system emacs-build-system)
  3810. (home-page "http://orgmode.org/")
  3811. (synopsis "Outline-based notes management and organizer")
  3812. (description "Org is an Emacs mode for keeping notes, maintaining TODO
  3813. lists, and project planning with a fast and effective plain-text system. It
  3814. also is an authoring system with unique support for literate programming and
  3815. reproducible research.")
  3816. (license license:gpl3+)))
  3817. (define-public emacs-flx
  3818. (package
  3819. (name "emacs-flx")
  3820. (version "0.6.1")
  3821. (source
  3822. (origin
  3823. (method url-fetch)
  3824. (uri (string-append "https://github.com/lewang/"
  3825. "flx/archive/v" version ".tar.gz"))
  3826. (sha256
  3827. (base32
  3828. "0bkcpnf1j4i2fcc2rllwbz62l00sw2mcia6rm5amgwvlkqavmkv6"))
  3829. (file-name (string-append name "-" version ".tar.gz"))))
  3830. (build-system emacs-build-system)
  3831. (home-page "https://github.com/lewang/flx")
  3832. (synopsis "Fuzzy matching for Emacs")
  3833. (description
  3834. "Flx provides fuzzy matching for emacs a la sublime text.
  3835. The sorting algorithm is a balance between word beginnings (abbreviation)
  3836. and contiguous matches (substring). The longer the substring match,
  3837. the higher it scores. This maps well to how we think about matching.
  3838. Flx has support for ido (interactively do things) through flx-ido.")
  3839. (license license:gpl3+)))
  3840. (define-public emacs-cyberpunk-theme
  3841. (package
  3842. (name "emacs-cyberpunk-theme")
  3843. (version "1.19")
  3844. (source
  3845. (origin
  3846. (method url-fetch)
  3847. (uri (string-append "https://github.com/n3mo/cyberpunk-theme.el/"
  3848. "archive/" version ".tar.gz"))
  3849. (sha256
  3850. (base32
  3851. "05l5fxw1mn5py6mfhxrzyqjq0d8m5m1akfi46vrgh13r414jffvv"))
  3852. (file-name (string-append name "-" version ".tar.gz"))))
  3853. (build-system emacs-build-system)
  3854. (home-page "https://github.com/n3mo/cyberpunk-theme.el")
  3855. (synopsis "Cyberpunk theme for emacs built-in color theme support")
  3856. (description
  3857. "Cyberpunk color theme for the emacs 24+ built-in color theme support
  3858. known loosely as deftheme. Many mode-specific customizations are included.")
  3859. (license license:gpl3+)))
  3860. (define-public emacs-danneskjold-theme
  3861. (let* ((commit "8733d2fe8743e8a01826ea6d4430ef376c727e57")
  3862. (revision "1"))
  3863. (package
  3864. (name "emacs-danneskjold-theme")
  3865. (version (string-append "0.0.0-" revision "." (string-take commit 7)))
  3866. (home-page "https://github.com/rails-to-cosmos/danneskjold-theme")
  3867. (source
  3868. (origin
  3869. (method git-fetch)
  3870. (uri (git-reference
  3871. (url home-page)
  3872. (commit commit)))
  3873. (file-name (string-append name "-" version "-checkout"))
  3874. (sha256
  3875. (base32
  3876. "0s6rbsb0y8i8m5b9xm4gw1p1cxsxdqnqxqqb638pygz9f76mbir1"))))
  3877. (build-system emacs-build-system)
  3878. (arguments
  3879. `(#:phases
  3880. (modify-phases %standard-phases
  3881. (add-after 'unpack 'delete-screenshots
  3882. (lambda _
  3883. (delete-file-recursively "screenshots") #t)))))
  3884. (synopsis "High-contrast Emacs theme")
  3885. (description
  3886. "@code{danneskjold-theme} is a high-contrast theme for Emacs.")
  3887. (license license:gpl3+))))
  3888. (define-public emacs-dream-theme
  3889. (let* ((commit "107a11d74365046f28a1802a2bdb5e69e4a7488b")
  3890. (revision "1"))
  3891. (package
  3892. (name "emacs-dream-theme")
  3893. (version (string-append "0.0.0-" revision "." (string-take commit 7)))
  3894. (source
  3895. (origin
  3896. (method git-fetch)
  3897. (uri (git-reference
  3898. (url "https://github.com/djcb/dream-theme")
  3899. (commit commit)))
  3900. (file-name (string-append name "-" version "-checkout"))
  3901. (sha256
  3902. (base32
  3903. "0za18nfkq4xqm35k6006vsixcbmvmxqgma4iw5sw37h8vmcsdylk"))))
  3904. (build-system emacs-build-system)
  3905. (home-page "https://github.com/djcb/dream-theme")
  3906. (synopsis "High-contrast Emacs theme")
  3907. (description
  3908. "@code{dream-theme} is a dark, clean theme for Emacs. It is inspired
  3909. by zenburn, sinburn and similar themes, but slowly diverging from them.")
  3910. (license license:gpl3+))))
  3911. (define-public emacs-auto-complete
  3912. (package
  3913. (name "emacs-auto-complete")
  3914. (version "1.5.1")
  3915. (source
  3916. (origin
  3917. (method url-fetch)
  3918. (uri (string-append "https://github.com/auto-complete/"
  3919. "auto-complete/archive/v" version ".tar.gz"))
  3920. (sha256
  3921. (base32
  3922. "1jvq4lj00hwml75lpmlciazy8f3bbg13gffsfnl835p4qd8l7yqv"))
  3923. (file-name (string-append name "-" version ".tar.gz"))))
  3924. (build-system emacs-build-system)
  3925. (propagated-inputs
  3926. `(("emacs-popup" ,emacs-popup)))
  3927. (home-page "https://github.com/auto-complete/auto-complete")
  3928. (synopsis "Intelligent auto-completion extension for Emacs")
  3929. (description
  3930. "Auto-Complete is an intelligent auto-completion extension for Emacs.
  3931. It extends the standard Emacs completion interface and provides an environment
  3932. that allows users to concentrate more on their own work. Its features are:
  3933. a visual interface, reduce overhead of completion by using statistic method,
  3934. extensibility.")
  3935. (license license:gpl3+)))
  3936. (define-public m17n-db
  3937. (package
  3938. (name "m17n-db")
  3939. (version "1.7.0")
  3940. (source
  3941. (origin
  3942. (method url-fetch)
  3943. (uri (string-append "mirror://savannah/m17n/m17n-db-"
  3944. version ".tar.gz"))
  3945. (sha256
  3946. (base32 "1w08hnsbknrcjlzp42c99bgwc9hzsnf5m4apdv0dacql2s09zfm2"))))
  3947. (build-system gnu-build-system)
  3948. (inputs
  3949. `(("gettext" ,gettext-minimal)))
  3950. (arguments
  3951. `(#:configure-flags
  3952. (list (string-append "--with-charmaps="
  3953. (assoc-ref %build-inputs "libc")
  3954. "/share/i18n/charmaps"))))
  3955. ;; With `guix lint' the home-page URI returns a small page saying
  3956. ;; that your browser does not handle frames. This triggers the "URI
  3957. ;; returns suspiciously small file" warning.
  3958. (home-page "http://www.nongnu.org/m17n/")
  3959. (synopsis "Multilingual text processing library (database)")
  3960. (description "The m17n library realizes multilingualization of
  3961. many aspects of applications. The m17n library represents
  3962. multilingual text as an object named M-text. M-text is a string with
  3963. attributes called text properties, and designed to substitute for
  3964. string in C. Text properties carry any information required to input,
  3965. display and edit the text.
  3966. This package contains the library database.")
  3967. (license license:lgpl2.1+)))
  3968. (define-public m17n-lib
  3969. (package
  3970. (name "m17n-lib")
  3971. (version "1.7.0")
  3972. (source
  3973. (origin
  3974. (method url-fetch)
  3975. (uri (string-append "mirror://savannah/m17n/m17n-lib-"
  3976. version ".tar.gz"))
  3977. (sha256
  3978. (base32 "10yv730i25g1rpzv6q49m6xn4p8fjm7jdwvik2h70sn8w3hm7f4f"))))
  3979. (build-system gnu-build-system)
  3980. (inputs
  3981. `(("fribidi" ,fribidi)
  3982. ("gd" ,gd)
  3983. ("libotf" ,libotf)
  3984. ("libxft" ,libxft)
  3985. ("libxml2" ,libxml2)
  3986. ("m17n-db" ,m17n-db)))
  3987. (arguments
  3988. `(#:parallel-build? #f))
  3989. ;; With `guix lint' the home-page URI returns a small page saying
  3990. ;; that your browser does not handle frames. This triggers the "URI
  3991. ;; returns suspiciously small file" warning.
  3992. (home-page "http://www.nongnu.org/m17n/")
  3993. (synopsis "Multilingual text processing library (runtime)")
  3994. (description "The m17n library realizes multilingualization of
  3995. many aspects of applications. The m17n library represents
  3996. multilingual text as an object named M-text. M-text is a string with
  3997. attributes called text properties, and designed to substitute for
  3998. string in C. Text properties carry any information required to input,
  3999. display and edit the text.
  4000. This package contains the library runtime.")
  4001. (license license:lgpl2.1+)))
  4002. (define-public emacs-nginx-mode
  4003. (package
  4004. (name "emacs-nginx-mode")
  4005. (version "1.1.4")
  4006. (source
  4007. (origin
  4008. (method url-fetch)
  4009. (uri (string-append
  4010. "https://github.com/ajc/nginx-mode/archive/v"
  4011. version ".tar.gz"))
  4012. (file-name (string-append name "-" version ".tar.gz"))
  4013. (sha256
  4014. (base32
  4015. "1lvkj07kq0jkskr2f61vqb5rlrbnaz9a76ikq40w6925i2r970rr"))))
  4016. (build-system emacs-build-system)
  4017. (home-page "https://github.com/ajc/nginx-mode")
  4018. (synopsis "Emacs major mode for editing nginx config files")
  4019. (description "This package provides an Emacs major mode for
  4020. editing nginx config files.")
  4021. (license license:gpl2+)))
  4022. (define-public emacs-stream
  4023. (package
  4024. (name "emacs-stream")
  4025. (version "2.2.0")
  4026. (home-page "https://github.com/NicolasPetton/stream")
  4027. (source
  4028. (origin
  4029. (method url-fetch)
  4030. (file-name (string-append name "-" version ".tar.gz"))
  4031. (uri (string-append home-page "/archive/"version ".tar.gz"))
  4032. (sha256
  4033. (base32 "03ql4nqfz5pn55mjly6clhvc3g7x2d28kj7mrlqmigvjbql39xxc"))))
  4034. (build-system emacs-build-system)
  4035. (synopsis "Implementation of streams for Emacs")
  4036. (description "This library provides an implementation of streams for Emacs.
  4037. Streams are implemented as delayed evaluation of cons cells.")
  4038. (license license:gpl3+)))
  4039. (define-public emacs-el-search
  4040. (let ((commit "f26277bfbb3fc3fc74beea6592f294c439796bd4")
  4041. (revision "1"))
  4042. (package
  4043. (name "emacs-el-search")
  4044. ;; No ufficial release.
  4045. (version (string-append "0.0-" revision "." (string-take commit 7)))
  4046. (home-page "https://github.com/emacsmirror/el-search")
  4047. (source
  4048. (origin
  4049. (method git-fetch)
  4050. (file-name (string-append name "-" version ".tar.gz"))
  4051. (uri (git-reference
  4052. (commit commit)
  4053. (url (string-append home-page ".git"))))
  4054. (sha256
  4055. (base32 "12xf40h9sb7xxg2r97gsia94q02543mgiiiw46fzh1ac7b7993g6"))))
  4056. (build-system emacs-build-system)
  4057. (inputs `(("emacs-stream" ,emacs-stream)))
  4058. (synopsis "Expression based interactive search for emacs-lisp-mode")
  4059. (description "This package provides expression based interactive search
  4060. procedures for emacs-lisp-mode.")
  4061. (license license:gpl3+))))
  4062. (define-public emacs-ht
  4063. (package
  4064. (name "emacs-ht")
  4065. (version "2.1")
  4066. (source
  4067. (origin
  4068. (method url-fetch)
  4069. (uri (string-append
  4070. "https://github.com/Wilfred/ht.el/archive/"
  4071. version ".tar.gz"))
  4072. (file-name (string-append name "-" version ".tar.gz"))
  4073. (sha256
  4074. (base32
  4075. "1lpba36kzxcc966fvsbrfpy8ah9gnvay0yk26gbyjil0rggrbqzj"))))
  4076. (build-system emacs-build-system)
  4077. (propagated-inputs `(("emacs-dash" ,emacs-dash)))
  4078. (home-page "https://github.com/Wilfred/ht.el")
  4079. (synopsis "Hash table library for Emacs")
  4080. (description
  4081. "This package simplifies the use of hash tables in elisp. It also
  4082. provides functions to convert hash tables from and to alists and plists.")
  4083. (license license:gpl3+)))
  4084. (define-public emacs-log4e
  4085. (package
  4086. (name "emacs-log4e")
  4087. (version "0.3.0")
  4088. (source
  4089. (origin
  4090. (method url-fetch)
  4091. (uri (string-append
  4092. "https://github.com/aki2o/log4e/archive/v"
  4093. version ".tar.gz"))
  4094. (file-name (string-append name "-" version ".tar.gz"))
  4095. (sha256
  4096. (base32
  4097. "0nbdpbw353snda3v19l9hsm6gimppwnpxj18amm350bm81lyim2g"))))
  4098. (build-system emacs-build-system)
  4099. (arguments
  4100. `(#:phases
  4101. (modify-phases %standard-phases
  4102. (add-after 'unpack 'remove-tests
  4103. ;; Guile builder complains about null characters in some
  4104. ;; strings of test files. Remove "test" directory (it is not
  4105. ;; needed anyway).
  4106. (lambda _
  4107. (delete-file-recursively "test"))))))
  4108. (home-page "https://github.com/aki2o/log4e")
  4109. (synopsis "Logging framework for elisp")
  4110. (description
  4111. "This package provides a logging framework for elisp. It allows
  4112. you to deal with multiple log levels.")
  4113. (license license:gpl3+)))
  4114. (define-public emacs-gntp
  4115. (package
  4116. (name "emacs-gntp")
  4117. (version "0.1")
  4118. (source
  4119. (origin
  4120. (method url-fetch)
  4121. (uri (string-append
  4122. "https://github.com/tekai/gntp.el/archive/v"
  4123. version ".tar.gz"))
  4124. (file-name (string-append name "-" version ".tar.gz"))
  4125. (sha256
  4126. (base32
  4127. "16c1dfkia9yhl206bdhjr3b8kfvqcqr38jl5lq8qsyrrzsnmghny"))))
  4128. (build-system emacs-build-system)
  4129. (home-page "https://github.com/tekai/gntp.el")
  4130. (synopsis "Growl Notification Protocol for Emacs")
  4131. (description
  4132. "This package implements the Growl Notification Protocol GNTP
  4133. described at @uref{http://www.growlforwindows.com/gfw/help/gntp.aspx}.
  4134. It is incomplete as it only lets you send but not receive
  4135. notifications.")
  4136. (license license:bsd-3)))
  4137. (define-public emacs-alert
  4138. (package
  4139. (name "emacs-alert")
  4140. (version "1.2")
  4141. (source
  4142. (origin
  4143. (method url-fetch)
  4144. (uri (string-append
  4145. "https://github.com/jwiegley/alert/archive/v"
  4146. version ".tar.gz"))
  4147. (file-name (string-append name "-" version ".tar.gz"))
  4148. (sha256
  4149. (base32
  4150. "1693kck3k2iz5zhpmxwqyafxm68hr6gzs60lkxd3j1wlp2c9fwyr"))))
  4151. (build-system emacs-build-system)
  4152. (propagated-inputs
  4153. `(("emacs-gntp" ,emacs-gntp)
  4154. ("emacs-log4e" ,emacs-log4e)))
  4155. (home-page "https://github.com/jwiegley/alert")
  4156. (synopsis "Growl-style notification system for Emacs")
  4157. (description
  4158. "Alert is a Growl-workalike for Emacs which uses a common notification
  4159. interface and multiple, selectable \"styles\", whose use is fully
  4160. customizable by the user.")
  4161. (license license:gpl2+)))
  4162. (define-public emacs-mu4e-alert
  4163. (package
  4164. (name "emacs-mu4e-alert")
  4165. (version "1.0")
  4166. (source
  4167. (origin
  4168. (method url-fetch)
  4169. (uri (string-append
  4170. "https://github.com/iqbalansari/mu4e-alert/archive/v"
  4171. version ".tar.gz"))
  4172. (file-name (string-append name "-" version ".tar.gz"))
  4173. (sha256
  4174. (base32
  4175. "07qc834qnxn8xi4bw5nawj8g91bmkzw0r0vahkgysp7r9xrf57gj"))))
  4176. (build-system emacs-build-system)
  4177. (propagated-inputs
  4178. `(("emacs-alert" ,emacs-alert)
  4179. ("emacs-s" ,emacs-s)
  4180. ("emacs-ht" ,emacs-ht)))
  4181. (home-page "https://github.com/iqbalansari/mu4e-alert")
  4182. (synopsis "Desktop notification for mu4e")
  4183. (description
  4184. "This package provides desktop notifications for mu4e.
  4185. Additionally it can display the number of unread emails in the
  4186. mode-line.")
  4187. (license license:gpl3+)))
  4188. (define-public emacs-pretty-mode
  4189. (package
  4190. (name "emacs-pretty-mode")
  4191. (version "2.0.3")
  4192. (source
  4193. (origin
  4194. (method url-fetch)
  4195. (uri (string-append "https://github.com/akatov/pretty-mode/"
  4196. "archive/" version ".tar.gz"))
  4197. (file-name (string-append name "-" version ".tar.gz"))
  4198. (sha256
  4199. (base32
  4200. "1fan7m4vnqs8kpg7r54kx3g7faadkpkf9kzarfv8n57kq8w157pl"))))
  4201. (build-system emacs-build-system)
  4202. (home-page "https://github.com/akatov/pretty-mode")
  4203. (synopsis "Redisplay parts of the buffer as Unicode symbols")
  4204. (description
  4205. "Emacs minor mode for redisplaying parts of the buffer as pretty symbols.")
  4206. (license license:gpl3+)))
  4207. (define-public emacs-yasnippet
  4208. (package
  4209. (name "emacs-yasnippet")
  4210. (version "0.12.0")
  4211. (source (origin
  4212. (method url-fetch)
  4213. (uri (string-append "https://github.com/joaotavora/yasnippet/"
  4214. "archive/" version ".tar.gz"))
  4215. (file-name (string-append name "-" version ".tar.gz"))
  4216. (sha256
  4217. (base32
  4218. "1yqiprighgqz1hsslph50cy09xxqabc06jffrnjcsdf6nj70xlkc"))
  4219. (modules '((guix build utils)))
  4220. (snippet
  4221. '(begin
  4222. ;; YASnippet expects a "snippets" subdirectory in the same
  4223. ;; directory as yasnippet.el, but we don't install it
  4224. ;; because it's a git submodule pointing to an external
  4225. ;; repository. Adjust `yas-snippet-dirs' to prevent
  4226. ;; warnings about a missing directory.
  4227. (substitute* "yasnippet.el"
  4228. (("^ +'yas-installed-snippets-dir\\)\\)\n")
  4229. "))\n"))))))
  4230. (build-system emacs-build-system)
  4231. (home-page "https://github.com/joaotavora/yasnippet")
  4232. (synopsis "Yet another snippet extension for Emacs")
  4233. (description
  4234. "YASnippet is a template system for Emacs. It allows you to type an
  4235. abbreviation and automatically expand it into function templates.")
  4236. (license license:gpl3+)))
  4237. (define-public emacs-yasnippet-snippets
  4238. (let ((commit "885050d34737e2fb36a3e7759d60c09347bd4ce0")
  4239. (revision "1"))
  4240. (package
  4241. (name "emacs-yasnippet-snippets")
  4242. (version (string-append "1-" revision "." (string-take commit 8)))
  4243. (source
  4244. (origin
  4245. (method git-fetch)
  4246. (uri (git-reference
  4247. (url "https://github.com/AndreaCrotti/yasnippet-snippets")
  4248. (commit commit)))
  4249. (file-name (string-append name "-" version "-checkout"))
  4250. (sha256
  4251. (base32
  4252. "1m935zgglw0iakzrixld5rcjz3wnj84f8wy2mvc3pggjri9l0qr9"))))
  4253. (build-system trivial-build-system)
  4254. (arguments
  4255. `(#:modules ((ice-9 ftw)
  4256. (ice-9 regex)
  4257. (guix build utils))
  4258. #:builder
  4259. (begin
  4260. (use-modules (ice-9 ftw)
  4261. (ice-9 regex)
  4262. (guix build utils))
  4263. (with-directory-excursion (assoc-ref %build-inputs "source")
  4264. (for-each (lambda (dir)
  4265. (copy-recursively
  4266. dir
  4267. (string-append %output
  4268. "/share/emacs/yasnippet-snippets/"
  4269. dir)))
  4270. (scandir "." (lambda (fname)
  4271. (and (string-match "-mode$" fname)
  4272. (directory-exists? fname)))))))))
  4273. (home-page "https://github.com/AndreaCrotti/yasnippet-snippets")
  4274. (synopsis "Collection of YASnippet snippets for many languages")
  4275. (description
  4276. "Provides Andrea Crotti's collection of YASnippet snippets. After installation,
  4277. the snippets will be in \"~/.guix-profile/share/emacs/yasnippet-snippets/\".
  4278. To make YASnippet aware of these snippets, add the above directory to
  4279. @code{yas-snippet-dirs}.")
  4280. (license license:expat))))
  4281. (define-public emacs-memoize
  4282. (package
  4283. (name "emacs-memoize")
  4284. (version "20130421.b55eab0")
  4285. (source
  4286. (origin
  4287. (method git-fetch)
  4288. (uri (git-reference
  4289. (url "https://github.com/skeeto/emacs-memoize")
  4290. (commit "b55eab0cb6ab05d941e07b8c01f1655c0cf1dd75")))
  4291. (file-name (string-append name "-" version ".tar.gz"))
  4292. (sha256
  4293. (base32
  4294. "0fjwlrdm270qcrqffvarw5yhijk656q4lam79ybhaznzj0dq3xpw"))))
  4295. (build-system emacs-build-system)
  4296. (arguments
  4297. `(#:phases
  4298. (modify-phases %standard-phases
  4299. (add-before 'install 'check
  4300. (lambda _
  4301. (zero? (system* "emacs" "-batch" "-l" "memoize.el"
  4302. "-l" "memoize-test.el"
  4303. "-f" "ert-run-tests-batch-and-exit")))))))
  4304. (home-page "https://github.com/skeeto/emacs-memoize")
  4305. (synopsis "Emacs lisp memoization library")
  4306. (description "@code{emacs-memoize} is an Emacs library for
  4307. memoizing functions.")
  4308. (license license:unlicense)))
  4309. (define-public emacs-linum-relative
  4310. (package
  4311. (name "emacs-linum-relative")
  4312. (version "0.5")
  4313. (source
  4314. (origin
  4315. (method url-fetch)
  4316. (uri (string-append
  4317. "https://github.com/coldnew/linum-relative/archive/"
  4318. version ".tar.gz"))
  4319. (file-name (string-append name "-" version ".tar.gz"))
  4320. (sha256
  4321. (base32
  4322. "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
  4323. (build-system emacs-build-system)
  4324. (home-page "https://github.com/coldnew/linum-relative")
  4325. (synopsis "Relative line numbering for Emacs")
  4326. (description "@code{emacs-linum-relative} displays the relative line
  4327. number on the left margin in Emacs.")
  4328. (license license:gpl2+)))
  4329. (define-public emacs-idle-highlight
  4330. (package
  4331. (name "emacs-idle-highlight")
  4332. (version "1.1.3")
  4333. (source
  4334. (origin
  4335. (method url-fetch)
  4336. (uri (string-append
  4337. "https://github.com/nonsequitur/idle-highlight-mode/archive/"
  4338. version ".tar.gz"))
  4339. (file-name (string-append name "-" version ".tar.gz"))
  4340. (sha256
  4341. (base32
  4342. "0kdv10hrgqpskjh0zvpnzwlkn5bccnqxas62gkws6njln57bf8nl"))))
  4343. (build-system emacs-build-system)
  4344. (home-page "https://www.emacswiki.org/emacs/IdleHighlight")
  4345. (synopsis "Highlights all occurrences of the word the point is on")
  4346. (description
  4347. "This Emacs package provides @code{idle-highlight-mode} that sets
  4348. an idle timer to highlight all occurrences in the buffer of the word under
  4349. the point.")
  4350. (license license:gpl3+)))
  4351. (define-public emacs-ox-twbs
  4352. (package
  4353. (name "emacs-ox-twbs")
  4354. (version "1.1.1")
  4355. (source
  4356. (origin
  4357. (method url-fetch)
  4358. (uri (string-append
  4359. "https://github.com/marsmining/ox-twbs/archive/v"
  4360. version ".tar.gz"))
  4361. (file-name (string-append name "-" version ".tar.gz"))
  4362. (sha256
  4363. (base32
  4364. "1zaq8dczq5wijjk36114k2x3hfrqig3lyx6djril6wyk67vczyqs"))))
  4365. (build-system emacs-build-system)
  4366. (home-page "https://github.com/marsmining/ox-twbs")
  4367. (synopsis "Export org-mode docs as HTML compatible with Twitter Bootstrap")
  4368. (description
  4369. "This Emacs package outputs your org-mode docs with a simple, clean and
  4370. modern look. It implements a new HTML back-end for exporting org-mode docs as
  4371. HTML compatible with Twitter Bootstrap. By default, HTML is exported with
  4372. jQuery and Bootstrap resources included via osscdn.")
  4373. (license license:gpl3+)))
  4374. (define-public emacs-highlight-sexp
  4375. (package
  4376. (name "emacs-highlight-sexp")
  4377. (version "1.0")
  4378. (source
  4379. (origin
  4380. (method url-fetch)
  4381. (uri (string-append
  4382. "https://github.com/daimrod/highlight-sexp/archive/v"
  4383. version ".tar.gz"))
  4384. (file-name (string-append name "-" version ".tar.gz"))
  4385. (sha256
  4386. (base32
  4387. "0jwx87qkln1rg9wmv4qkgkml935fh2pkgrg5x4ca6n5dgb4q6rj1"))))
  4388. (build-system emacs-build-system)
  4389. (home-page "https://github.com/daimrod/highlight-sexp")
  4390. (synopsis "Minor mode that highlights the s-exp at the current position")
  4391. (description
  4392. "This Emacs package highlights the s-exp at the current position.")
  4393. (license license:gpl3+)))
  4394. (define-public emacspeak
  4395. (package
  4396. (name "emacspeak")
  4397. (version "46.0")
  4398. (source
  4399. (origin
  4400. (method url-fetch)
  4401. (uri (string-append
  4402. "https://github.com/tvraman/emacspeak/releases/download/"
  4403. version "/emacspeak-" version ".tar.bz2"))
  4404. (sha256
  4405. (base32
  4406. "15x4yfp3wl2fxm1nkx6pz3clw6zyw3argcsqxgcx6pa28sivlg2n"))
  4407. (modules '((guix build utils)))
  4408. (snippet
  4409. ;; Delete the bundled byte-compiled elisp files.
  4410. '(for-each delete-file (find-files "lisp" "\\.elc$")))))
  4411. (build-system gnu-build-system)
  4412. (arguments
  4413. '(#:make-flags (list (string-append "prefix="
  4414. (assoc-ref %outputs "out")))
  4415. #:phases
  4416. (modify-phases %standard-phases
  4417. (replace 'configure
  4418. (lambda _
  4419. ;; Configure Emacspeak according to etc/install.org.
  4420. (zero? (system* "make" "config"))))
  4421. (add-after 'build 'build-espeak
  4422. (lambda _
  4423. (zero? (system* "make" "espeak"))))
  4424. (replace 'install
  4425. (lambda* (#:key outputs #:allow-other-keys)
  4426. (let* ((out (assoc-ref outputs "out"))
  4427. (bin (string-append out "/bin"))
  4428. (lisp (string-append out "/share/emacs/site-lisp/emacspeak"))
  4429. (info (string-append out "/share/info")))
  4430. ;; According to etc/install.org, the Emacspeak directory should
  4431. ;; be copied to its installation destination.
  4432. (for-each
  4433. (lambda (file)
  4434. (copy-recursively file (string-append lisp "/" file)))
  4435. '("etc" "info" "lisp" "media" "servers" "sounds" "stumpwm"
  4436. "xsl"))
  4437. ;; Make sure emacspeak is loaded from the correct directory.
  4438. (substitute* "etc/emacspeak.sh"
  4439. (("exec emacs.*$")
  4440. (string-append "exec emacs -l " lisp
  4441. "/lisp/emacspeak-setup.el $CL_ALL")))
  4442. ;; Install the convenient startup script.
  4443. (mkdir-p bin)
  4444. (copy-file "etc/emacspeak.sh" (string-append bin "/emacspeak")))
  4445. #t))
  4446. (add-after 'install 'wrap-program
  4447. (lambda* (#:key inputs outputs #:allow-other-keys)
  4448. (let* ((out (assoc-ref outputs "out"))
  4449. (emacspeak (string-append out "/bin/emacspeak"))
  4450. (espeak (string-append (assoc-ref inputs "espeak")
  4451. "/bin/espeak")))
  4452. ;; The environment variable DTK_PROGRAM tells emacspeak what
  4453. ;; program to use for speech.
  4454. (wrap-program emacspeak
  4455. `("DTK_PROGRAM" ":" prefix (,espeak)))
  4456. #t))))
  4457. #:tests? #f)) ; no check target
  4458. (inputs
  4459. `(("espeak" ,espeak)
  4460. ("tcl" ,tcl)
  4461. ("tclx" ,tclx)))
  4462. (native-inputs `(("emacs" ,emacs-minimal)))
  4463. (home-page "http://emacspeak.sourceforge.net")
  4464. (synopsis "Audio desktop interface for Emacs")
  4465. (description
  4466. "Emacspeak is a speech interface that allows visually impaired users to
  4467. interact independently and efficiently with the computer. Audio formatting
  4468. --a technique pioneered by AsTeR-- and full support for W3C's Aural CSS (ACSS)
  4469. allows Emacspeak to produce rich aural presentations of electronic information.
  4470. By seamlessly blending all aspects of the Internet such as Web-surfing and
  4471. messaging, Emacspeak speech-enables local and remote information via a
  4472. consistent and well-integrated user interface.")
  4473. (license license:gpl2+)))
  4474. (define-public emacs-adaptive-wrap
  4475. (package
  4476. (name "emacs-adaptive-wrap")
  4477. (version "0.5")
  4478. (source (origin
  4479. (method url-fetch)
  4480. (uri (string-append
  4481. "http://elpa.gnu.org/packages/adaptive-wrap-"
  4482. version ".el"))
  4483. (sha256
  4484. (base32
  4485. "0frgmp8vrrml4iykm60j4d6cl9rbcivy9yh24q6kd10bcyx59ypy"))))
  4486. (build-system emacs-build-system)
  4487. (home-page "http://elpa.gnu.org/packages/adaptive-wrap.html")
  4488. (synopsis "Smart line-wrapping with wrap-prefix")
  4489. (description
  4490. "This Emacs package provides the @code{adaptive-wrap-prefix-mode}
  4491. minor mode which sets the wrap-prefix property on the fly so that
  4492. single-long-line paragraphs get word-wrapped in a way similar to what
  4493. you'd get with @kbd{M-q} using @code{adaptive-fill-mode}, but without
  4494. actually changing the buffer's text.")
  4495. (license license:gpl3+)))
  4496. (define-public emacs-diminish
  4497. (package
  4498. (name "emacs-diminish")
  4499. (version "0.45")
  4500. (source
  4501. (origin
  4502. (method url-fetch)
  4503. (uri (string-append
  4504. "https://github.com/myrjola/diminish.el/archive/v"
  4505. version ".tar.gz"))
  4506. (file-name (string-append name "-" version ".tar.gz"))
  4507. (sha256
  4508. (base32
  4509. "0i3629sv5cfrrb00hcnmaqzgs8mk36yasc1ax3ry1ga09nr6rkj9"))))
  4510. (build-system emacs-build-system)
  4511. (home-page "https://github.com/myrjola/diminish.el")
  4512. (synopsis "Diminish minor modes with no modeline display")
  4513. (description "@code{emacs-diminish} implements hiding or
  4514. abbreviation of the mode line displays (lighters) of minor modes.")
  4515. (license license:gpl2+)))
  4516. (define-public emacs-use-package
  4517. (package
  4518. (name "emacs-use-package")
  4519. (version "2.3")
  4520. (source
  4521. (origin
  4522. (method url-fetch)
  4523. (uri (string-append
  4524. "https://github.com/jwiegley/use-package/archive/"
  4525. version ".tar.gz"))
  4526. (file-name (string-append name "-" version ".tar.gz"))
  4527. (sha256
  4528. (base32
  4529. "0x4h136jb3imyli6zsh7dyzjrra6pv0v6b0yk94jdng3rdfcmsf5"))))
  4530. (build-system emacs-build-system)
  4531. (propagated-inputs
  4532. `(("emacs-diminish" ,emacs-diminish)))
  4533. (arguments
  4534. `(#:phases
  4535. (modify-phases %standard-phases
  4536. (add-before 'install 'check
  4537. (lambda _
  4538. (zero? (system* "emacs" "--batch" "-L" "."
  4539. "-l" "use-package-tests.el"
  4540. "-f" "ert-run-tests-batch-and-exit"))
  4541. ;; Tests fail in this release, but have been fixed in
  4542. ;; upstream commit 7956d40eed57d6c06bef36ebc174cf57d934e30d
  4543. #t)))))
  4544. (home-page "https://github.com/jwiegley/use-package")
  4545. (synopsis "Declaration for simplifying your .emacs")
  4546. (description "The use-package macro allows you to isolate package
  4547. configuration in your @file{.emacs} file in a way that is both
  4548. performance-oriented and tidy.")
  4549. (license license:gpl2+)))
  4550. (define-public emacs-strace-mode
  4551. (let* ((commit "6a69b4b06db6797af56f33eda5cb28af94e59f11")
  4552. (revision "1"))
  4553. (package
  4554. (name "emacs-strace-mode")
  4555. (version (string-append "0.0.2-" revision "." (string-take commit 7)))
  4556. (source (origin
  4557. (method git-fetch)
  4558. (uri (git-reference
  4559. (url "https://github.com/pkmoore/strace-mode")
  4560. (commit commit)))
  4561. (file-name (string-append name "-" version "-checkout"))
  4562. (sha256
  4563. (base32
  4564. "1lbk2kzdznf2bkfazizfbimaxxzfzv00lrz1ran9dc2zqbc0bj9f"))))
  4565. (build-system emacs-build-system)
  4566. (home-page "https://github.com/pkmoore/strace-mode")
  4567. (synopsis "Emacs major mode to highlight strace outputs")
  4568. (description "@code{emacs-strace-mode} provides an Emacs major mode
  4569. highlighting strace outputs.")
  4570. (license license:gpl3+))))
  4571. (define-public emacs-default-encrypt
  4572. (package
  4573. (name "emacs-default-encrypt")
  4574. (version "4.3")
  4575. (source
  4576. (origin
  4577. (method url-fetch)
  4578. (uri (string-append
  4579. "https://www.informationelle-selbstbestimmung-im-internet.de"
  4580. "/emacs/jl-encrypt" version "/jl-encrypt.el"))
  4581. (file-name (string-append "jl-encrypt-" version ".el"))
  4582. (sha256
  4583. (base32
  4584. "16i3rlfp3jxlqvndn8idylhmczync3gwmy8a019v29vyr48rnnr0"))))
  4585. (build-system emacs-build-system)
  4586. (home-page "https://www.informationelle-selbstbestimmung-im-internet.de/Emacs.html")
  4587. (synopsis "Automatically encrypt or sign Gnus messages in Emacs")
  4588. (description
  4589. "DefaultEncrypt is designed to be used with Gnus in Emacs. It
  4590. automatically encrypts messages that you send (e.g., email) when public keys
  4591. for all recipients are available, and it protects you from accidentally
  4592. sending un-encrypted messages. It can also be configured to automatically
  4593. sign messages that you send. For details and instructions on how to use
  4594. DefaultEncrypt, please refer to the home page or read the comments in the
  4595. source file, @file{jl-encrypt.el}.")
  4596. (license license:gpl3+)))
  4597. (define-public emacs-htmlize
  4598. (package
  4599. (name "emacs-htmlize")
  4600. (version "1.51")
  4601. (source
  4602. (origin
  4603. (method url-fetch)
  4604. (uri (string-append
  4605. "https://github.com/hniksic/emacs-htmlize/archive/release/"
  4606. version ".tar.gz"))
  4607. (file-name (string-append name "-" version ".tar.gz"))
  4608. (sha256
  4609. (base32
  4610. "1fy1lybzrxl8a8r88f6p19nz8ygmvcxhxbnymkxh7jqaz25viwld"))))
  4611. (build-system emacs-build-system)
  4612. (home-page "https://github.com/hniksic/emacs-htmlize")
  4613. (synopsis "Convert buffer text and decorations to HTML")
  4614. (description "@code{emacs-htmlize} converts the buffer text and
  4615. the associated decorations to HTML. Output to CSS, inline CSS and
  4616. fonts is supported.")
  4617. (license license:gpl2+)))
  4618. (define-public emacs-xmlgen
  4619. (package
  4620. (name "emacs-xmlgen")
  4621. (version "0.5")
  4622. (source
  4623. (origin
  4624. (method url-fetch)
  4625. (uri (string-append
  4626. "https://github.com/philjackson/xmlgen/archive/"
  4627. version ".tar.gz"))
  4628. (file-name (string-append name "-" version ".tar.gz"))
  4629. (sha256
  4630. (base32
  4631. "0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
  4632. (build-system emacs-build-system)
  4633. (arguments
  4634. `(#:phases
  4635. (modify-phases %standard-phases
  4636. (add-before 'install 'check
  4637. (lambda _
  4638. (zero? (system* "emacs" "--batch" "-L" "."
  4639. "-l" "xmlgen-test.el"
  4640. "-f" "ert-run-tests-batch-and-exit")))))))
  4641. (home-page "https://github.com/philjackson/xmlgen")
  4642. (synopsis "S-expression to XML domain specific language (DSL) in
  4643. Emacs Lisp")
  4644. (description "@code{emacs-xmlgen} provides S-expression to XML
  4645. conversion for Emacs Lisp.")
  4646. (license license:gpl2+)))
  4647. (define-public emacs-cdlatex
  4648. (package
  4649. (name "emacs-cdlatex")
  4650. (version "4.7")
  4651. (source
  4652. (origin
  4653. (method url-fetch)
  4654. (uri (string-append
  4655. "https://github.com/cdominik/cdlatex/archive/"
  4656. version ".tar.gz"))
  4657. (file-name (string-append name "-" version ".tar.gz"))
  4658. (sha256
  4659. (base32
  4660. "0pivapphmykc6vhvpx7hdyl55ls37vc4jcrxpvs4yk7jzcmwa9xp"))))
  4661. (build-system emacs-build-system)
  4662. (home-page "https://github.com/cdominik/cdlatex")
  4663. (synopsis "Fast Emacs input methods for LaTeX environments and
  4664. math")
  4665. (description "CDLaTeX is an Emacs minor mode supporting fast
  4666. insertion of environment templates and math in LaTeX. Similar
  4667. commands are also offered as part of the AUCTeX package, but it is not
  4668. the same - CDLaTeX focuses on speediness for inserting LaTeX
  4669. constructs.")
  4670. (license license:gpl3+)))
  4671. (define-public emacs-cnfonts
  4672. (package
  4673. (name "emacs-cnfonts")
  4674. (version "0.9.1")
  4675. (source (origin
  4676. (method url-fetch)
  4677. (uri (string-append
  4678. "https://github.com/tumashu/cnfonts/archive/v"
  4679. version ".tar.gz"))
  4680. (file-name (string-append name "-" version ".tar.gz"))
  4681. (sha256
  4682. (base32
  4683. "1l6cgcvc6md1zq97ccczankpyi0k4vjx6apflny6kjq3p33lyhf4"))))
  4684. (build-system emacs-build-system)
  4685. (home-page "https://github.com/tumashu/cnfonts")
  4686. (synopsis "Emacs Chinese fonts setup tool")
  4687. (description "cnfonts is a Chinese fonts setup tool, allowing for easy
  4688. configuration of Chinese fonts.")
  4689. (license license:gpl2+)))
  4690. (define-public emacs-pos-tip
  4691. (package
  4692. (name "emacs-pos-tip")
  4693. (version "0.4.6")
  4694. (source (origin
  4695. (method url-fetch)
  4696. (uri (string-append
  4697. "https://github.com/pitkali/pos-tip/archive/"
  4698. version ".tar.gz"))
  4699. (file-name (string-append name "-" version ".tar.gz"))
  4700. (sha256
  4701. (base32
  4702. "12jqfy26vjk7lq0aa8yn8zqj8c85fkvx7y9prj0pcn4wqiz2ad2r"))))
  4703. (build-system emacs-build-system)
  4704. ;; The following functions and variables needed by emacs-pos-tip are
  4705. ;; not included in emacs-minimal:
  4706. ;; x-display-pixel-width, x-display-pixel-height, x-show-tip
  4707. (arguments `(#:emacs ,emacs))
  4708. (home-page "https://github.com/pitkali/pos-tip")
  4709. (synopsis "Show tooltip at point")
  4710. (description "The standard library tooltip.el provides a function for
  4711. displaying a tooltip at the mouse position. However, locating a tooltip at an
  4712. arbitrary buffer position in a window is not easy. Pos-tip provides such a
  4713. function to be used by other frontend programs.")
  4714. (license license:gpl2+)))
  4715. (define-public emacs-pyim-basedict
  4716. (package
  4717. (name "emacs-pyim-basedict")
  4718. (version "0.3.1")
  4719. (source (origin
  4720. (method url-fetch)
  4721. (uri (string-append
  4722. "https://github.com/tumashu/pyim-basedict/archive/v"
  4723. version ".tar.gz"))
  4724. (file-name (string-append name "-" version ".tar.gz"))
  4725. (sha256
  4726. (base32
  4727. "0nfgxviavkgrpyfsw60xsws4fk51fcmgl8fp6zf4ibqjjbp53n3n"))))
  4728. (build-system emacs-build-system)
  4729. (home-page "https://github.com/tumashu/pyim-basedict")
  4730. (synopsis "Input method dictionary of pyim")
  4731. (description "Pyim-basedict is the default pinyin input method dictionary,
  4732. containing words from the rime project.")
  4733. (license license:gpl2+)))
  4734. (define-public emacs-pyim
  4735. (package
  4736. (name "emacs-pyim")
  4737. (version "1.6.4")
  4738. (source (origin
  4739. (method url-fetch)
  4740. (uri (string-append
  4741. "https://github.com/tumashu/pyim/archive/v"
  4742. version ".tar.gz"))
  4743. (file-name (string-append name "-" version ".tar.gz"))
  4744. (sha256
  4745. (base32
  4746. "0hfg8q9hcjifvnlghw2g94dfxfirms2psq2ghqb28fhkf0lks13r"))))
  4747. (build-system emacs-build-system)
  4748. (propagated-inputs
  4749. `(("emacs-async" ,emacs-async)
  4750. ("emacs-pyim-basedict" ,emacs-pyim-basedict)
  4751. ("emacs-popup" ,emacs-popup)
  4752. ("emacs-pos-tip" ,emacs-pos-tip)))
  4753. (home-page "https://github.com/tumashu/pyim")
  4754. (synopsis "Chinese input method")
  4755. (description "Chinese input method which supports quanpin, shuangpin, wubi
  4756. and cangjie.")
  4757. (license license:gpl2+)))
  4758. (define-public emacs-el2org
  4759. (package
  4760. (name "emacs-el2org")
  4761. (version "0.6.0")
  4762. (source (origin
  4763. (method url-fetch)
  4764. (uri (string-append
  4765. "https://github.com/tumashu/el2org/archive/v"
  4766. version ".tar.gz"))
  4767. (file-name (string-append name "-" version ".tar.gz"))
  4768. (sha256
  4769. (base32
  4770. "0gd3km1swwvg2w0kdi7370f54wgrflxn63gjgssfjc1iyc9sbqwq"))))
  4771. (build-system emacs-build-system)
  4772. (home-page "https://github.com/tumashu/el2org")
  4773. (synopsis "Convert Emacs-lisp file to org file")
  4774. (description "El2org is a simple tool, which can convert Emacs-lisp file
  4775. to org file, you can use this tool to write orgify commentary.")
  4776. (license license:gpl2+)))
  4777. (define-public emacs-mustache
  4778. (package
  4779. (name "emacs-mustache")
  4780. (version "0.23")
  4781. (source (origin
  4782. (method url-fetch)
  4783. (uri (string-append
  4784. "https://github.com/Wilfred/mustache.el/archive/"
  4785. version ".tar.gz"))
  4786. (file-name (string-append name "-" version ".tar.gz"))
  4787. (sha256
  4788. (base32
  4789. "0k9lcgil7kykkv1ylrgwy1g13ldjjmgi2cwmysgyb2vlj3jbwpdj"))))
  4790. (build-system emacs-build-system)
  4791. (propagated-inputs
  4792. `(("emacs-dash" ,emacs-dash)
  4793. ("emacs-ht" ,emacs-ht)
  4794. ("emacs-s" ,emacs-s)))
  4795. (home-page "https://github.com/Wilfred/mustache.el")
  4796. (synopsis "Mustache templating library for Emacs")
  4797. (description "Mustache templating library for Emacs, mustache is
  4798. a simple web template system, which is described as a logic-less system
  4799. because it lacks any explicit control flow statements, both looping and
  4800. conditional evaluation can be achieved using section tags processing lists
  4801. and lambdas.")
  4802. (license license:gpl3+)))
  4803. (define-public emacs-org2web
  4804. (package
  4805. (name "emacs-org2web")
  4806. (version "0.9.1")
  4807. (source (origin
  4808. (method url-fetch)
  4809. (uri (string-append
  4810. "https://github.com/tumashu/org2web/archive/v"
  4811. version ".tar.gz"))
  4812. (file-name (string-append name "-" version ".tar.gz"))
  4813. (sha256
  4814. (base32
  4815. "1c0ixcphlhp4c4qdiwq40bc3yp1gp1llp8pxrk4s7ny9n68s52zp"))))
  4816. (build-system emacs-build-system)
  4817. (propagated-inputs
  4818. `(("emacs-dash" ,emacs-dash)
  4819. ("emacs-el2org" ,emacs-el2org)
  4820. ("emacs-ht" ,emacs-ht)
  4821. ("emacs-mustache" ,emacs-mustache)
  4822. ("emacs-simple-httpd" ,emacs-simple-httpd)))
  4823. (home-page "https://github.com/tumashu/org2web")
  4824. (synopsis "Static site generator based on org-mode ")
  4825. (description "Org2web is a static site generator based on org-mode,
  4826. which code derived from Kelvin H's org-page.")
  4827. (license license:gpl2+)))
  4828. (define-public emacs-xelb
  4829. (package
  4830. (name "emacs-xelb")
  4831. (version "0.12")
  4832. (source (origin
  4833. (method url-fetch)
  4834. (uri (string-append "https://elpa.gnu.org/packages/xelb-"
  4835. version ".tar"))
  4836. (sha256
  4837. (base32
  4838. "0i9n0f3ibj4a5pwcsvwrah9m0fz32m0x6a9wsmjn3li20v8pcb81"))))
  4839. (build-system emacs-build-system)
  4840. ;; The following functions and variables needed by emacs-xelb are
  4841. ;; not included in emacs-minimal:
  4842. ;; x-display-screens, x-keysym-table, x-alt-keysym, x-meta-keysym
  4843. ;; x-hyper-keysym, x-super-keysym, libxml-parse-xml-region
  4844. ;; x-display-pixel-width, x-display-pixel-height
  4845. (arguments
  4846. `(#:emacs ,emacs
  4847. #:phases
  4848. (modify-phases %standard-phases
  4849. (add-after 'unpack 'regenerate-el-files
  4850. (lambda* (#:key inputs #:allow-other-keys)
  4851. (zero? (system* "make"
  4852. (string-append "PROTO_PATH="
  4853. (assoc-ref inputs "xcb-proto")
  4854. "/share/xcb")
  4855. (string-append "EMACS_BIN="
  4856. (assoc-ref inputs "emacs")
  4857. "/bin/emacs -Q"))))))))
  4858. (native-inputs `(("xcb-proto" ,xcb-proto)))
  4859. (home-page "https://github.com/ch11ng/xelb")
  4860. (synopsis "X protocol Emacs Lisp binding")
  4861. (description "@code{emacs-xelb} is a pure Emacs Lisp implementation of the
  4862. X11 protocol based on the XML description files from the XCB project. It
  4863. features an object-oriented API and permits a certain degree of concurrency.
  4864. It should enable you to implement low-level X11 applications.")
  4865. (license license:gpl3+)))
  4866. (define-public emacs-exwm
  4867. (package
  4868. (name "emacs-exwm")
  4869. (version "0.15")
  4870. (synopsis "Emacs X window manager")
  4871. (source (origin
  4872. (method url-fetch)
  4873. (uri (string-append "https://elpa.gnu.org/packages/exwm-"
  4874. version ".tar"))
  4875. (sha256
  4876. (base32
  4877. "1y7nqry9y0a99bsdqkk9f554vczfw4sz6raadw3138835qy697jg"))))
  4878. (build-system emacs-build-system)
  4879. (propagated-inputs
  4880. `(("emacs-xelb" ,emacs-xelb)))
  4881. (inputs
  4882. `(("xhost" ,xhost)
  4883. ("dbus" ,dbus)))
  4884. ;; The following functions and variables needed by emacs-exwm are
  4885. ;; not included in emacs-minimal:
  4886. ;; scroll-bar-mode, fringe-mode
  4887. ;; x-display-pixel-width, x-display-pixel-height
  4888. (arguments
  4889. `(#:emacs ,emacs
  4890. #:phases
  4891. (modify-phases %standard-phases
  4892. (add-after 'build 'install-xsession
  4893. (lambda* (#:key inputs outputs #:allow-other-keys)
  4894. (let* ((out (assoc-ref outputs "out"))
  4895. (xsessions (string-append out "/share/xsessions"))
  4896. (bin (string-append out "/bin"))
  4897. (exwm-executable (string-append bin "/exwm")))
  4898. ;; Add a .desktop file to xsessions
  4899. (mkdir-p xsessions)
  4900. (mkdir-p bin)
  4901. (with-output-to-file
  4902. (string-append xsessions "/exwm.desktop")
  4903. (lambda _
  4904. (format #t "[Desktop Entry]~@
  4905. Name=~a~@
  4906. Comment=~a~@
  4907. Exec=~a~@
  4908. TryExec=~@*~a~@
  4909. Type=Application~%" ,name ,synopsis exwm-executable)))
  4910. ;; Add a shell wrapper to bin
  4911. (with-output-to-file exwm-executable
  4912. (lambda _
  4913. (format #t "#!~a ~@
  4914. ~a +SI:localuser:$USER ~@
  4915. exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
  4916. (string-append (assoc-ref inputs "bash") "/bin/sh")
  4917. (string-append (assoc-ref inputs "xhost") "/bin/xhost")
  4918. (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
  4919. (string-append (assoc-ref inputs "emacs") "/bin/emacs")
  4920. '(cond
  4921. ((file-exists-p "~/.exwm")
  4922. (load-file "~/.exwm"))
  4923. ((not (featurep 'exwm))
  4924. (require 'exwm)
  4925. (require 'exwm-config)
  4926. (exwm-config-default)
  4927. (message (concat "exwm configuration not found. "
  4928. "Falling back to default configuration...")))))))
  4929. (chmod exwm-executable #o555)
  4930. #t))))))
  4931. (home-page "https://github.com/ch11ng/exwm")
  4932. (description "EXWM is a full-featured tiling X window manager for Emacs
  4933. built on top of XELB.")
  4934. (license license:gpl3+)))
  4935. (define-public emacs-switch-window
  4936. (package
  4937. (name "emacs-switch-window")
  4938. (version "1.5.1")
  4939. (source (origin
  4940. (method url-fetch)
  4941. (uri (string-append
  4942. "https://github.com/dimitri/switch-window/archive/v"
  4943. version ".tar.gz"))
  4944. (file-name (string-append name "-" version ".tar.gz"))
  4945. (sha256
  4946. (base32
  4947. "07f99apxscwvsp2bjxsbi462c433kcglrjh6xl0gyafs1nvvvnd8"))))
  4948. (build-system emacs-build-system)
  4949. (home-page "https://github.com/dimitri/switch-window")
  4950. (synopsis "Emacs window switch tool")
  4951. (description "Switch-window is an emacs window switch tool, which
  4952. offer a visual way to choose a window to switch to, delete, split or
  4953. other operations.")
  4954. (license license:wtfpl2)))
  4955. (define-public emacs-exwm-x
  4956. (package
  4957. (name "emacs-exwm-x")
  4958. (version "1.7.2")
  4959. (synopsis "Derivative window manager based on EXWM")
  4960. (source (origin
  4961. (method url-fetch)
  4962. (uri (string-append
  4963. "https://github.com/tumashu/exwm-x/archive/v"
  4964. version ".tar.gz"))
  4965. (file-name (string-append name "-" version ".tar.gz"))
  4966. (sha256
  4967. (base32
  4968. "1ny13i82fb72917jgl0ndwjg1x6l9f8gfhcx7cwlwhh5saq23mvy"))))
  4969. (build-system emacs-build-system)
  4970. (propagated-inputs
  4971. `(("emacs-exwm" ,emacs-exwm)
  4972. ("emacs-switch-window" ,emacs-switch-window)
  4973. ("emacs-ivy" ,emacs-ivy)
  4974. ("emacs-use-package" ,emacs-use-package)))
  4975. (inputs
  4976. `(("xhost" ,xhost)
  4977. ("dbus" ,dbus)))
  4978. ;; Need emacs instead of emacs-minimal,
  4979. ;; for emacs's bin path will be inserted into bin/exwm-x file.
  4980. (arguments
  4981. `(#:emacs ,emacs
  4982. #:phases
  4983. (modify-phases %standard-phases
  4984. (add-after 'build 'install-xsession
  4985. (lambda* (#:key inputs outputs #:allow-other-keys)
  4986. (let* ((out (assoc-ref outputs "out"))
  4987. (xsessions (string-append out "/share/xsessions"))
  4988. (bin (string-append out "/bin"))
  4989. (exwm-executable (string-append bin "/exwm-x")))
  4990. ;; Add a .desktop file to xsessions
  4991. (mkdir-p xsessions)
  4992. (mkdir-p bin)
  4993. (with-output-to-file
  4994. (string-append xsessions "/exwm-x.desktop")
  4995. (lambda _
  4996. (format #t "[Desktop Entry]~@
  4997. Name=~a~@
  4998. Comment=~a~@
  4999. Exec=~a~@
  5000. TryExec=~@*~a~@
  5001. Type=Application~%" ,name ,synopsis exwm-executable)))
  5002. ;; Add a shell wrapper to bin
  5003. (with-output-to-file exwm-executable
  5004. (lambda _
  5005. (format #t "#!~a ~@
  5006. ~a +SI:localuser:$USER ~@
  5007. exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%"
  5008. (string-append (assoc-ref inputs "bash") "/bin/sh")
  5009. (string-append (assoc-ref inputs "xhost") "/bin/xhost")
  5010. (string-append (assoc-ref inputs "dbus") "/bin/dbus-launch")
  5011. (string-append (assoc-ref inputs "emacs") "/bin/emacs")
  5012. '(require 'exwmx-loader))))
  5013. (chmod exwm-executable #o555)
  5014. #t))))))
  5015. (home-page "https://github.com/tumashu/exwm-x")
  5016. (description "EXWM-X is a derivative window manager based on EXWM, with focus
  5017. on mouse-control.")
  5018. (license license:gpl3+)))
  5019. (define-public emacs-gnuplot
  5020. (package
  5021. (name "emacs-gnuplot")
  5022. (version "0.7.0")
  5023. (source
  5024. (origin
  5025. (method url-fetch)
  5026. (uri (string-append
  5027. "https://github.com/bruceravel/gnuplot-mode/archive/"
  5028. version ".tar.gz"))
  5029. (file-name (string-append name "-" version ".tar.gz"))
  5030. (sha256
  5031. (base32
  5032. "0glzymrn138lwig7p4cj17x4if5jisr6l4g6wcbxisqkqgc1h01i"))))
  5033. (build-system gnu-build-system)
  5034. (native-inputs `(("emacs" ,emacs-minimal)))
  5035. (arguments
  5036. (let ((elisp-dir (string-append "/share/emacs/site-lisp/guix.d"
  5037. "/gnuplot-" version)))
  5038. `(#:modules ((guix build gnu-build-system)
  5039. (guix build utils)
  5040. (guix build emacs-utils))
  5041. #:imported-modules (,@%gnu-build-system-modules
  5042. (guix build emacs-utils))
  5043. #:configure-flags
  5044. (list (string-append "EMACS=" (assoc-ref %build-inputs "emacs")
  5045. "/bin/emacs")
  5046. (string-append "--with-lispdir=" %output ,elisp-dir))
  5047. #:phases
  5048. (modify-phases %standard-phases
  5049. (add-after 'install 'generate-autoloads
  5050. (lambda* (#:key outputs #:allow-other-keys)
  5051. (emacs-generate-autoloads
  5052. "gnuplot"
  5053. (string-append (assoc-ref outputs "out") ,elisp-dir))
  5054. #t))))))
  5055. (home-page "https://github.com/bruceravel/gnuplot-mode")
  5056. (synopsis "Emacs major mode for interacting with gnuplot")
  5057. (description "@code{emacs-gnuplot} is an emacs major mode for interacting
  5058. with gnuplot.")
  5059. (license license:gpl2+)))
  5060. (define-public emacs-transpose-frame
  5061. (package
  5062. (name "emacs-transpose-frame")
  5063. (version "0.1.0")
  5064. (source
  5065. (origin
  5066. (method url-fetch)
  5067. (uri "http://www.emacswiki.org/emacs/download/transpose-frame.el")
  5068. (file-name (string-append "transpose-frame-" version ".el"))
  5069. (sha256
  5070. (base32
  5071. "1f67yksgw9s6j0033hmqzaxx2a93jm11sd5ys7cc3li5gfh680m4"))))
  5072. (build-system emacs-build-system)
  5073. (home-page "https://www.emacswiki.org/emacs/TransposeFrame")
  5074. (synopsis "Transpose window arrangement in current frame")
  5075. (description "@code{emacs-transpose-frame} provides some interactive
  5076. functions which allows users to transpose windows arrangement in currently
  5077. selected frame.")
  5078. (license license:bsd-2)))
  5079. (define-public emacs-key-chord
  5080. (package
  5081. (name "emacs-key-chord")
  5082. (version "0.6")
  5083. (source
  5084. (origin
  5085. (method url-fetch)
  5086. (uri "https://www.emacswiki.org/emacs/download/key-chord.el")
  5087. (file-name (string-append "key-chord-" version ".el"))
  5088. (sha256
  5089. (base32
  5090. "03m44pqggfrd53nh9dvpdjgm0rvca34qxmd30hr33hzprzjambxg"))))
  5091. (build-system emacs-build-system)
  5092. (home-page "https://www.emacswiki.org/emacs/key-chord.el")
  5093. (synopsis "Map pairs of simultaneously pressed keys to Emacs commands")
  5094. (description "@code{emacs-key-chord} provides @code{key-chord-mode}, a
  5095. mode for binding key chords to commands. A key chord is defined as two keys
  5096. pressed simultaneously or a single key quickly pressed twice.")
  5097. (license license:gpl2+)))
  5098. (define-public emacs-evil-surround
  5099. (package
  5100. (name "emacs-evil-surround")
  5101. (version "1.0.0")
  5102. (source
  5103. (origin
  5104. (method url-fetch)
  5105. (uri (string-append
  5106. "https://github.com/timcharper/evil-surround/archive/v"
  5107. version ".tar.gz"))
  5108. (file-name (string-append name "-" version ".tar.gz"))
  5109. (sha256
  5110. (base32
  5111. "0p572jgic3q1ia1nz37kclir729ay6i2f4sa7wnaapyxly2lwb3r"))))
  5112. (build-system emacs-build-system)
  5113. (propagated-inputs
  5114. `(("emacs-evil" ,emacs-evil)))
  5115. (home-page "https://github.com/timcharper/evil-surround")
  5116. (synopsis "Easily modify surrounding parantheses and quotes")
  5117. (description "@code{emacs-evil-surround} allows easy deletion, change and
  5118. addition of surrounding pairs, such as parantheses and quotes, in evil mode.")
  5119. (license license:gpl3+)))
  5120. (define-public emacs-evil-commentary
  5121. (package
  5122. (name "emacs-evil-commentary")
  5123. (version "2.1.1")
  5124. (source
  5125. (origin
  5126. (method url-fetch)
  5127. (uri (string-append
  5128. "https://github.com/linktohack/evil-commentary/archive/v"
  5129. version ".tar.gz"))
  5130. (file-name (string-append name "-" version ".tar.gz"))
  5131. (sha256
  5132. (base32
  5133. "1jdya0i921nwskwrzdsj0vrr3m7gm49dy6f6pk9p5nxaarfxk230"))))
  5134. (build-system emacs-build-system)
  5135. (propagated-inputs
  5136. `(("emacs-evil" ,emacs-evil)))
  5137. (home-page "https://github.com/linktohack/evil-commentary")
  5138. (synopsis "Comment out code in evil mode")
  5139. (description "@code{emacs-evil-commentary} adds keybindings to easily
  5140. comment out lines of code in evil mode. It provides @code{gcc} to comment out
  5141. lines, and @code{gc} to comment out the target of a motion.")
  5142. (license license:gpl3+)))
  5143. ;; Tests for emacs-ansi have a circular dependency with ert-runner, and
  5144. ;; therefore cannot be run
  5145. (define-public emacs-ansi
  5146. (package
  5147. (name "emacs-ansi")
  5148. (version "0.4.1")
  5149. (source
  5150. (origin
  5151. (method url-fetch)
  5152. (uri (string-append "https://github.com/rejeep/ansi.el/archive/v"
  5153. version ".tar.gz"))
  5154. (file-name (string-append name "-" version ".tar.gz"))
  5155. (sha256
  5156. (base32
  5157. "13jj4vbi98j3p17hs99bmy7g21jd5h4v3wpxk4pkvhylm3bfwjw8"))))
  5158. (build-system emacs-build-system)
  5159. (propagated-inputs
  5160. `(("emacs-dash" ,emacs-dash)
  5161. ("emacs-s" ,emacs-s)))
  5162. (home-page "https://github.com/rejeep/ansi.el")
  5163. (synopsis "Convert strings to ANSI")
  5164. (description "@code{emacs-ansi} defines functions that turns simple
  5165. strings to ANSI strings. Turning a string into an ANSI string can be to add
  5166. color to a text, add color in the background of a text or adding a style, such
  5167. as bold, underscore or italic.")
  5168. (license license:gpl3+)))
  5169. ;; Tests for emacs-commander have a circular dependency with ert-runner, and
  5170. ;; therefore cannot be run
  5171. (define-public emacs-commander
  5172. (package
  5173. (name "emacs-commander")
  5174. (version "0.7.0")
  5175. (source
  5176. (origin
  5177. (method url-fetch)
  5178. (uri (string-append "https://github.com/rejeep/commander.el/archive/v"
  5179. version ".tar.gz"))
  5180. (file-name (string-append name "-" version ".tar.gz"))
  5181. (sha256
  5182. (base32
  5183. "196s2i15z7gwxa97l1wkxvjnfmj5n38wwm6d3g4zz15l2vqggc2y"))))
  5184. (build-system emacs-build-system)
  5185. (propagated-inputs
  5186. `(("emacs-dash" ,emacs-dash)
  5187. ("emacs-f" ,emacs-f)
  5188. ("emacs-s" ,emacs-s)))
  5189. (home-page "https://github.com/rejeep/commander.el")
  5190. (synopsis "Emacs command line parser")
  5191. (description "@code{emacs-commander} provides command line parsing for
  5192. Emacs.")
  5193. (license license:gpl3+)))
  5194. ;; Tests for ert-runner have a circular dependency with ecukes, and therefore
  5195. ;; cannot be run
  5196. (define-public ert-runner
  5197. (let ((dependencies
  5198. `(("emacs-ansi" ,emacs-ansi)
  5199. ("emacs-commander" ,emacs-commander)
  5200. ("emacs-dash" ,emacs-dash)
  5201. ("emacs-f" ,emacs-f)
  5202. ("emacs-s" ,emacs-s)
  5203. ("emacs-shut-up" ,emacs-shut-up))))
  5204. (package
  5205. (name "ert-runner")
  5206. (version "0.7.0")
  5207. (source
  5208. (origin
  5209. (method url-fetch)
  5210. (uri (string-append "https://github.com/rejeep/ert-runner.el/archive/v"
  5211. version ".tar.gz"))
  5212. (file-name (string-append name "-" version ".tar.gz"))
  5213. (sha256
  5214. (base32
  5215. "1657nck9i96a4xgl8crfqq0s8gflzp21pkkzwg6m3z5npjxklgwp"))))
  5216. (build-system emacs-build-system)
  5217. (inputs dependencies)
  5218. (arguments
  5219. `(#:phases
  5220. (modify-phases %standard-phases
  5221. (add-after 'install 'install-executable
  5222. (lambda* (#:key inputs outputs #:allow-other-keys)
  5223. (let ((out (assoc-ref outputs "out")))
  5224. (substitute* "bin/ert-runner"
  5225. (("ERT_RUNNER=\"\\$\\(dirname \\$\\(dirname \\$0\\)\\)")
  5226. (string-append "ERT_RUNNER=\"" out
  5227. "/share/emacs/site-lisp/guix.d/"
  5228. ,name "-" ,version)))
  5229. (install-file "bin/ert-runner" (string-append out "/bin"))
  5230. (wrap-program (string-append out "/bin/ert-runner")
  5231. (list "EMACSLOADPATH" ":" '=
  5232. (append
  5233. ,(match dependencies
  5234. (((labels packages) ...)
  5235. `(map (lambda (label package version)
  5236. (string-append (assoc-ref inputs label)
  5237. "/share/emacs/site-lisp/guix.d/"
  5238. (string-drop package 6)
  5239. "-" version))
  5240. ',labels
  5241. ',(map package-name packages)
  5242. ',(map package-version packages))))
  5243. ;; empty element to include the default load path as
  5244. ;; determined by emacs' standard initialization
  5245. ;; procedure
  5246. (list ""))))
  5247. #t))))
  5248. #:include (cons* "^reporters/.*\\.el$" %default-include)))
  5249. (home-page "https://github.com/rejeep/ert-runner.el")
  5250. (synopsis "Opinionated Ert testing workflow")
  5251. (description "@code{ert-runner} is a tool for Emacs projects tested
  5252. using ERT. It assumes a certain test structure setup and can therefore make
  5253. running tests easier.")
  5254. (license license:gpl3+))))
  5255. (define-public emacs-disable-mouse
  5256. (package
  5257. (name "emacs-disable-mouse")
  5258. (version "0.2")
  5259. (source
  5260. (origin
  5261. (method url-fetch)
  5262. (uri (string-append
  5263. "https://github.com/purcell/disable-mouse/archive/"
  5264. version ".tar.gz"))
  5265. (file-name (string-append name "-" version ".tar.gz"))
  5266. (sha256
  5267. (base32
  5268. "0haqpq23r1wx04lsqrrg3p5visg9hx5i36dg55ab003wfsrlrzbc"))))
  5269. (build-system emacs-build-system)
  5270. (home-page "https://github.com/purcell/disable-mouse")
  5271. (synopsis "Disable mouse commands globally")
  5272. (description
  5273. "Provides @code{disable-mouse-mode} and @code{global-disable-mouse-mode},
  5274. pair of minor modes which suppress all mouse events by intercepting them and
  5275. running a customisable handler command (@code{ignore} by default). ")
  5276. (license license:gpl3+)))
  5277. (define-public emacs-restclient
  5278. (let ((commit "07a3888bb36d0e29608142ebe743b4362b800f40")
  5279. (revision "1")) ;Guix package revision,
  5280. ;upstream doesn't have official releases
  5281. (package
  5282. (name "emacs-restclient")
  5283. (version (string-append revision "."
  5284. (string-take commit 7)))
  5285. (source (origin
  5286. (method git-fetch)
  5287. (uri (git-reference
  5288. (url "https://github.com/pashky/restclient.el.git")
  5289. (commit commit)))
  5290. (sha256
  5291. (base32
  5292. "00lmjhb5im1kgrp54yipf1h9pshxzgjlg71yf2rq5n973gvb0w0q"))
  5293. (file-name (git-file-name name version))))
  5294. (build-system emacs-build-system)
  5295. (propagated-inputs
  5296. `(("emacs-helm" ,emacs-helm)))
  5297. (home-page "https://github.com/pashky/restclient.el")
  5298. (synopsis "Explore and test HTTP REST webservices")
  5299. (description
  5300. "This tool allows for testing and exploration of HTTP REST Web services
  5301. from within Emacs. Restclient runs queries from a plan-text query sheet,
  5302. displays results pretty-printed in XML or JSON with @code{restclient-mode}")
  5303. (license license:public-domain))))
  5304. (define-public emacs-dired-hacks
  5305. (let ((commit "eda68006ce73bbf6b9b995bfd70d08bec8cade36")
  5306. (revision "1"))
  5307. (package
  5308. (name "emacs-dired-hacks")
  5309. (version (string-append "0.0.1-" revision "."
  5310. (string-take commit 7)))
  5311. (source (origin
  5312. (method git-fetch)
  5313. (uri (git-reference
  5314. (url "https://github.com/Fuco1/dired-hacks.git")
  5315. (commit commit)))
  5316. (file-name (string-append name "-" version "-checkout"))
  5317. (sha256
  5318. (base32
  5319. "1w7ssl9zssn5rcha6apf4h8drkd02k4xgvs203bdbqyqp9wz9brx"))))
  5320. (build-system emacs-build-system)
  5321. (propagated-inputs
  5322. `(("emacs-dash" ,emacs-dash)
  5323. ("emacs-f" ,emacs-f)
  5324. ("emacs-s" ,emacs-s)))
  5325. (home-page "https://github.com/Fuco1/dired-hacks")
  5326. (synopsis
  5327. "Collection of useful dired additions")
  5328. (description
  5329. "Collection of Emacs dired mode additions:
  5330. @itemize
  5331. @item dired-avfs
  5332. @item dired-columns
  5333. @item dired-filter
  5334. @item dired-hacks-utils
  5335. @item dired-images
  5336. @item dired-list
  5337. @item dired-narrow
  5338. @item dired-open
  5339. @item dired-rainbow
  5340. @item dired-ranger
  5341. @item dired-subtree
  5342. @item dired-tagsistant
  5343. @end itemize\n")
  5344. (license license:gpl3+))))
  5345. (define-public emacs-which-key
  5346. (package
  5347. (name "emacs-which-key")
  5348. (version "3.0.1")
  5349. (source
  5350. (origin
  5351. (method url-fetch)
  5352. (uri (string-append
  5353. "https://github.com/justbur/emacs-which-key/archive/v"
  5354. version ".tar.gz"))
  5355. (sha256
  5356. (base32
  5357. "0zc9yivdkbxmcllhlbbcvsbj8g8nzzgs0xib488s08p4s0l7xs8m"))
  5358. (file-name (string-append name "-" version ".tar.gz"))))
  5359. (build-system emacs-build-system)
  5360. (arguments
  5361. `(#:phases
  5362. (modify-phases %standard-phases
  5363. (add-before 'install 'check
  5364. (lambda _
  5365. (zero? (system* "emacs" "--batch" "-L" "."
  5366. "-l" "which-key-tests.el"
  5367. "-f" "ert-run-tests-batch-and-exit")))))))
  5368. (home-page "https://github.com/justbur/emacs-which-key")
  5369. (synopsis "Display available key bindings in popup")
  5370. (description
  5371. "@code{emacs-which-key} is a minor mode for Emacs that displays the key
  5372. bindings following your currently entered incomplete command (a prefix) in a
  5373. popup. For example, after enabling the minor mode if you enter C-x and wait
  5374. for the default of 1 second, the minibuffer will expand with all of the
  5375. available key bindings that follow C-x (or as many as space allows given your
  5376. settings).")
  5377. (license license:gpl3+)))
  5378. (define-public emacs-org-edit-latex
  5379. (package
  5380. (name "emacs-org-edit-latex")
  5381. (version "0.8.0")
  5382. (source
  5383. (origin
  5384. (method url-fetch)
  5385. (uri (string-append
  5386. "https://github.com/et2010/org-edit-latex/archive/v"
  5387. version ".tar.gz"))
  5388. (file-name (string-append name "-" version ".tar.gz"))
  5389. (sha256
  5390. (base32
  5391. "1y4h6wrs8286h9pbsv4d8fr67a885vz8b2k80qgv5qddipi2i78p"))))
  5392. (build-system emacs-build-system)
  5393. (propagated-inputs
  5394. `(("emacs-auctex" ,emacs-auctex)
  5395. ;; The version of org in Emacs 25.2 is not sufficient, because the
  5396. ;; `org-latex-make-preamble' function is required.
  5397. ("emacs-org" ,emacs-org)))
  5398. (home-page "https://github.com/et2010/org-edit-latex")
  5399. (synopsis "Edit a latex fragment just like editing a src block")
  5400. (description "@code{emacs-org-edit-latex} is an extension for org-mode.
  5401. It lets you edit a latex fragment in a dedicated buffer just like editing a
  5402. src block.")
  5403. (license license:gpl3+)))
  5404. (define-public emacs-emamux
  5405. (package
  5406. (name "emacs-emamux")
  5407. (version "0.14")
  5408. (source (origin
  5409. (method url-fetch)
  5410. (uri (string-append
  5411. "https://github.com/syohex/emacs-emamux/archive/"
  5412. version ".tar.gz"))
  5413. (file-name (string-append name "-" version ".tar.gz"))
  5414. (sha256
  5415. (base32
  5416. "0wlqg4icy037bj70b0qmhvwvmiwhagpnx6pnxhq6gzy1hvwlilkx"))))
  5417. (build-system emacs-build-system)
  5418. (home-page "https://github.com/syohex/emacs-emamux")
  5419. (synopsis "Manipulate Tmux from Emacs")
  5420. (description
  5421. "@code{emacs-emamux} lets Emacs interact with the @code{tmux} terminal
  5422. multiplexer.")
  5423. (license license:gpl3+)))
  5424. (define-public emacs-rpm-spec-mode
  5425. (package
  5426. (name "emacs-rpm-spec-mode")
  5427. (version "0.16")
  5428. (source
  5429. (origin
  5430. (method url-fetch)
  5431. ;; URI has the Fedora release number instead of the version
  5432. ;; number. This will have to updated manually every new release.
  5433. (uri (string-append
  5434. "https://src.fedoraproject.org/cgit/rpms"
  5435. "/emacs-rpm-spec-mode.git/snapshot"
  5436. "/emacs-rpm-spec-mode-f26.tar.gz"))
  5437. (sha256
  5438. (base32
  5439. "17dz80lhjrc89fj17pysl8slahzrqdkxgcjdk55zls6jizkr6kz3"))))
  5440. (build-system emacs-build-system)
  5441. (home-page "http://pkgs.fedoraproject.org/cgit/rpms/emacs-rpm-spec-mode.git")
  5442. (synopsis "Emacs major mode for editing RPM spec files")
  5443. (description "@code{emacs-rpm-spec-mode} provides an Emacs major mode for
  5444. editing RPM spec files.")
  5445. (license license:gpl2+)))
  5446. (define-public emacs-git-messenger
  5447. (package
  5448. (name "emacs-git-messenger")
  5449. (version "0.18")
  5450. (source
  5451. (origin
  5452. (method url-fetch)
  5453. (uri (string-append
  5454. "https://github.com/syohex/emacs-git-messenger/archive/"
  5455. version ".tar.gz"))
  5456. (file-name (string-append name "-" version ".tar.gz"))
  5457. (sha256
  5458. (base32
  5459. "17mqki6g0wx46fn7dcbcc2pjxik7vvrcb1j9jzxim8b9psbsbnp9"))))
  5460. (build-system emacs-build-system)
  5461. (propagated-inputs
  5462. `(("emacs-popup" ,emacs-popup)))
  5463. (arguments
  5464. `(#:phases
  5465. (modify-phases %standard-phases
  5466. (add-before 'install 'check
  5467. (lambda* (#:key inputs #:allow-other-keys)
  5468. (zero? (system* "emacs" "--batch" "-L" "."
  5469. "-L" (string-append
  5470. (assoc-ref inputs "emacs-popup")
  5471. "/share/emacs/site-lisp/guix.d/popup-"
  5472. ,(package-version emacs-popup))
  5473. "-l" "test/test.el"
  5474. "-f" "ert-run-tests-batch-and-exit")))))))
  5475. (home-page "https://github.com/syohex/emacs-git-messenger")
  5476. (synopsis "Popup commit message at current line")
  5477. (description "@code{emacs-git-messenger} provides
  5478. @code{git-messenger:popup-message}, a function that when called, will popup
  5479. the last git commit message for the current line. This uses git-blame
  5480. internally.")
  5481. (license license:gpl3+)))
  5482. (define-public emacs-gitpatch
  5483. (package
  5484. (name "emacs-gitpatch")
  5485. (version "0.5.0")
  5486. (source
  5487. (origin
  5488. (method url-fetch)
  5489. (uri (string-append "https://github.com/tumashu/gitpatch/archive/"
  5490. "v" version ".tar.gz"))
  5491. (file-name (string-append name "-" version ".tar.gz"))
  5492. (sha256
  5493. (base32
  5494. "1yj6pmic541lcnscjin300k380qp9xdfprs55xg1q57jrkq6f6k7"))))
  5495. (build-system emacs-build-system)
  5496. (home-page "https://github.com/tumashu/gitpatch")
  5497. (synopsis "Mail git patch from Emacs")
  5498. (description "@code{emacs-gitpatch} lets users easily send git patches,
  5499. created by @code{git format-patch}, from @code{magit}, @code{dired} and
  5500. @code{ibuffer} buffers.")
  5501. (license license:gpl3+)))
  5502. (define-public emacs-erc-hl-nicks
  5503. (package
  5504. (name "emacs-erc-hl-nicks")
  5505. (version "1.3.2")
  5506. (source
  5507. (origin
  5508. (method url-fetch)
  5509. (uri (string-append "https://github.com/leathekd/erc-hl-nicks"
  5510. "/archive/" version ".tar.gz"))
  5511. (file-name (string-append name "-" version ".tar.gz"))
  5512. (sha256
  5513. (base32
  5514. "01svpl9bps5kx4y1wnymakxya2cznqmlynvqv2r500wpnbxczrbs"))))
  5515. (build-system emacs-build-system)
  5516. (synopsis "Nickname highlighting for Emacs ERC")
  5517. (description "@code{erc-hl-nicks} highlights nicknames in ERC, an IRC
  5518. client for Emacs. The main features are:
  5519. @itemize
  5520. @item Auto-colorizes nicknames without having to specify colors
  5521. @item Ignores certain characters that IRC clients add to nicknames to avoid
  5522. duplicates (nickname, nickname’, nickname\", etc.)
  5523. @item Attempts to produce colors with a sufficient amount of contrast between
  5524. the nick color and the background color
  5525. @end itemize\n")
  5526. (home-page "https://github.com/leathekd/erc-hl-nicks")
  5527. (license license:gpl3+)))
  5528. (define-public emacs-engine-mode
  5529. (package
  5530. (name "emacs-engine-mode")
  5531. (version "2.0.0")
  5532. (source
  5533. (origin
  5534. (method url-fetch)
  5535. (uri (string-append "https://github.com/hrs/engine-mode/archive/"
  5536. "v" version ".tar.gz"))
  5537. (file-name (string-append name "-" version ".tar.gz"))
  5538. (sha256
  5539. (base32
  5540. "1vm4p7pcp1vnwwxvps1bhm7i7hkabqqxl898knxf2hqvxys76684"))))
  5541. (build-system emacs-build-system)
  5542. (synopsis "Minor mode for defining and querying search engines")
  5543. (description "@code{engine-mode} is a global minor mode for Emacs. It
  5544. enables you to easily define search engines, bind them to keybindings, and
  5545. query them from the comfort of your editor.")
  5546. (home-page "https://github.com/hrs/engine-mode")
  5547. (license license:gpl3+)))
  5548. (define-public emacs-prop-menu
  5549. (package
  5550. (name "emacs-prop-menu")
  5551. (version "0.1.2")
  5552. (source
  5553. (origin
  5554. (method url-fetch)
  5555. (uri (string-append
  5556. "http://stable.melpa.org/packages/prop-menu-"
  5557. version ".el"))
  5558. (sha256
  5559. (base32
  5560. "01bk4sjafzz7gqrkv9jg0pa85qr34vbk3q8ga2b0m61bndywzgpr"))))
  5561. (build-system emacs-build-system)
  5562. (home-page
  5563. "https://github.com/david-christiansen/prop-menu-el")
  5564. (synopsis
  5565. "Create and display a context menu based on text and overlay properties")
  5566. (description
  5567. "This is a library for computing context menus based on text
  5568. properties and overlays. The intended use is to have tools that
  5569. annotate source code and others that use these annotations, without
  5570. requiring a direct coupling between them, but maintaining
  5571. discoverability.
  5572. Major modes that wish to use this library should first define an
  5573. appropriate value for @code{prop-menu-item-functions}. Then, they should
  5574. bind @code{prop-menu-by-completing-read} to an appropriate
  5575. key. Optionally, a mouse pop-up can be added by binding
  5576. @code{prop-menu-show-menu} to a mouse event.")
  5577. (license license:gpl3+)))
  5578. (define-public emacs-idris-mode
  5579. (package
  5580. (name "emacs-idris-mode")
  5581. (version "0.9.19")
  5582. (source
  5583. (origin
  5584. (method url-fetch)
  5585. (uri (string-append
  5586. "http://stable.melpa.org/packages/idris-mode-"
  5587. version ".tar"))
  5588. (sha256
  5589. (base32
  5590. "0ld4kfwnyyhlsnj5f6cbn4is4mpxdqalk2aifkw02r00mbr9n294"))))
  5591. (build-system emacs-build-system)
  5592. (propagated-inputs
  5593. `(("emacs-prop-menu" ,emacs-prop-menu)))
  5594. (home-page
  5595. "https://github.com/idris-hackers/idris-mode")
  5596. (synopsis "Major mode for editing Idris code")
  5597. (description
  5598. "This is an Emacs mode for editing Idris code. It requires the latest
  5599. version of Idris, and some features may rely on the latest Git version of
  5600. Idris.")
  5601. (license license:gpl3+)))
  5602. (define-public emacs-browse-at-remote
  5603. (let ((commit "b5cff7971ca8bbb966e3acd9b7e5c4c007f94215")
  5604. (revision "1"))
  5605. (package
  5606. (name "emacs-browse-at-remote")
  5607. (version (string-append "0.9.0-" revision "."
  5608. (string-take commit 7)))
  5609. (source (origin
  5610. (method git-fetch)
  5611. (uri (git-reference
  5612. (url "https://github.com/rmuslimov/browse-at-remote.git")
  5613. (commit commit)))
  5614. (file-name (string-append name "-" version "-checkout"))
  5615. (sha256
  5616. (base32
  5617. "16ms9703m15dfxg6ap4mdw7msf8z5rzsdhba51dwivfpjxg7n52c"))))
  5618. (build-system emacs-build-system)
  5619. (propagated-inputs
  5620. `(("emacs-f" ,emacs-f)
  5621. ("emacs-s" ,emacs-s)))
  5622. (native-inputs
  5623. `(("ert-runner" ,ert-runner)))
  5624. (arguments
  5625. `(#:phases
  5626. (modify-phases %standard-phases
  5627. (add-before 'install 'check
  5628. (lambda _
  5629. (zero? (system* "ert-runner")))))))
  5630. (home-page "https://github.com/rmuslimov/browse-at-remote")
  5631. (synopsis "Open github/gitlab/bitbucket/stash page from Emacs")
  5632. (description
  5633. "This Emacs package allows you to open a target page on
  5634. github/gitlab (or bitbucket) by calling @code{browse-at-remote} command.
  5635. It supports dired buffers and opens them in tree mode at destination.")
  5636. (license license:gpl3+))))
  5637. (define-public emacs-tiny
  5638. (package
  5639. (name "emacs-tiny")
  5640. (version "0.1.1")
  5641. (source
  5642. (origin
  5643. (method url-fetch)
  5644. (uri (string-append "http://elpa.gnu.org/packages/tiny-" version ".tar"))
  5645. (sha256
  5646. (base32
  5647. "1nhg8375qdn457wj0xmfaj72s87xbabk2w1nl6q7rjvwxv08yyn7"))))
  5648. (build-system emacs-build-system)
  5649. (home-page "https://github.com/abo-abo/tiny")
  5650. (synopsis "Quickly generate linear ranges in Emacs")
  5651. (description
  5652. "The main command of the @code{tiny} extension for Emacs is @code{tiny-expand}.
  5653. It is meant to quickly generate linear ranges, e.g. 5, 6, 7, 8. Some elisp
  5654. proficiency is an advantage, since you can transform your numeric range with
  5655. an elisp expression.")
  5656. (license license:gpl3+)))
  5657. (define-public emacs-bash-completion
  5658. (package
  5659. (name "emacs-bash-completion")
  5660. (version "2.0.0")
  5661. (source
  5662. (origin
  5663. (method url-fetch)
  5664. (uri (string-append
  5665. "https://github.com/szermatt/emacs-bash-completion/archive/v"
  5666. version ".tar.gz"))
  5667. (file-name (string-append name "-" version ".tar.gz"))
  5668. (sha256
  5669. (base32
  5670. "0mkci4a1fy8z4cmry8mx5vsx4f16a8r454slnh7lqzidnhfi63hj"))))
  5671. (inputs `(("bash" ,bash)))
  5672. (build-system emacs-build-system)
  5673. (arguments
  5674. `(#:phases
  5675. (modify-phases %standard-phases
  5676. (add-before 'install 'configure
  5677. (lambda* (#:key inputs #:allow-other-keys)
  5678. (let ((bash (assoc-ref inputs "bash")))
  5679. (emacs-substitute-variables "bash-completion.el"
  5680. ("bash-completion-prog" (string-append bash "/bin/bash"))))
  5681. #t)))))
  5682. (home-page "https://github.com/szermatt/emacs-bash-completion")
  5683. (synopsis "BASH completion for the shell buffer")
  5684. (description
  5685. "@code{bash-completion} defines dynamic completion hooks for shell-mode
  5686. and shell-command prompts that are based on bash completion.")
  5687. (license license:gpl2+)))