summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/compile-daemon
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2017-03-15 18:17:32 +0100
committerProfpatsch <mail@profpatsch.de>2017-04-12 00:07:55 +0200
commit048114eb4f79f3e125dadee106b454e3d72ccdfc (patch)
tree92062ffb2f9d899f40f492aeaefcbf82e3bdcff4 /pkgs/development/tools/compile-daemon
parent9b7b950832e6ae97c301e8328b797e8b39efb545 (diff)
compile-daemon: init at 2013-03-08
Diffstat (limited to 'pkgs/development/tools/compile-daemon')
-rw-r--r--pkgs/development/tools/compile-daemon/default.nix25
-rw-r--r--pkgs/development/tools/compile-daemon/deps.nix48
2 files changed, 73 insertions, 0 deletions
diff --git a/pkgs/development/tools/compile-daemon/default.nix b/pkgs/development/tools/compile-daemon/default.nix
new file mode 100644
index 000000000000..bad35e2422b5
--- /dev/null
+++ b/pkgs/development/tools/compile-daemon/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+ name = "compile-daemon-unstable-${version}";
+ version = "2017-03-08";
+ rev = "d447e567232bcb84cedd3b2be012c7127f31f469";
+
+ goPackagePath = "github.com/githubnemo/CompileDaemon";
+
+ src = fetchFromGitHub {
+ owner = "githubnemo";
+ repo = "CompileDaemon";
+ inherit rev;
+ sha256 = "0jfbipp3gd89n6d7gds1qvfkqvz80qdlqqhijxffh8z8ss0xinqc";
+ };
+
+ goDeps = ./deps.nix;
+
+ meta = with stdenv.lib; {
+ description = "Very simple compile daemon for Go";
+ license = licenses.bsd2;
+ maintainers = with maintainers; [ profpatsch ];
+ inherit (src.meta) homepage;
+ };
+}
diff --git a/pkgs/development/tools/compile-daemon/deps.nix b/pkgs/development/tools/compile-daemon/deps.nix
new file mode 100644
index 000000000000..53771ddad9f0
--- /dev/null
+++ b/pkgs/development/tools/compile-daemon/deps.nix
@@ -0,0 +1,48 @@
+# This file was generated by https://github.com/kamilchm/go2nix v1.2.0-devel
+[
+ {
+ goPackagePath = "github.com/fatih/color";
+ fetch = {
+ type = "git";
+ url = "https://github.com/fatih/color";
+ rev = "9131ab34cf20d2f6d83fdc67168a5430d1c7dc23";
+ sha256 = "111x6rhpxfjhwkjrmrirqqh6nc68q5g7air9fl5kgr3bg85hybr5";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-colorable";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-colorable";
+ rev = "a392f450ea64cee2b268dfaacdc2502b50a22b18";
+ sha256 = "1msiq5nb1sdhwfjv65hjnvr2s4pfsp8mv6f5z8aa8n9bjf0cksyc";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-isatty";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-isatty";
+ rev = "57fdcb988a5c543893cc61bce354a6e24ab70022";
+ sha256 = "1fkhmi3nhz6vasfvjzjjwxkbpwsb9hzc0g5h1rygqrnzjykl2r39";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sys";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sys";
+ rev = "99f16d856c9836c42d24e7ab64ea72916925fa97";
+ sha256 = "0g2x5krfhnraq03v0b48y3xv3ffg92pbgvps0npj9l7wq8q9hkmx";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/fsnotify.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/fsnotify.v1";
+ rev = "629574ca2a5df945712d3079857300b5e4da0236";
+ sha256 = "06wfg1mmzjj04z7d0q1x2fai9k6hm957brngsaf02fa9a3qqanv3";
+ };
+ }
+]