aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/misc/gawp/default.nix
blob: 2856dd4855955d5369319db75a611fbfc6ab08bc (plain)
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
{ stdenv, buildGoPackage, fetchgit }:

with builtins;

buildGoPackage rec {
  pname = "gawp";
  version = "20160121-${stdenv.lib.strings.substring 0 7 rev}";
  rev = "5db2d8faa220e8d6eaf8677354bd197bf621ff7f";

  goPackagePath = "github.com/martingallagher/gawp";

  src = fetchgit {
    inherit rev;
    url = "https://github.com/martingallagher/gawp";
    sha256 = "0bbmbb1xxdgvqvg1ssn9d4j213li7bbbx3y42iz4fs10xv7x4r0c";
  };

  goDeps = ./deps.nix;

  meta = {
    homepage = "https://github.com/martingallagher/gawp";
    description = "A simple, configurable, file watching, job execution tool";
    license = stdenv.lib.licenses.asl20;
  };
}