1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/development/tools/misc/go-license-detector/default.nix

23 lines
579 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2020-02-13 02:35:11 +00:00
buildGoModule rec {
pname = "go-license-detector";
2020-03-04 04:29:32 +00:00
version = "3.1.0";
2020-02-13 02:35:11 +00:00
src = fetchFromGitHub {
owner = "src-d";
repo = pname;
rev = "v${version}";
2020-03-04 04:29:32 +00:00
sha256 = "0ln1z3y9q5igf9djkxw05ql2hb1ijcvvz0mrbwz11cdv9xrsa4z4";
2020-02-13 02:35:11 +00:00
};
modSha256 = "163f1kiy7kqrnaazb8ydaaiz57lv30jyjkvv6i7pczvcg9yfhmdb";
meta = with lib; {
2020-02-13 02:35:11 +00:00
description = "Reliable project licenses detector";
homepage = "https://github.com/src-d/go-license-detector";
license = licenses.asl20;
maintainers = with maintainers; [ dtzWill ];
};
}