about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-02-10 16:27:12 +0100
committerGitHub <noreply@github.com>2021-02-10 16:27:12 +0100
commit37608535ce50b61288465425d4a004ec998e0952 (patch)
treea0d789ea9d225b0f24841f5f641cc0f02da7eb91 /pkgs/development/tools
parentf72648de31a3541caf7a071779121514df4d606e (diff)
parentd08cb91f18643abe9914a5f43cb28bdf17a0d2a0 (diff)
downloadnixlib-37608535ce50b61288465425d4a004ec998e0952.tar
nixlib-37608535ce50b61288465425d4a004ec998e0952.tar.gz
nixlib-37608535ce50b61288465425d4a004ec998e0952.tar.bz2
nixlib-37608535ce50b61288465425d4a004ec998e0952.tar.lz
nixlib-37608535ce50b61288465425d4a004ec998e0952.tar.xz
nixlib-37608535ce50b61288465425d4a004ec998e0952.tar.zst
nixlib-37608535ce50b61288465425d4a004ec998e0952.zip
Merge pull request #112650 from SuperSandro2000/hound
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/misc/hound/default.nix43
1 files changed, 21 insertions, 22 deletions
diff --git a/pkgs/development/tools/misc/hound/default.nix b/pkgs/development/tools/misc/hound/default.nix
index 476179ac8e7a..201241fb8350 100644
--- a/pkgs/development/tools/misc/hound/default.nix
+++ b/pkgs/development/tools/misc/hound/default.nix
@@ -1,39 +1,38 @@
-{ lib, stdenv
-, buildGoPackage
+{ lib
+, buildGoModule
 , fetchFromGitHub
 , makeWrapper
 , mercurial
 , git
 }:
 
-buildGoPackage rec {
-  pname = "hound-unstable";
-  version = "2018-11-02";
-  rev = "74ec7448a234d8d09e800b92e52c92e378c07742";
-
-  nativeBuildInputs = [ makeWrapper ];
-
-  goPackagePath = "github.com/etsy/hound";
+buildGoModule rec {
+  pname = "hound";
+  version = "unstable-2021-01-26";
 
   src = fetchFromGitHub {
-    inherit rev;
-    owner = "etsy";
+    owner = "hound-search";
     repo = "hound";
-    sha256 = "0g6nvgqjabprcl9z5ci5frhbam1dzq978h1d6aanf8vvzslfgdpq";
+    rev = "b88fc1f79d668e6671a478ddf4fb3e73a63067b9";
+    sha256 = "00xc3cj7d3klvhsh9hivvjwgzb6lycw3r3w7nch98nv2j8iljc44";
   };
 
-  postInstall = with stdenv; let
-    binPath = lib.makeBinPath [ mercurial git ];
-  in ''
-    wrapProgram $out/bin/houndd --prefix PATH : ${binPath}
+  vendorSha256 = "0x1nhhhvqmz3qssd2d44zaxbahj8lh9r4m5jxdvzqk6m3ly7y0b6";
+
+  nativeBuildInputs = [ makeWrapper ];
+
+  # requires network access
+  doCheck = false;
+
+  postInstall = ''
+    wrapProgram $out/bin/houndd --prefix PATH : ${lib.makeBinPath [ mercurial git ]}
   '';
 
-  meta = {
+  meta = with lib; {
     inherit (src.meta) homepage;
-
     description = "Lightning fast code searching made easy";
-    license = lib.licenses.mit;
-    maintainers = with lib.maintainers; [ grahamc ];
-    platforms = lib.platforms.unix;
+    license = licenses.mit;
+    maintainers = with maintainers; [ grahamc SuperSandro2000 ];
+    platforms = platforms.unix;
   };
 }