{ lib, rustPlatform, fetchFromGitHub }: rustPlatform.buildRustPackage rec { name = "git-codeowners-${version}"; version = "0.1.2"; src = fetchFromGitHub { owner = "softprops"; repo = "git-codeowners"; rev = "v${version}"; sha256 = "0bzq4ridzb4l1zqrj1r0vlzkjpgfaqwky5jf49cwjhz4ybwrfpkq"; }; cargoSha256 = "1k5gxbjv4a8l5y9rm0n4vwzlwp4hk1rb59v0wvcirmj0p7hpw9x9"; meta = with lib; { homepage = "https://github.com/softprops/git-codeowners"; description = "a git extension to work with CODEOWNERS files"; license = licenses.mit; maintainers = with maintainers; [ zimbatm ]; }; }