11 src = fetchFromGitHub {
15 sha256 = "sha256-YMMHj6wctKtJi/rrcMIrLmNw/uvO6wCwokgYRQxcsFw=";
19 # Add support for Nix files. Upstream is slow with responding to PRs,
20 # patch backported from PR https://github.com/google/addlicense/pull/153.
22 url = "https://github.com/google/addlicense/commit/e0fb3f44cc7670dcc5cbcec2211c9ad238c5f9f1.patch";
23 hash = "sha256-XCAvL+HEa1hGc0GAnl+oYHKzBJ3I5ArS86vgABrP/Js=";
27 vendorHash = "sha256-2mncc21ecpv17Xp8PA9GIodoaCxNBacbbya/shU8T9Y=";
29 subPackages = [ "." ];
32 description = "Ensures source code files have copyright license headers by scanning directory patterns recursively";
33 homepage = "https://github.com/google/addlicense";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ SuperSandro2000 ];
36 mainProgram = "addlicense";