Files
nixpkgs/pkgs/by-name/ca/cargo-workspaces/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

54 lines
1.1 KiB
Nix

{
lib,
rustPlatform,
fetchCrate,
pkg-config,
libssh2,
openssl,
zlib,
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-workspaces";
version = "0.4.1";
src = fetchCrate {
inherit pname version;
hash = "sha256-5heOf74OUsnrG+vt9AdMXV7uRxqKYs0KRE7qm0irmC0=";
};
cargoHash = "sha256-Is2ddCrg+dP0TSw3EUl057RA0L2VW4mPttg2eAtC0j4=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libssh2
openssl
zlib
];
env = {
LIBSSH2_SYS_USE_PKG_CONFIG = true;
};
meta = {
description = "Tool for managing cargo workspaces and their crates, inspired by lerna";
longDescription = ''
A tool that optimizes the workflow around cargo workspaces with
git and cargo by providing utilities to version, publish, execute
commands and more.
'';
homepage = "https://github.com/pksunkara/cargo-workspaces";
changelog = "https://github.com/pksunkara/cargo-workspaces/blob/v${version}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
figsoda
macalinao
matthiasbeyer
];
mainProgram = "cargo-workspaces";
};
}