base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / sc / scc / package.nix
blobf3494d5bd31fd8144885c2b250a0b66506e3d6bb
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
6 buildGoModule rec {
7   pname = "scc";
8   version = "3.4.0";
10   src = fetchFromGitHub {
11     owner = "boyter";
12     repo = "scc";
13     rev = "v${version}";
14     hash = "sha256-B6QYG4ZREZEaSfOLo5nwi6yFXkFBWvSsXwnZog1uBj8=";
15   };
17   vendorHash = null;
19   # scc has a scripts/ sub-package that's for testing.
20   excludedPackages = [ "scripts" ];
22   meta = with lib; {
23     homepage = "https://github.com/boyter/scc";
24     description = "Very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go";
25     maintainers = with maintainers; [
26       sigma
27       Br1ght0ne
28     ];
29     license = with licenses; [
30       mit
31     ];
32   };