nixpkgs/pkgs/by-name/co/copycat/package.nix
2024-09-06 21:55:52 +02:00

27 lines
617 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "ccat";
version = "001";
src = fetchFromGitHub {
owner = "DeeKahy";
repo = "CopyCat";
rev = "refs/tags/${version}";
hash = "sha256-zllxQifRMNEMa3RO5WKrwGAUf1xQg6YrQBzIHzy43F0=";
};
cargoHash = "sha256-LYVhvq5l+PCZXW+elWi3zZFxLekgPn+plo4dybbLK9g=";
meta = {
description = "Utility to copy project tree contents to clipboard";
homepage = "https://github.com/DeeKahy/CopyCat";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.deekahy ];
mainProgram = "ccat";
};
}