about summary refs log tree commit diff
path: root/nixpkgs/pkgs/os-specific/darwin/plistwatch/default.nix
blob: 852c9c23aa9bffa989ffb2695659367e128bbff9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "plistwatch";
  version = "unstable-2020-12-22";

  src = fetchFromGitHub {
    owner = "catilac";
    repo = "plistwatch";
    rev = "c3a9afd8d3e5ffa8dcc379770bc4216bae88a671";
    sha256 = "0a5rfmpy6h06p02z9gdilh7vr3h9cc6n6zzygpjk6zvnqs3mm3vx";
  };

  vendorSha256 = "sha256-Layg1axFN86OFgxEyNFtIlm6Jtx317jZb/KH6IjJ8e4=";

  #add missing dependencies and hashes
  patches = [ ./go-modules.patch ];

  doCheck = false;

  meta = with lib; {
    description = "Monitors and prints changes to MacOS plists in real time";
    homepage = "https://github.com/catilac/plistwatch";
    maintainers = with maintainers; [ gdinh ];
    license = licenses.mit;
    platforms = platforms.darwin;
  };
}