forked from mirrors/nixpkgs
30 lines
571 B
Nix
30 lines
571 B
Nix
{ lib
|
|
, trivialBuild
|
|
, fetchurl
|
|
}:
|
|
|
|
trivialBuild rec {
|
|
pname = "jam-mode";
|
|
version = "0.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://dev.gentoo.org/~ulm/distfiles/${pname}-${version}.el.xz";
|
|
hash = "sha256-0IlYqbPa4AAwOpjdd20k8hqtvDhZmcz1WHa/LHx8kMk=";
|
|
};
|
|
|
|
unpackPhase = ''
|
|
runHook preUnpack
|
|
|
|
xz -cd $src > jam-mode.el
|
|
|
|
runHook postUnpack
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "An Emacs major mode for editing Jam files";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ qyliss ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|