diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-08-09 14:00:27 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-08-09 14:00:27 +0200 |
commit | 9bd78cb0488040ea996b27e82135396a45325af5 (patch) | |
tree | fe8e48ceab8d69e7e51bd1f04ec6aae0ca7dafec /pkgs/applications/editors/emacs-modes/nyan-mode | |
parent | a12aeebedbac1bbb02d1beec35925c433cf022f5 (diff) | |
parent | 246c223e877989c5763ce905bfa42b3f32fe2c18 (diff) | |
download | nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.gz nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.bz2 nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.lz nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.xz nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.tar.zst nixpkgs-9bd78cb0488040ea996b27e82135396a45325af5.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/editors/emacs-modes/nyan-mode')
-rw-r--r-- | pkgs/applications/editors/emacs-modes/nyan-mode/default.nix | 30 | ||||
-rw-r--r-- | pkgs/applications/editors/emacs-modes/nyan-mode/directory.patch | 13 |
2 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/applications/editors/emacs-modes/nyan-mode/default.nix b/pkgs/applications/editors/emacs-modes/nyan-mode/default.nix deleted file mode 100644 index e0057fd30ce..00000000000 --- a/pkgs/applications/editors/emacs-modes/nyan-mode/default.nix +++ /dev/null @@ -1,30 +0,0 @@ -{lib, trivialBuild, fetchFromGitHub}: - -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 - ''; - - meta = { - description = "An analog indicator of the position in the buffer"; - license = lib.licenses.gpl3Plus; - }; -} diff --git a/pkgs/applications/editors/emacs-modes/nyan-mode/directory.patch b/pkgs/applications/editors/emacs-modes/nyan-mode/directory.patch deleted file mode 100644 index b471531ec34..00000000000 --- a/pkgs/applications/editors/emacs-modes/nyan-mode/directory.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/nyan-mode.el b/nyan-mode.el -index 939a25a..3d0b983 100644 ---- a/nyan-mode.el -+++ b/nyan-mode.el -@@ -106,7 +106,7 @@ This can be t or nil." - :group 'nyan) - - --(defconst +nyan-directory+ (file-name-directory (or load-file-name buffer-file-name))) -+(defconst +nyan-directory+ "@OUT@") - - (defconst +nyan-cat-size+ 3) - |