Commit 02e6ed4b authored by zowoq's avatar zowoq
Browse files
parent 745d47ef
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:

buildGoPackage rec {
buildGoModule rec {
  pname = "scc";
  version = "2.12.0";
  version = "2.13.0";

  src = fetchFromGitHub {
    owner = "boyter";
    repo = "scc";
    rev = "v${version}";
    sha256 = "0hbcq5qn97kr9d4q9m2p1mj3ijn8zmwycrs5bgf1kfiwr09wg2yh";
    sha256 = "16p5g20n5jsbisbgikk9xny94xx6c0dxf19saa686ghh31jr2hh3";
  };

  goPackagePath = "github.com/boyter/scc";
  vendorSha256 = null;

  # scc has a scripts/ sub-package that's for testing.
  subPackages = [ "./" ];
  excludedPackages = [ "scripts" ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/boyter/scc";