3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/emacs/elisp-packages/jam-mode/default.nix

30 lines
571 B
Nix
Raw Normal View History

{ lib
, trivialBuild
, fetchurl
}:
2021-02-09 02:19:07 +00:00
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=";
2021-02-09 02:19:07 +00:00
};
unpackPhase = ''
runHook preUnpack
2021-02-09 02:19:07 +00:00
xz -cd $src > jam-mode.el
runHook postUnpack
2021-02-09 02:19:07 +00:00
'';
meta = with lib; {
description = "An Emacs major mode for editing Jam files";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ qyliss ];
platforms = platforms.all;
};
}