Merge pull request #169451 from SuperSandro2000/addlicense

addlicense: init at 1.0.0
This commit is contained in:
Fabian Affolter 2022-04-20 22:44:04 +02:00 committed by GitHub
commit 742c9f09ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "addlicense";
version = "1.0.0";
src = fetchFromGitHub {
owner = "google";
repo = "addlicense";
rev = "v${version}";
sha256 = "sha256-Nv7Az3TDtd1P/QWjH92otSV9rIrc2l/mTbGUXhODi7Q=";
};
vendorSha256 = "sha256-2mncc21ecpv17Xp8PA9GIodoaCxNBacbbya/shU8T9Y=";
subPackages = [ "." ];
meta = with lib; {
description = "Ensures source code files have copyright license headers by scanning directory patterns recursively";
homepage = "https://github.com/google/addlicense";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -958,6 +958,8 @@ with pkgs;
adafruit-ampy = callPackage ../tools/misc/adafruit-ampy { }; adafruit-ampy = callPackage ../tools/misc/adafruit-ampy { };
addlicense = callPackage ../tools/misc/addlicense { };
adlplug = callPackage ../applications/audio/adlplug { adlplug = callPackage ../applications/audio/adlplug {
inherit (darwin) libobjc; inherit (darwin) libobjc;
inherit (darwin.apple_sdk.frameworks) Cocoa CoreServices WebKit DiscRecording; inherit (darwin.apple_sdk.frameworks) Cocoa CoreServices WebKit DiscRecording;