nixpkgs-suyu/pkgs/tools/misc/xcp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
600 B
Nix
Raw Normal View History

2021-05-30 19:30:46 +02:00
{ rustPlatform, fetchFromGitHub, lib }:
rustPlatform.buildRustPackage rec {
pname = "xcp";
2023-08-29 13:21:58 +02:00
version = "0.12.0";
2021-05-30 19:30:46 +02:00
src = fetchFromGitHub {
owner = "tarka";
repo = pname;
rev = "v${version}";
2023-08-29 13:21:58 +02:00
sha256 = "sha256-QCoH8N6HDpXQXWchccGIG/pbDx9qZ8YKM6VP6lxoYzU=";
2021-05-30 19:30:46 +02:00
};
# no such file or directory errors
doCheck = false;
2023-08-29 13:21:58 +02:00
cargoHash = "sha256-F51BHBUaQx1xg0Y2eVnXGRCMykbzk3q5IyJ528JyA5o=";
2021-05-30 19:30:46 +02:00
meta = with lib; {
description = "An extended cp(1)";
homepage = "https://github.com/tarka/xcp";
license = licenses.gpl3Only;
maintainers = with maintainers; [ lom ];
2021-05-30 19:30:46 +02:00
};
}