2021-06-04 09:07:49 +00:00
|
|
|
{ rustPlatform, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "xcp";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "0.9.3";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tarka";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-Gn6qTfQjHuQUcfaZN48qCI7u8E7PtJAZlyrPqyjop5U=";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# no such file or directory errors
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
cargoHash = "sha256-3vz92fHjLUMWVBpq71hxqqU0WiHdLbOst9vr8zbo6/U=";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An extended cp(1)";
|
|
|
|
homepage = "https://github.com/tarka/xcp";
|
|
|
|
license = licenses.gpl3Only;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ lom ];
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
}
|