2015-05-24 16:06:12 +02:00
|
|
|
{lib, trivialBuild, fetchFromGitHub}:
|
2014-01-21 01:12:55 +01:00
|
|
|
|
|
|
|
trivialBuild rec {
|
|
|
|
pname = "nyan-mode";
|
|
|
|
version = "20150128";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TeMPOraL";
|
|
|
|
repo = pname;
|
|
|
|
rev = "41faa2c809da7b2cb3e6f8fadefae3f338ced3f2";
|
|
|
|
sha256 = "1idaac7sjc8hhbf5zif61ncg1pvg28c0qfihavdx61albww0ll7f";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./directory.patch ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
substituteInPlace nyan-mode.el \
|
|
|
|
--replace "@OUT@" "$out/"
|
|
|
|
'';
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
cp -r img $out
|
|
|
|
cp -r mus $out
|
|
|
|
'';
|
|
|
|
|
2015-05-24 16:06:12 +02:00
|
|
|
meta = {
|
2014-01-21 01:12:55 +01:00
|
|
|
description = "An analog indicator of the position in the buffer";
|
2015-05-24 16:06:12 +02:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2014-01-21 01:12:55 +01:00
|
|
|
};
|
|
|
|
}
|