summary refs log tree commit diff
path: root/pkgs/development/tools/tychus/default.nix
blob: 5908ceb0f80d9194efaa8a71e0c43dd4f476c9dc (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
{ stdenv, fetchFromGitHub, buildGoPackage, CoreFoundation }:

buildGoPackage rec {
  pname = "tychus";
  version = "0.6.3";

  goPackagePath = "github.com/devlocker/tychus";
  goDeps = ./deps.nix;
  subPackages = [];

  src = fetchFromGitHub {
    owner = "devlocker";
    repo = "tychus";
    rev = "v${version}";
    sha256 = "02ybxjsfga89gpg0k21zmykhhnpx1vy3ny8fcwj0qsg73i11alvw";
  };

  buildInputs = stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation ];

  buildFlags = [ "--tags" "release" ];

  meta = {
    description = "Command line utility to live-reload your application.";
    homepage = https://github.com/devlocker/tychus;
    license = stdenv.lib.licenses.mit;
    platforms = stdenv.lib.platforms.all;
  };
}