nixpkgs/pkgs/development/tools/tychus/default.nix

28 lines
693 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, buildGoPackage, CoreFoundation }:
2018-11-25 22:34:16 +01:00
buildGoPackage rec {
pname = "tychus";
2018-11-25 22:34:16 +01: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";
};
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation ];
2018-11-25 22:34:16 +01:00
buildFlags = [ "--tags" "release" ];
2018-11-25 22:34:16 +01:00
meta = {
description = "Command line utility to live-reload your application";
homepage = "https://github.com/devlocker/tychus";
license = lib.licenses.mit;
2018-11-25 22:34:16 +01:00
};
}