about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-06-17 17:38:40 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-07-19 11:04:37 +0200
commit4463f9f3d461615601b0280740f550e96026d129 (patch)
treea9d199ef90cde823cc3d4ce5d265b1ce9662ad63 /pkgs/applications/misc
parent6bcf1944494973029071411bb378d4262ce2a678 (diff)
downloadnixlib-4463f9f3d461615601b0280740f550e96026d129.tar
nixlib-4463f9f3d461615601b0280740f550e96026d129.tar.gz
nixlib-4463f9f3d461615601b0280740f550e96026d129.tar.bz2
nixlib-4463f9f3d461615601b0280740f550e96026d129.tar.lz
nixlib-4463f9f3d461615601b0280740f550e96026d129.tar.xz
nixlib-4463f9f3d461615601b0280740f550e96026d129.tar.zst
nixlib-4463f9f3d461615601b0280740f550e96026d129.zip
hugo: init at 0.16
Closes #16299.
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/hugo/default.nix18
-rw-r--r--pkgs/applications/misc/hugo/deps.json44
2 files changed, 62 insertions, 0 deletions
diff --git a/pkgs/applications/misc/hugo/default.nix b/pkgs/applications/misc/hugo/default.nix
new file mode 100644
index 000000000000..c183f70a2895
--- /dev/null
+++ b/pkgs/applications/misc/hugo/default.nix
@@ -0,0 +1,18 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  name = "hugo-${version}";
+  version = "v0.16";
+  rev = "8b54843a0db694facbaf368af4e777d0ae5fb992";
+
+  goPackagePath = "github.com/spf13/hugo";
+
+  src = fetchFromGitHub {
+    inherit rev;
+    owner = "spf13";
+    repo = "hugo";
+    sha256 = "135mrdi8i56z9m2sihjrdfab6lrczbfgavwvfrngvi1zxnx7scmv";
+  };
+
+  goDeps = ./deps.json;
+}
diff --git a/pkgs/applications/misc/hugo/deps.json b/pkgs/applications/misc/hugo/deps.json
new file mode 100644
index 000000000000..47f67d4269c4
--- /dev/null
+++ b/pkgs/applications/misc/hugo/deps.json
@@ -0,0 +1,44 @@
+[
+  {
+    "include": "../../libs.json",
+    "packages": [
+        "gopkg.in/yaml.v2",
+        "github.com/hashicorp/hcl",
+        "github.com/pkg/sftp",
+        "golang.org/x/sys",
+        "github.com/hashicorp/go-multierror",
+        "golang.org/x/crypto",
+        "github.com/pkg/errors",
+        "github.com/kr/fs",
+        "github.com/kyokomi/emoji",
+        "github.com/bep/inflect",
+        "github.com/BurntSushi/toml",
+        "github.com/PuerkitoBio/purell",
+        "github.com/PuerkitoBio/urlesc",
+        "github.com/dchest/cssmin",
+        "github.com/eknkc/amber",
+        "github.com/gorilla/websocket",
+        "github.com/kardianos/osext",
+        "github.com/miekg/mmark",
+        "github.com/mitchellh/mapstructure",
+        "github.com/russross/blackfriday",
+        "github.com/shurcooL/sanitized_anchor_name",
+        "github.com/spf13/afero",
+        "github.com/spf13/cast",
+        "github.com/spf13/jwalterweatherman",
+        "github.com/spf13/cobra",
+        "github.com/cpuguy83/go-md2man",
+        "github.com/inconshreveable/mousetrap",
+        "github.com/spf13/pflag",
+        "github.com/spf13/fsync",
+        "github.com/spf13/viper",
+        "github.com/kr/pretty",
+        "github.com/kr/text",
+        "github.com/magiconair/properties",
+        "golang.org/x/text",
+        "github.com/yosssi/ace",
+        "github.com/spf13/nitro",
+        "github.com/fsnotify/fsnotify"
+    ]
+  }
+]