nixpkgs/pkgs/by-name/sc/scc/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
703 B
Nix
Raw Normal View History

2024-05-12 04:21:29 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
2019-10-09 04:54:21 +00:00
pname = "scc";
2024-10-23 10:23:19 +00:00
version = "3.4.0";
2019-10-09 04:54:21 +00:00
src = fetchFromGitHub {
owner = "boyter";
repo = "scc";
rev = "v${version}";
2024-10-23 10:23:19 +00:00
hash = "sha256-B6QYG4ZREZEaSfOLo5nwi6yFXkFBWvSsXwnZog1uBj8=";
2019-10-09 04:54:21 +00:00
};
vendorHash = null;
2019-10-09 04:54:21 +00:00
# scc has a scripts/ sub-package that's for testing.
excludedPackages = [ "scripts" ];
2019-10-09 04:54:21 +00:00
meta = with lib; {
2019-12-19 14:18:27 +00:00
homepage = "https://github.com/boyter/scc";
2019-10-09 04:54:21 +00:00
description = "Very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go";
2024-05-12 04:21:29 +00:00
maintainers = with maintainers; [
sigma
Br1ght0ne
];
license = with licenses; [
mit
];
2019-10-09 04:54:21 +00:00
};
}