1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
nixpkgs/pkgs/development/tools/tychus/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

29 lines
737 B
Nix

{ 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;
};
}