at 24.11-pre 22 lines 649 B view raw
1{ lib, rustPlatform, fetchFromGitHub }: 2rustPlatform.buildRustPackage rec { 3 pname = "git-codeowners"; 4 version = "0.1.2"; 5 6 src = fetchFromGitHub { 7 owner = "softprops"; 8 repo = "git-codeowners"; 9 rev = "v${version}"; 10 sha256 = "0bzq4ridzb4l1zqrj1r0vlzkjpgfaqwky5jf49cwjhz4ybwrfpkq"; 11 }; 12 13 cargoSha256 = "00wi64v2zn8rp8fjwbdwyvl3pva5sn9xclaawp2m222dqnlszb2d"; 14 15 meta = with lib; { 16 homepage = "https://github.com/softprops/git-codeowners"; 17 description = "a git extension to work with CODEOWNERS files"; 18 license = licenses.mit; 19 maintainers = with maintainers; [ zimbatm ]; 20 mainProgram = "git-codeowners"; 21 }; 22}