2021-06-04 09:07:49 +00:00
|
|
|
{ rustPlatform, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "xcp";
|
2024-09-19 14:19:46 +00:00
|
|
|
version = "0.21.3";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tarka";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-psxA4YgrO1zg1hVL93opxxQ4VgjdmLP7KI2nkhEYmaE=";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# no such file or directory errors
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
cargoHash = "sha256-o29DesCKOtl4aQysFOVZUm2BghkFbxBOQi02KrUJRGM=";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Extended cp(1)";
|
2021-06-04 09:07:49 +00:00
|
|
|
homepage = "https://github.com/tarka/xcp";
|
|
|
|
license = licenses.gpl3Only;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ lom ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "xcp";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
}
|