blob: 1bed092b1c423466289d2897ec16656be2e5cfb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, libssh2
, openssl
, zlib
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-workspaces";
version = "0.3.2";
src = fetchCrate {
inherit pname version;
hash = "sha256-fSvs3dr8dO9n9WCiO1UFr29cp1pvKxL9faOvYnLG+wk=";
};
cargoHash = "sha256-uB3iN7xt0+qEpRelZQ8uurj6Ve9t9sVTCuH6N4+tDh4=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libssh2
openssl
zlib
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
env = {
LIBSSH2_SYS_USE_PKG_CONFIG = true;
};
meta = with lib; {
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 = licenses.mit;
maintainers = with maintainers; [ figsoda macalinao matthiasbeyer ];
mainProgram = "cargo-workspaces";
};
}
|