Merge: zmap: 4.2.0 -> 4.3.1 (#364578)
[NixPkgs.git] / pkgs / by-name / em / emacsclient-commands / package.nix
blob31a0472baa0cd90457f20189830febbc9df0b080
2   lib,
3   fetchFromGitHub,
4   buildGoModule,
5   gnumake,
6 }:
8 buildGoModule {
9   pname = "emacsclient-commands";
10   version = "unstable-2023-09-22";
12   src = fetchFromGitHub {
13     owner = "szermatt";
14     repo = "emacsclient-commands";
15     rev = "8f5c8a877794ed51f8225036e36fd5ce272b17f3";
16     hash = "sha256-OlcB5VqWYdl0wz1y8nmG6Xgdf5IPOUQ31UG1TDxQAis=";
17   };
19   vendorHash = "sha256-8oREed2Igz5UvUTDdOFwW5wQQy3H8Xj8epxo6gqnZFA=";
21   buildInputs = [ gnumake ];
23   buildPhase = ''
24     runHook preBuild
25     DESTDIR=$out/ make install
26     runHook postBuild
27   '';
29   meta = with lib; {
30     description = "Collection of small shell utilities that connect to a local Emacs server";
31     homepage = "https://github.com/szermatt/emacsclient-commands";
32     license = licenses.gpl2Only;
33     maintainers = with maintainers; [ binarycat ];
34   };