nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 685 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6buildGoModule rec { 7 pname = "scc"; 8 version = "3.6.0"; 9 10 src = fetchFromGitHub { 11 owner = "boyter"; 12 repo = "scc"; 13 rev = "v${version}"; 14 hash = "sha256-tFhYFHMscK3zfoQlaSxnA0pVuNQC1Xjn9jcZWkEV6XI="; 15 }; 16 17 vendorHash = null; 18 19 # scc has a scripts/ sub-package that's for testing. 20 excludedPackages = [ "scripts" ]; 21 22 meta = { 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 lib.maintainers; [ 26 sigma 27 ]; 28 license = with lib.licenses; [ 29 mit 30 ]; 31 }; 32}