about summary refs log tree commit diff
path: root/pkgs/by-name/em
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2024-01-14 16:55:20 -0500
committerbinarycat <binarycat@envs.net>2024-01-20 15:17:15 -0500
commit34d44e4c8fe4ea740645931ce118187c2f6d13f9 (patch)
tree950fc48a82ed85bcb520fd028376e64cf2796912 /pkgs/by-name/em
parenta2d839ccabe8f1c4a86631780be15eb21532316e (diff)
emacsclient-commands: init at unstable-2023-09-22
Diffstat (limited to 'pkgs/by-name/em')
-rw-r--r--pkgs/by-name/em/emacsclient-commands/package.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/by-name/em/emacsclient-commands/package.nix b/pkgs/by-name/em/emacsclient-commands/package.nix
new file mode 100644
index 0000000000000..8bc939fc32eb8
--- /dev/null
+++ b/pkgs/by-name/em/emacsclient-commands/package.nix
@@ -0,0 +1,34 @@
+{ lib
+, fetchFromGitHub
+, buildGoModule
+, gnumake
+}:
+
+buildGoModule {
+  pname = "emacsclient-commands";
+  version = "unstable-2023-09-22";
+
+  src = fetchFromGitHub {
+    owner = "szermatt";
+    repo = "emacsclient-commands";
+    rev = "8f5c8a877794ed51f8225036e36fd5ce272b17f3";
+    hash = "sha256-OlcB5VqWYdl0wz1y8nmG6Xgdf5IPOUQ31UG1TDxQAis=";
+  };
+
+  vendorHash = "sha256-8oREed2Igz5UvUTDdOFwW5wQQy3H8Xj8epxo6gqnZFA=";
+
+  buildInputs = [ gnumake ];
+
+  buildPhase = ''
+    runHook preBuild
+    DESTDIR=$out/ make install
+    runHook postBuild
+  '';
+
+  meta = with lib; {
+    description = "A collection of small shell utilities that connect to a local Emacs server";
+    homepage = "https://github.com/szermatt/emacsclient-commands";
+    license = licenses.gpl2Only;
+    maintainers = with maintainers; [ binarycat ];
+  };
+}