diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2022-09-30 20:43:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 20:43:59 -0500 |
commit | 04adb81fca451f460951d775f157491fdfd95321 (patch) | |
tree | 568d598dce23293df7c10eee501d3bd53ca52775 /pkgs/applications/version-management | |
parent | 35399f3cfceb3f5d01feac9f79a65824ab781d8c (diff) | |
parent | 89c7d026d2295f66f362533564831ec93abcd524 (diff) |
Merge pull request #193465 from hmenke/git-branchless
git-branchless: 0.4.0 -> 0.5.0
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/git-branchless/default.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/git-branchless/default.nix b/pkgs/applications/version-management/git-and-tools/git-branchless/default.nix index 902211ef3d7fe..c6cd7079191d4 100644 --- a/pkgs/applications/version-management/git-and-tools/git-branchless/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-branchless/default.nix @@ -15,16 +15,24 @@ rustPlatform.buildRustPackage rec { pname = "git-branchless"; - version = "0.4.0"; + version = "0.5.0"; src = fetchFromGitHub { owner = "arxanas"; repo = "git-branchless"; rev = "v${version}"; - sha256 = "sha256-WFrN5TRFr9xHBUawTfvri0qlTiWCfAeC5SL+T6mwlU0="; + sha256 = "sha256-jAc17poNTld3eptN1Vd1MOKS5iloMWkq3oZgpWBkGTY="; }; - cargoSha256 = "sha256-AGW1jUKPc5iiuDlgIDHG1sOn1flAB3UdxJJNKPH5+f8="; + cargoPatches = [ + (fetchpatch { + name = "build-run-cargo-update"; + url = "https://github.com/arxanas/git-branchless/commit/0ac3f325520f79d15368aa9d14893ebc17313ab6.patch"; + sha256 = "sha256-S1kazUzvz3FzFpphSRhWiv/l2b/+zC9HtAl7ndq5aJA="; + }) + ]; + + cargoSha256 = "sha256-Lo/Q6OSIzWrRNiTGsOWRX+6FEcj4fk1kn7V9tw67UVo="; nativeBuildInputs = [ pkg-config ]; |