default.nix (578B)
1 { stdenv, lib, buildGoModule, fetchFromGitHub }: 2 3 buildGoModule rec { 4 name = "sec-${version}"; 5 version = "0.2.0"; 6 rev = "v${version}"; 7 8 src = fetchFromGitHub { 9 inherit rev; 10 owner = "vdemeester"; 11 repo = "sec"; 12 sha256 = "01xmvycdbyvcjsd1pvbd2qjn4ij99pyyw9sasyffhw0bxfnpcvyq"; 13 }; 14 vendorHash = "1b8zis0hv32sh51s01n3z3nd20ayfcj4vv3m943r8d0gqd7hj7zw"; 15 modHash = "${vendorHash}"; 16 17 meta = { 18 description = "Sec § — a golang opiniated dependency updater"; 19 homepage = "https://github.com/vdemeester/sec"; 20 license = lib.licenses.asl20; 21 }; 22 }