ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
33 lines
737 B
Nix
33 lines
737 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
darwin,
|
|
}:
|
|
|
|
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=";
|
|
|
|
buildInputs = lib.optionals (stdenv.isDarwin) [
|
|
darwin.apple_sdk_11_0.frameworks.AppKit
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|