tychus: init at version 0.6.3

This commit is contained in:
Daniel Wehner 2018-11-25 21:34:16 +00:00
parent 21773f1d43
commit b200613f4e
3 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, buildGoPackage, CoreFoundation }:
buildGoPackage rec {
name = "tychus-${version}";
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;
};
}

30
pkgs/development/tools/tychus/deps.nix generated Normal file
View File

@ -0,0 +1,30 @@
# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
[
{
goPackagePath = "github.com/inconshreveable/mousetrap";
fetch = {
type = "git";
url = "https://github.com/inconshreveable/mousetrap";
rev = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75";
sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
};
}
{
goPackagePath = "github.com/spf13/cobra";
fetch = {
type = "git";
url = "https://github.com/spf13/cobra";
rev = "f91529fc609202eededff4de2dc0ba2f662240a3";
sha256 = "10c3d5dp98rys134dnsl19ldj8bca183z91lj8rkbsy78qzrr9af";
};
}
{
goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
rev = "e57e3eeb33f795204c1ca35f56c44f83227c6e66";
sha256 = "13mhx4i913jil32j295m3a36jzvq1y64xig0naadiz7q9ja011r2";
};
}
]

View File

@ -9009,6 +9009,10 @@ with pkgs;
tweak = callPackage ../applications/editors/tweak { };
tychus = callPackage ../development/tools/tychus {
inherit (darwin.apple_sdk.frameworks) CoreFoundation;
};
uhd = callPackage ../development/tools/misc/uhd { };
uisp = callPackage ../development/tools/misc/uisp { };