Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / ca / cargo-bump / package.nix
blob76f21c1ca02707272284859f2a73aaaf37f5e4b5
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , stdenv
6 , darwin
7 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "cargo-bump";
11   version = "1.1.1";
13   src = fetchFromGitHub {
14     owner = "rustadopt";
15     repo = "cargo-bump";
16     rev = "v${version}";
17     hash = "sha256-PhA7uC2gJcBnUQPWgZC51p/KTSxSGld3m+dd6BhW6q8=";
18   };
20   cargoHash = "sha256-mp2y5q0GYfSlB5aPC6MY9Go8a2JAiPKtVYL9SewfloI=";
22   nativeBuildInputs = [
23     pkg-config
24   ];
26   buildInputs = lib.optionals stdenv.isDarwin [
27     darwin.apple_sdk.frameworks.Security
28   ];
30   meta = with lib; {
31     description = "Increments the version number of the current project.";
32     homepage = "https://github.com/wraithan/cargo-bump";
33     license = with licenses; [ isc ];
34     maintainers = with maintainers; [ cafkafk ];
35   };