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

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

27 lines
625 B
Nix
Raw Normal View History

2021-05-30 17:30:46 +00:00
{ rustPlatform, fetchFromGitHub, lib }:
rustPlatform.buildRustPackage rec {
pname = "xcp";
2023-12-25 04:34:00 +00:00
version = "0.16.0";
2021-05-30 17:30:46 +00:00
src = fetchFromGitHub {
owner = "tarka";
repo = pname;
rev = "v${version}";
2023-12-25 04:34:00 +00:00
sha256 = "sha256-JntFXpB72vZJHkyawFruLhz9rnR1fp+hoXEljzeV0Xo=";
2021-05-30 17:30:46 +00:00
};
# no such file or directory errors
doCheck = false;
2023-12-25 04:34:00 +00:00
cargoHash = "sha256-IUJbatLE97qtUnm/Ho6SS+yL7LRd7oEGiSsZF36Qe5I=";
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;
maintainers = with maintainers; [ lom ];
2023-11-27 01:17:53 +00:00
mainProgram = "xcp";
2021-05-30 17:30:46 +00:00
};
}