2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, stdenv
|
|
|
|
, darwin
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-bump";
|
|
|
|
version = "1.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rustadopt";
|
|
|
|
repo = "cargo-bump";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-PhA7uC2gJcBnUQPWgZC51p/KTSxSGld3m+dd6BhW6q8=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoHash = "sha256-mp2y5q0GYfSlB5aPC6MY9Go8a2JAiPKtVYL9SewfloI=";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [
|
|
|
|
darwin.apple_sdk.frameworks.Security
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Increments the version number of the current project";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cargo-bump";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/wraithan/cargo-bump";
|
|
|
|
license = with licenses; [ isc ];
|
|
|
|
maintainers = with maintainers; [ cafkafk ];
|
|
|
|
};
|
|
|
|
}
|