Mario Rodas 2024-01-19 04:20:00 +00:00
parent fbd8774c35
commit f4dea606e0

View File

@ -6,16 +6,16 @@
}:
buildGoModule rec {
pname = "osv-scanner";
version = "1.5.0";
version = "1.6.1";
src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = "v${version}";
hash = "sha256-wWycONThNIqiSbpsopsc9AbAxOToWkTiNzkJ2I8Z0t4=";
hash = "sha256-ddzdOk2sHNzjCM4cLJY+H9h13MjamlC1RYcnOcDGV4M=";
};
vendorHash = "sha256-CiRvryjBp3nUrPRxNqM88p4856yT+BuIsjvYuE+DmqI=";
vendorHash = "sha256-9cE4UcQipJYwQDZA4jlcV68BBTgft7oRVlngg/PAmWI=";
subPackages = [
"cmd/osv-scanner"
@ -24,7 +24,7 @@ buildGoModule rec {
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
"-X github.com/google/osv-scanner/internal/version.OSVVersion=${version}"
"-X main.commit=n/a"
"-X main.date=1970-01-01T00:00:00Z"
];