about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/system/rwc/default.nix
blob: e283fb4005b072185cad24de53003420b5e00c32 (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
{ stdenv, fetchFromGitHub, lib }:

stdenv.mkDerivation rec {
  pname = "rwc";
  version = "0.3";

  src = fetchFromGitHub {
    owner = "leahneukirchen";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-rB20XKprd8jPwvXYdjIEr3/8ygPGCDAgLKbHfw0EgPk=";
  };

  makeFlags = [ "PREFIX=$(out)" ];

  meta = with lib; {
    description = "Report when files are changed";
    license = licenses.publicDomain;
    platforms = platforms.linux;
    maintainers = with maintainers; [ somasis ];
    mainProgram = "rwc";
  };
}