2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildGoPackage, CoreFoundation }:
|
2018-11-25 21:34:16 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "tychus";
|
2018-11-25 21:34:16 +00:00
|
|
|
version = "0.6.3";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/devlocker/tychus";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
subPackages = [];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "devlocker";
|
|
|
|
repo = "tychus";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "02ybxjsfga89gpg0k21zmykhhnpx1vy3ny8fcwj0qsg73i11alvw";
|
|
|
|
};
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation ];
|
2018-11-25 21:34:16 +00:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
buildFlags = [ "--tags" "release" ];
|
2018-11-25 21:34:16 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "Command line utility to live-reload your application";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/devlocker/tychus";
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.mit;
|
2018-11-25 21:34:16 +00:00
|
|
|
};
|
|
|
|
}
|