diff options
author | Yann Hodique <yhodique@google.com> | 2019-10-08 21:54:21 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-10-20 00:55:10 -0700 |
commit | 1f02f7cf6090d25c6c84dcbe6dc3beba243ce2c3 (patch) | |
tree | a787776b128e2cfcd1e9a96404e9ce7d6cd80d5b /pkgs/development/tools/misc | |
parent | b16f6953a26fdb09269d8bdd6818000b8dd8ee7e (diff) | |
download | nixlib-1f02f7cf6090d25c6c84dcbe6dc3beba243ce2c3.tar nixlib-1f02f7cf6090d25c6c84dcbe6dc3beba243ce2c3.tar.gz nixlib-1f02f7cf6090d25c6c84dcbe6dc3beba243ce2c3.tar.bz2 nixlib-1f02f7cf6090d25c6c84dcbe6dc3beba243ce2c3.tar.lz nixlib-1f02f7cf6090d25c6c84dcbe6dc3beba243ce2c3.tar.xz nixlib-1f02f7cf6090d25c6c84dcbe6dc3beba243ce2c3.tar.zst nixlib-1f02f7cf6090d25c6c84dcbe6dc3beba243ce2c3.zip |
scc: init at 2.8.0
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r-- | pkgs/development/tools/misc/scc/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/scc/default.nix b/pkgs/development/tools/misc/scc/default.nix new file mode 100644 index 000000000000..2d5d94813ca4 --- /dev/null +++ b/pkgs/development/tools/misc/scc/default.nix @@ -0,0 +1,26 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + pname = "scc"; + version = "2.8.0"; + + src = fetchFromGitHub { + owner = "boyter"; + repo = "scc"; + rev = "v${version}"; + sha256 = "1g55aahr8j93jc1k2zgpnyxgp7ddn5137vjf8dafsmqp4m2qjq6g"; + }; + + goPackagePath = "github.com/boyter/scc"; + + # scc has a scripts/ sub-package that's for testing. + subPackages = [ "./" ]; + + meta = with stdenv.lib; { + homepage = https://github.com/boyter/scc; + description = "A very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go"; + maintainers = with maintainers; [ sigma ]; + license = with licenses; [ unlicense /* or */ mit ]; + platforms = platforms.unix; + }; +} |