1 { expect, fetchFromGitHub, lib, rustPlatform, stdenv }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "0f242n8w88rikg1srimdifadhggrb2r1z0g65id60ahb4bjm8a0x";
14 cargoSha256 = "0gw7gjfwc4r03rg6z65ml0y37sh4yf716isqs0mb4jqkp7rwfbc9";
16 nativeBuildInputs = [ expect ];
18 # character_device fails with "File name too long" on darwin
19 doCheck = !stdenv.isDarwin;
22 patchShebangs tests/*.exp
26 description = "A significantly faster alternative to the classic Unix cp(1) command";
27 homepage = "https://github.com/svetlitski/fcp";
28 changelog = "https://github.com/svetlitski/fcp/releases/tag/v${version}";
29 license = licenses.bsd3;
30 platforms = platforms.unix;
31 maintainers = with maintainers; [ figsoda ];