criticality-score: drop
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildGo124Module,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildGo124Module rec {
|
||||
pname = "criticality-score";
|
||||
version = "2.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ossf";
|
||||
repo = "criticality_score";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-p2ZXNpPFwIKPWDKCdEUZQvt/hvLQS9xjZaaquNTaUB0=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
vendorHash = "sha256-mKCwyAE/fI9ateKcrTLDAdULbT6pUpV0cMZ0X5bqT1M=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X=main.version=${version}"
|
||||
"-X=main.commit=${src.tag}"
|
||||
"-X=main.date=1970-01-01T00:00:00Z"
|
||||
];
|
||||
|
||||
subPackages = [
|
||||
"cmd/collect_signals"
|
||||
"cmd/criticality_score"
|
||||
"cmd/csv_transfer"
|
||||
"cmd/enumerate_github"
|
||||
"cmd/scorer"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";
|
||||
|
||||
meta = {
|
||||
description = "Gives criticality score for an open source project";
|
||||
homepage = "https://github.com/ossf/criticality_score";
|
||||
changelog = "https://github.com/ossf/criticality_score/releases/tag/v${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ wamserma ];
|
||||
mainProgram = "criticality_score";
|
||||
};
|
||||
}
|
||||
@@ -540,6 +540,7 @@ mapAliases {
|
||||
cringify = throw "'cringify' has been removed as it is unmaintained"; # Added 2025-12-16
|
||||
crispyDoom = throw "'crispyDoom' has been renamed to/replaced by 'crispy-doom'"; # Converted to throw 2025-10-27
|
||||
critcl = throw "'critcl' has been renamed to/replaced by 'tclPackages.critcl'"; # Converted to throw 2025-10-27
|
||||
criticality-score = throw "'criticality-score' has been removed, as it is unmaintained upstream"; # Added 2026-02-18
|
||||
cromite = throw "'cromite' has been removed from nixpkgs due to it not being maintained"; # Added 2025-06-12
|
||||
crossLibcStdenv = throw "'crossLibcStdenv' has been renamed to/replaced by 'stdenvNoLibc'"; # Converted to throw 2025-10-27
|
||||
crystal_1_11 = throw "'crystal_1_11' has been removed as it is obsolete and no longer used in the tree. Consider using 'crystal' instead"; # Added 2025-09-04
|
||||
|
||||
Reference in New Issue
Block a user