22 lines
477 B
Nix
22 lines
477 B
Nix
{ buildGoModule, fetchFromGitHub, ... }:
|
|
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
|
|
'';
|
|
}
|