2021-05-30 17:30:46 +00:00
|
|
|
{ rustPlatform, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "xcp";
|
2023-03-08 09:54:12 +00:00
|
|
|
version = "0.9.4";
|
2021-05-30 17:30:46 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tarka";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-03-08 09:54:12 +00:00
|
|
|
sha256 = "sha256-MvtMgdlMVMp2qWN+EbAKZwBwW0TA8aivlJY8KZm+7jM=";
|
2021-05-30 17:30:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# no such file or directory errors
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-03-08 09:54:12 +00:00
|
|
|
cargoHash = "sha256-vxfoJnyG0wWgkcZpQYiKkQaHl01VDuQ0kA26MXVCgY8=";
|
2021-05-30 17:30:46 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An extended cp(1)";
|
|
|
|
homepage = "https://github.com/tarka/xcp";
|
|
|
|
license = licenses.gpl3Only;
|
2021-12-01 23:19:48 +00:00
|
|
|
maintainers = with maintainers; [ lom ];
|
2021-05-30 17:30:46 +00:00
|
|
|
};
|
|
|
|
}
|