diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-10-20 16:22:45 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-10-20 16:22:45 +0200 |
commit | ad8bd84fc9e8196e99c3a18d971a1a57c13cf329 (patch) | |
tree | 280eacc4a8ed986797333101c65ee9f22b948275 /pkgs/development/tools/misc | |
parent | ba36219220f9867bd24a28a742e9c8f7a32d5357 (diff) | |
parent | eb7a680d96919d35a16429aee825fd634ac892b9 (diff) | |
download | nixlib-ad8bd84fc9e8196e99c3a18d971a1a57c13cf329.tar nixlib-ad8bd84fc9e8196e99c3a18d971a1a57c13cf329.tar.gz nixlib-ad8bd84fc9e8196e99c3a18d971a1a57c13cf329.tar.bz2 nixlib-ad8bd84fc9e8196e99c3a18d971a1a57c13cf329.tar.lz nixlib-ad8bd84fc9e8196e99c3a18d971a1a57c13cf329.tar.xz nixlib-ad8bd84fc9e8196e99c3a18d971a1a57c13cf329.tar.zst nixlib-ad8bd84fc9e8196e99c3a18d971a1a57c13cf329.zip |
Merge master into staging-next
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; + }; +} |