Merge pull request #276803 from kirillrdy/git-hound
git-hound: 1.4 -> 1.7.2 unbreak
This commit is contained in:
commit
f905612af6
1 changed files with 16 additions and 4 deletions
|
@ -1,20 +1,32 @@
|
||||||
{ buildGoModule
|
{ buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, lib
|
, lib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "git-hound";
|
pname = "git-hound";
|
||||||
version = "1.4";
|
version = "1.7.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tillson";
|
owner = "tillson";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-HD5OK8HjnLDbyC/TmVI2HfBRIUCyyHTbA3JvKoeXV5E=";
|
hash = "sha256-W+rYDyRIw4jWWO4UZkUHFq/D/7ZXM+y5vdbclk6S0ro=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
patches = [
|
||||||
|
# https://github.com/tillson/git-hound/pull/66
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/tillson/git-hound/commit/cd8aa19401cfdec9e4d76c1f6eb4d85928ec4b03.patch";
|
||||||
|
hash = "sha256-EkdR2KkxxlMLNtKFGpxsQ/msJT5NcMF7irIUcU2WWJY=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
# tests fail outside of nix
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
vendorHash = "sha256-8teIa083oMXm0SjzMP+mGOVAel1Hbsp3TSMhdvqVbQs=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Reconnaissance tool for GitHub code search";
|
description = "Reconnaissance tool for GitHub code search";
|
||||||
|
@ -26,6 +38,6 @@ buildGoModule rec {
|
||||||
homepage = "https://github.com/tillson/git-hound";
|
homepage = "https://github.com/tillson/git-hound";
|
||||||
license = with licenses; [ mit ];
|
license = with licenses; [ mit ];
|
||||||
maintainers = with maintainers; [ fab ];
|
maintainers = with maintainers; [ fab ];
|
||||||
broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.goModules --check
|
mainProgram = "git-hound";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue