mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
23 lines
641 B
Nix
23 lines
641 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "git-codeowners";
|
|
version = "0.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "softprops";
|
|
repo = "git-codeowners";
|
|
rev = "v${version}";
|
|
hash = "sha256-eF6X+fLkQ8lZIk4WPzlW7l05P90gB5nxD5Ss32Im+C8=";
|
|
};
|
|
|
|
cargoHash = "sha256-TayvqcVNCFHF5UpR1pPVRe076Pa8LS4duhnZLzYxkQM=";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/softprops/git-codeowners";
|
|
description = "Git extension to work with CODEOWNERS files";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
mainProgram = "git-codeowners";
|
|
};
|
|
}
|