diff options
author | legendofmiracles <legendofmiracles@protonmail.com> | 2021-05-30 11:30:46 -0600 |
---|---|---|
committer | legendofmiracles <legendofmiracles@protonmail.com> | 2021-05-30 11:36:16 -0600 |
commit | 170e2e4976849239088657858752031e1cbaf1f3 (patch) | |
tree | 106387a47b60f8aebedb98045831ade59fa9f827 /pkgs/tools/misc/xcp | |
parent | bfcd6bd009d279d644c237ae7b26cfe0aaccde27 (diff) |
xcp: init at 0.9.0
Diffstat (limited to 'pkgs/tools/misc/xcp')
-rw-r--r-- | pkgs/tools/misc/xcp/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/xcp/default.nix b/pkgs/tools/misc/xcp/default.nix new file mode 100644 index 0000000000000..907e39a3f27bc --- /dev/null +++ b/pkgs/tools/misc/xcp/default.nix @@ -0,0 +1,25 @@ +{ rustPlatform, fetchFromGitHub, lib }: + +rustPlatform.buildRustPackage rec { + pname = "xcp"; + version = "0.9.0"; + + src = fetchFromGitHub { + owner = "tarka"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-Kwt1qLuP63bIn0VY3oFEcbKh1GGBdObfOmtPV4DMQUU="; + }; + + # no such file or directory errors + doCheck = false; + + cargoSha256 = "sha256-wFOXRQSOfmGB6Zmkqn7KoK+vyHeFKyGNx7Zf2zzPcE4="; + + meta = with lib; { + description = "An extended cp(1)"; + homepage = "https://github.com/tarka/xcp"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ legendofmiracles ]; + }; +} |