diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/em/emacsclient-commands/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/em/emacsclient-commands/package.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/em/emacsclient-commands/package.nix b/nixpkgs/pkgs/by-name/em/emacsclient-commands/package.nix new file mode 100644 index 000000000000..8bc939fc32eb --- /dev/null +++ b/nixpkgs/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 ]; + }; +} |