2022-11-19 20:00:54 +01:00
|
|
|
{ buildGoModule, fetchFromGitHub, ... }:
|
2022-06-08 17:23:31 +02:00
|
|
|
let
|
|
|
|
version = "2.2.18";
|
|
|
|
in
|
|
|
|
buildGoModule {
|
|
|
|
pname = "bl3auto";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jauderho";
|
|
|
|
repo = "bl3auto";
|
|
|
|
# rev = "c3126afa420a0d2117c473ef66564dfdb35d483c";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "RaRND4HBBIjkz65k/1Xtb9nsJD82jEBkMoFPgelCJ4s=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "Xfv6usoIkug7scM1ilzlIALfJd+fqiQlM9BY10EZdTU=";
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mv $out/bin/cmd $out/bin/bl3auto
|
|
|
|
'';
|
|
|
|
}
|